#0F0C3F#0F0C3F
#0F0C3F is a very dark, moderate blue. Relative luminance 0.007; OKLCH L 20.2% C 0.093 H 276.8°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).
Color values
| HEX | #0F0C3F |
|---|---|
| RGB | rgb(15, 12, 63) |
| HSL | hsl(244, 68%, 15%) |
| HSV | hsv(244, 81%, 25%) |
| CMYK | cmyk(76.2%, 81%, 0%, 75.3%) |
| CIE-LAB | lab(6.53, 20.11, -31.69) |
| CIE-LCH | lch(6.53, 37.53, 302.41°) |
| OKLab | oklab(20.22% 0.0109 -0.092) |
| OKLCH | oklch(20.22% 0.093 276.8) |
| XYZ | xyz(1.2254, 0.7233, 4.7767) |
| Luminance | 0.0072 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue (survey)
#020035
ΔE00 3.11
Navy Blue (survey)
#001146
ΔE00 3.13
Dark Navy
#000435
ΔE00 3.63
Very Dark Blue
#000133
ΔE00 3.81
Night Blue
#040348
ΔE00 3.82
Midnight
#03012D
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F0C3F #3C3F0C
analogous
#0C233F #0F0C3F #280C3F
triadic
#0F0C3F #3F0F0C #0C3F0F
tetradic
#0F0C3F #3F0C23 #3C3F0C #0C3F28
square
#0F0C3F #3F0C23 #3C3F0C #0C3F28
split-complementary
#0F0C3F #3F280C #233F0C
monochromatic
#06051A #06051A #0F0C3F #1B1672 #2720A6
Accessibility & contrast
On white
18.35
#0F0C3F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.14
#0F0C3F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F0C3F
18.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F0C3F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F0C3F | 1.00 | 18.35 | 1.14 | 18.35 |
| #FFFFFF | 18.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001741
Deuteranopia (green-blind)
#00123E
Tritanopia (blue-blind)
#001A24
Achromatopsia (no color)
#141414
Design tokens & code
CSS
--color: #0f0c3f; /* rgb */ color: rgb(15, 12, 63); /* oklch */ color: oklch(20.2% 0.093 276.8);
Tailwind
colors: {
custom: {
50: '#554b75',
500: '#0f0c3f',
950: '#000000',
},
}SCSS
$custom: #0f0c3f; $custom-light: #554b75; $custom-dark: #000000;
JSON
{
"hex": "#0f0c3f",
"rgb": {
"r": 15,
"g": 12,
"b": 63
},
"hsl": {
"h": 243.529,
"s": 68,
"l": 14.706
},
"oklch": {
"l": 0.20215,
"c": 0.09266,
"h": 276.8
},
"luminance": 0.00723
}Semantic roles & 50–950 ramp
primary
#0F0C3F
secondary
#767B2C
accent
#EB3DE1
background
#F5F4F7
surface
#E9E7ED
border
#C5C3C8
text
#030108
muted
#78777B