#0C0F3E#0C0F3E
#0C0F3E is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.4% C 0.088 H 272.8°. Best body text is #FFFFFF at 18.20:1 contrast (WCAG AA passes).
Color values
| HEX | #0C0F3E |
|---|---|
| RGB | rgb(12, 15, 62) |
| HSL | hsl(236, 68%, 15%) |
| HSV | hsv(236, 81%, 24%) |
| CMYK | cmyk(80.6%, 75.8%, 0%, 75.7%) |
| CIE-LAB | lab(6.93, 17.31, -30.33) |
| CIE-LCH | lch(6.93, 34.92, 299.71°) |
| OKLab | oklab(20.44% 0.0043 -0.0879) |
| OKLCH | oklch(20.44% 0.088 272.8) |
| XYZ | xyz(1.1917, 0.7675, 4.6418) |
| Luminance | 0.0077 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue (survey)
#001146
ΔE00 2.49
Midnight Blue (survey)
#020035
ΔE00 2.78
Dark Navy
#000435
ΔE00 2.83
Very Dark Blue
#000133
ΔE00 3.12
Navy (survey)
#01153E
ΔE00 3.72
Midnight
#03012D
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C0F3E #3E3B0C
analogous
#0C283E #0C0F3E #220C3E
triadic
#0C0F3E #3E0C0F #0F3E0C
tetradic
#0C0F3E #3E0C28 #3E3B0C #0C3E22
square
#0C0F3E #3E0C28 #3E3B0C #0C3E22
split-complementary
#0C0F3E #3E220C #283E0C
monochromatic
#05061A #05061A #0C0F3E #161B71 #2028A5
Accessibility & contrast
On white
18.20
#0C0F3E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.15
#0C0F3E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C0F3E
18.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C0F3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C0F3E | 1.00 | 18.20 | 1.15 | 18.20 |
| #FFFFFF | 18.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00183F
Deuteranopia (green-blind)
#00133D
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#151515
Design tokens & code
CSS
--color: #0c0f3e; /* rgb */ color: rgb(12, 15, 62); /* oklch */ color: oklch(20.4% 0.088 272.8);
Tailwind
colors: {
custom: {
50: '#544d74',
500: '#0c0f3e',
950: '#000000',
},
}SCSS
$custom: #0c0f3e; $custom-light: #544d74; $custom-dark: #000000;
JSON
{
"hex": "#0c0f3e",
"rgb": {
"r": 12,
"g": 15,
"b": 62
},
"hsl": {
"h": 236.4,
"s": 67.568,
"l": 14.51
},
"oklch": {
"l": 0.20441,
"c": 0.088,
"h": 272.8
},
"luminance": 0.00768
}Semantic roles & 50–950 ramp
primary
#0C0F3E
secondary
#7A752C
accent
#E03DEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B