#0F0C3E#0F0C3E
#0F0C3E is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.1% C 0.091 H 277.0°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).
Color values
| HEX | #0F0C3E |
|---|---|
| RGB | rgb(15, 12, 62) |
| HSL | hsl(244, 68%, 15%) |
| HSV | hsv(244, 81%, 24%) |
| CMYK | cmyk(75.8%, 80.6%, 0%, 75.7%) |
| CIE-LAB | lab(6.43, 19.66, -31.13) |
| CIE-LCH | lch(6.43, 36.82, 302.27°) |
| OKLab | oklab(20.1% 0.0111 -0.0905) |
| OKLCH | oklch(20.1% 0.091 277) |
| XYZ | xyz(1.1977, 0.7122, 4.6308) |
| Luminance | 0.0071 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue (survey)
#020035
ΔE00 3.01
Navy Blue (survey)
#001146
ΔE00 3.20
Dark Navy
#000435
ΔE00 3.51
Very Dark Blue
#000133
ΔE00 3.68
Night Blue
#040348
ΔE00 4.05
Midnight
#03012D
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F0C3E #3B3E0C
analogous
#0C223E #0F0C3E #280C3E
triadic
#0F0C3E #3E0F0C #0C3E0F
tetradic
#0F0C3E #3E0C22 #3B3E0C #0C3E28
square
#0F0C3E #3E0C22 #3B3E0C #0C3E28
split-complementary
#0F0C3E #3E280C #223E0C
monochromatic
#06051A #06051A #0F0C3E #1B1671 #2820A5
Accessibility & contrast
On white
18.38
#0F0C3E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#0F0C3E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F0C3E
18.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F0C3E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F0C3E | 1.00 | 18.38 | 1.14 | 18.38 |
| #FFFFFF | 18.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00163F
Deuteranopia (green-blind)
#00123D
Tritanopia (blue-blind)
#001A23
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #0f0c3e; /* rgb */ color: rgb(15, 12, 62); /* oklch */ color: oklch(20.1% 0.091 277.0);
Tailwind
colors: {
custom: {
50: '#554b74',
500: '#0f0c3e',
950: '#000000',
},
}SCSS
$custom: #0f0c3e; $custom-light: #554b74; $custom-dark: #000000;
JSON
{
"hex": "#0f0c3e",
"rgb": {
"r": 15,
"g": 12,
"b": 62
},
"hsl": {
"h": 243.6,
"s": 67.568,
"l": 14.51
},
"oklch": {
"l": 0.20097,
"c": 0.09116,
"h": 277
},
"luminance": 0.00712
}Semantic roles & 50–950 ramp
primary
#0F0C3E
secondary
#757A2C
accent
#EA3DE0
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B