#0C0F3D#0C0F3D
#0C0F3D is a very dark, moderate blue. Relative luminance 0.008; OKLCH L 20.3% C 0.086 H 272.9°. Best body text is #FFFFFF at 18.24:1 contrast (WCAG AA passes).
Color values
| HEX | #0C0F3D |
|---|---|
| RGB | rgb(12, 15, 61) |
| HSL | hsl(236, 67%, 14%) |
| HSV | hsv(236, 80%, 24%) |
| CMYK | cmyk(80.3%, 75.4%, 0%, 76.1%) |
| CIE-LAB | lab(6.83, 16.84, -29.77) |
| CIE-LCH | lch(6.83, 34.21, 299.50°) |
| OKLab | oklab(20.33% 0.0044 -0.0863) |
| OKLCH | oklch(20.33% 0.086 272.9) |
| XYZ | xyz(1.1645, 0.7566, 4.4986) |
| Luminance | 0.0076 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Navy Blue (survey)
#001146
ΔE00 2.66
Dark Navy
#000435
ΔE00 2.73
Midnight Blue (survey)
#020035
ΔE00 2.75
Very Dark Blue
#000133
ΔE00 3.02
Navy (survey)
#01153E
ΔE00 3.63
Midnight
#03012D
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0C0F3D #3D3A0C
analogous
#0C283D #0C0F3D #220C3D
triadic
#0C0F3D #3D0C0F #0F3D0C
tetradic
#0C0F3D #3D0C28 #3D3A0C #0C3D22
square
#0C0F3D #3D0C28 #3D3A0C #0C3D22
split-complementary
#0C0F3D #3D220C #283D0C
monochromatic
#05061A #05061A #0C0F3D #161C70 #2028A3
Accessibility & contrast
On white
18.24
#0C0F3D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.15
#0C0F3D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0C0F3D
18.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0C0F3D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0C0F3D | 1.00 | 18.24 | 1.15 | 18.24 |
| #FFFFFF | 18.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00173E
Deuteranopia (green-blind)
#00133C
Tritanopia (blue-blind)
#001B24
Achromatopsia (no color)
#151515
Design tokens & code
CSS
--color: #0c0f3d; /* rgb */ color: rgb(12, 15, 61); /* oklch */ color: oklch(20.3% 0.086 272.9);
Tailwind
colors: {
custom: {
50: '#534d73',
500: '#0c0f3d',
950: '#000000',
},
}SCSS
$custom: #0c0f3d; $custom-light: #534d73; $custom-dark: #000000;
JSON
{
"hex": "#0c0f3d",
"rgb": {
"r": 12,
"g": 15,
"b": 61
},
"hsl": {
"h": 236.327,
"s": 67.123,
"l": 14.314
},
"oklch": {
"l": 0.20329,
"c": 0.08643,
"h": 272.9
},
"luminance": 0.00757
}Semantic roles & 50–950 ramp
primary
#0C0F3D
secondary
#79742C
accent
#DF3EEA
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B