#0C0E2E#0C0E2E
#0C0E2E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.5% C 0.063 H 275.6°. Best body text is #FFFFFF at 18.79:1 contrast (WCAG AA passes).
Color values
| HEX | #0C0E2E |
|---|---|
| RGB | rgb(12, 14, 46) |
| HSL | hsl(236, 59%, 11%) |
| HSV | hsv(236, 74%, 18%) |
| CMYK | cmyk(73.9%, 69.6%, 0%, 82%) |
| CIE-LAB | lab(5.32, 9.89, -21.24) |
| CIE-LCH | lch(5.32, 23.43, 294.97°) |
| OKLab | oklab(18.52% 0.0062 -0.0628) |
| OKLCH | oklch(18.52% 0.063 275.6) |
| XYZ | xyz(0.8016, 0.5894, 2.6558) |
| Luminance | 0.0059 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 2.99
Dark Navy Blue
#00022E
ΔE00 3.23
Dark Navy
#000435
ΔE00 4.46
Navy (survey)
#01153E
ΔE00 4.47
Very Dark Blue
#000133
ΔE00 4.51
Midnight Blue (survey)
#020035
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C0E2E #2E2C0C
analogous
#0C1F2E #0C0E2E #1B0C2E
triadic
#0C0E2E #2E0C0E #0E2E0C
tetradic
#0C0E2E #2E0C1F #2E2C0C #0C2E1B
square
#0C0E2E #2E0C1F #2E2C0C #0C2E1B
split-complementary
#0C0E2E #2E1B0C #1F2E0C
monochromatic
#060718 #060718 #0C0E2E #191D5F #252C8F
Accessibility & contrast
On white
18.79
#0C0E2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.12
#0C0E2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C0E2E
18.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C0E2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C0E2E | 1.00 | 18.79 | 1.12 | 18.79 |
| #FFFFFF | 18.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00132F
Deuteranopia (green-blind)
#00102D
Tritanopia (blue-blind)
#00161C
Achromatopsia (no color)
#121212
Design tokens & code
CSS
--color: #0c0e2e; /* rgb */ color: rgb(12, 14, 46); /* oklch */ color: oklch(18.5% 0.063 275.6);
Tailwind
colors: {
custom: {
50: '#4e4d67',
500: '#0c0e2e',
950: '#000000',
},
}SCSS
$custom: #0c0e2e; $custom-light: #4e4d67; $custom-dark: #000000;
JSON
{
"hex": "#0c0e2e",
"rgb": {
"r": 12,
"g": 14,
"b": 46
},
"hsl": {
"h": 236.471,
"s": 58.621,
"l": 11.373
},
"oklch": {
"l": 0.18519,
"c": 0.06314,
"h": 275.6
},
"luminance": 0.00589
}Semantic roles & 50–950 ramp
primary
#0C0E2E
secondary
#6A662C
accent
#D946E2
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A