#0F0F2F#0F0F2F
#0F0F2F is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.1% C 0.062 H 278.7°. Best body text is #FFFFFF at 18.59:1 contrast (WCAG AA passes).
Color values
| HEX | #0F0F2F |
|---|---|
| RGB | rgb(15, 15, 47) |
| HSL | hsl(240, 52%, 12%) |
| HSV | hsv(240, 68%, 18%) |
| CMYK | cmyk(68.1%, 68.1%, 0%, 81.6%) |
| CIE-LAB | lab(5.86, 10.81, -21.12) |
| CIE-LCH | lch(5.86, 23.73, 297.11°) |
| OKLab | oklab(19.12% 0.0095 -0.0616) |
| OKLCH | oklch(19.12% 0.062 278.7) |
| XYZ | xyz(0.8808, 0.6484, 2.7675) |
| Luminance | 0.0065 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 3.30
Dark Navy Blue
#00022E
ΔE00 3.71
Dark Navy
#000435
ΔE00 4.74
Very Dark Blue
#000133
ΔE00 4.78
Navy (survey)
#01153E
ΔE00 4.84
Midnight Blue (survey)
#020035
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F0F2F #2F2F0F
analogous
#0F1F2F #0F0F2F #1F0F2F
triadic
#0F0F2F #2F0F0F #0F2F0F
tetradic
#0F0F2F #2F0F1F #2F2F0F #0F2F1F
square
#0F0F2F #2F0F1F #2F2F0F #0F2F1F
split-complementary
#0F0F2F #2F1F0F #1F2F0F
monochromatic
#070717 #070717 #0F0F2F #1E1E5D #2D2D8C
Accessibility & contrast
On white
18.59
#0F0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.13
#0F0F2F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F0F2F
18.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F0F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F0F2F | 1.00 | 18.59 | 1.13 | 18.59 |
| #FFFFFF | 18.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#00122E
Tritanopia (blue-blind)
#02161D
Achromatopsia (no color)
#131313
Design tokens & code
CSS
--color: #0f0f2f; /* rgb */ color: rgb(15, 15, 47); /* oklch */ color: oklch(19.1% 0.062 278.7);
Tailwind
colors: {
custom: {
50: '#504d68',
500: '#0f0f2f',
950: '#000000',
},
}SCSS
$custom: #0f0f2f; $custom-light: #504d68; $custom-dark: #000000;
JSON
{
"hex": "#0f0f2f",
"rgb": {
"r": 15,
"g": 15,
"b": 47
},
"hsl": {
"h": 240,
"s": 51.613,
"l": 12.157
},
"oklch": {
"l": 0.1912,
"c": 0.06236,
"h": 278.7
},
"luminance": 0.00648
}Semantic roles & 50–950 ramp
primary
#0F0F2F
secondary
#696931
accent
#DB4DDB
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A