#0F3460

Charcoal

#0F3460Charcoal

Luminance

0.034

Category

Blue

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#0F3460
No #
0F3460

RGB

RGB
rgb(15, 52, 96)
Values
R:15 G:52 B:96

HSL

HSL
hsl(213, 73%, 22%)
Values
H:213° S:73% L:22%

HSV / HSB

HSV
hsv(213, 84%, 38%)
Values
H:213° S:84% V:38%

CMYK

CMYK
cmyk(84%, 46%, 0%, 62%)
Values
C:84 M:46 Y:0 K:62

LAB

LAB
lab(22, 5, -30)
Values
L:22 a:5 b:-30

OKLCH

OKLCH
oklch(32.5% 0.088 255.1)
Values
L:32.5% C:0.088 H:255.1°

Code Formats

CSS
color: #0F3460;
Swift
UIColor(red: 0.059, green: 0.204, blue: 0.376, alpha: 1.0)
Kotlin
Color(0xFF0F3460)
Flutter
Color(0xFF0F3460)
Android
#FF0F3460

Contrast Analysis

WCAG compliance with grayscale colors

On White

12.50:1

AAA

On Black

1.68:1

Fail

Grayscale Contrast

Aa

0%

1.7

Fail
Aa

10%

1.4

Fail
Aa

20%

1.0

Fail
Aa

30%

1.5

Fail
Aa

40%

2.2

Fail
Aa

50%

3.1

AA-large
Aa

60%

4.4

AA-large
Aa

70%

6.0

AA
Aa

80%

7.8

AAA
Aa

90%

9.9

AAA
Aa

100%

12.5

AAA

Best Grayscale Contrast

#FFFFFF with ratio 12.50:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #1D63B9 0%, #113B6E 100%)
OKLCH
linear-gradient(90deg, oklch(50.6% 0.152 256.2) 0%, oklch(35.4% 0.100 255.6) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #0A4A99 0%, #025CCA 100%)
OKLCH
linear-gradient(135deg, oklch(42.1% 0.143 257.3) 0%, oklch(49.9% 0.186 258.4) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #0F3460 0%, #613C0F 100%)
OKLCH
linear-gradient(90deg, oklch(32.5% 0.088 255.1) 0%, oklch(39.2% 0.077 66.4) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #0F5D61 0%, #0F3460 50%, #130F61 100%)
OKLCH
linear-gradient(90deg, oklch(43.7% 0.070 200.3) 0%, oklch(32.5% 0.088 255.1) 50%, oklch(25.2% 0.136 272.9) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #0F3461 0%, #111D2C 100%)
OKLCH
linear-gradient(180deg, oklch(32.6% 0.090 255.5) 0%, oklch(22.8% 0.034 254.5) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #1957A3 0%, #154784 100%)
OKLCH
radial-gradient(circle, oklch(46.2% 0.137 256.1) 0%, oklch(40.1% 0.115 255.8) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette