#0C0D2F#0C0D2F
#0C0D2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 18.4% C 0.066 H 276.4°. Best body text is #FFFFFF at 18.85:1 contrast (WCAG AA passes).
Color values
| HEX | #0C0D2F |
|---|---|
| RGB | rgb(12, 13, 47) |
| HSL | hsl(238, 59%, 12%) |
| HSV | hsv(238, 74%, 18%) |
| CMYK | cmyk(74.5%, 72.3%, 0%, 81.6%) |
| CIE-LAB | lab(5.16, 10.88, -22.24) |
| CIE-LCH | lch(5.16, 24.76, 296.06°) |
| OKLab | oklab(18.39% 0.0074 -0.0661) |
| OKLCH | oklch(18.39% 0.066 276.4) |
| XYZ | xyz(0.8085, 0.5712, 2.7564) |
| Luminance | 0.0057 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 2.53
Dark Navy Blue
#00022E
ΔE00 2.88
Dark Navy
#000435
ΔE00 3.96
Very Dark Blue
#000133
ΔE00 4.00
Navy (survey)
#01153E
ΔE00 4.31
Midnight Blue (survey)
#020035
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C0D2F #2F2E0C
analogous
#0C1F2F #0C0D2F #1D0C2F
triadic
#0C0D2F #2F0C0D #0D2F0C
tetradic
#0C0D2F #2F0C1F #2F2E0C #0C2F1D
square
#0C0D2F #2F0C1F #2F2E0C #0C2F1D
split-complementary
#0C0D2F #2F1D0C #1F2F0C
monochromatic
#060718 #060718 #0C0D2F #181A60 #252891
Accessibility & contrast
On white
18.85
#0C0D2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.11
#0C0D2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C0D2F
18.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C0D2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C0D2F | 1.00 | 18.85 | 1.11 | 18.85 |
| #FFFFFF | 18.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#00102E
Tritanopia (blue-blind)
#00151C
Achromatopsia (no color)
#111111
Design tokens & code
CSS
--color: #0c0d2f; /* rgb */ color: rgb(12, 13, 47); /* oklch */ color: oklch(18.4% 0.066 276.4);
Tailwind
colors: {
custom: {
50: '#4f4c68',
500: '#0c0d2f',
950: '#000000',
},
}SCSS
$custom: #0c0d2f; $custom-light: #4f4c68; $custom-dark: #000000;
JSON
{
"hex": "#0c0d2f",
"rgb": {
"r": 12,
"g": 13,
"b": 47
},
"hsl": {
"h": 238.286,
"s": 59.322,
"l": 11.569
},
"oklch": {
"l": 0.18387,
"c": 0.06649,
"h": 276.4
},
"luminance": 0.00571
}Semantic roles & 50–950 ramp
primary
#0C0D2F
secondary
#6B692C
accent
#DE45E3
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A