#0C0E2D#0C0E2D
#0C0E2D is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.4% C 0.061 H 275.8°. Best body text is #FFFFFF at 18.81:1 contrast (WCAG AA passes).
Color values
| HEX | #0C0E2D |
|---|---|
| RGB | rgb(12, 14, 45) |
| HSL | hsl(236, 58%, 11%) |
| HSV | hsv(236, 73%, 18%) |
| CMYK | cmyk(73.3%, 68.9%, 0%, 82.4%) |
| CIE-LAB | lab(5.25, 9.40, -20.60) |
| CIE-LCH | lch(5.25, 22.64, 294.52°) |
| OKLab | oklab(18.42% 0.0062 -0.0611) |
| OKLCH | oklch(18.42% 0.061 275.8) |
| XYZ | xyz(0.7822, 0.5816, 2.5532) |
| Luminance | 0.0058 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 3.25
Dark Navy Blue
#00022E
ΔE00 3.46
Navy (survey)
#01153E
ΔE00 4.69
Dark Navy
#000435
ΔE00 4.78
Very Dark Blue
#000133
ΔE00 4.81
Midnight Blue (survey)
#020035
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C0E2D #2D2B0C
analogous
#0C1E2D #0C0E2D #1A0C2D
triadic
#0C0E2D #2D0C0E #0E2D0C
tetradic
#0C0E2D #2D0C1E #2D2B0C #0C2D1A
square
#0C0E2D #2D0C1E #2D2B0C #0C2D1A
split-complementary
#0C0E2D #2D1A0C #1E2D0C
monochromatic
#060818 #060818 #0C0E2D #191D5D #262C8E
Accessibility & contrast
On white
18.81
#0C0E2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.12
#0C0E2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C0E2D
18.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C0E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C0E2D | 1.00 | 18.81 | 1.12 | 18.81 |
| #FFFFFF | 18.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00132E
Deuteranopia (green-blind)
#00102C
Tritanopia (blue-blind)
#00151B
Achromatopsia (no color)
#111111
Design tokens & code
CSS
--color: #0c0e2d; /* rgb */ color: rgb(12, 14, 45); /* oklch */ color: oklch(18.4% 0.061 275.8);
Tailwind
colors: {
custom: {
50: '#4e4d66',
500: '#0c0e2d',
950: '#000000',
},
}SCSS
$custom: #0c0e2d; $custom-light: #4e4d66; $custom-dark: #000000;
JSON
{
"hex": "#0c0e2d",
"rgb": {
"r": 12,
"g": 14,
"b": 45
},
"hsl": {
"h": 236.364,
"s": 57.895,
"l": 11.176
},
"oklch": {
"l": 0.1842,
"c": 0.06138,
"h": 275.8
},
"luminance": 0.00582
}Semantic roles & 50–950 ramp
primary
#0C0E2D
secondary
#69652C
accent
#D847E1
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A