#0F0F2D#0F0F2D
#0F0F2D is a very dark, muted blue. Relative luminance 0.006; OKLCH L 18.9% C 0.059 H 279.2°. Best body text is #FFFFFF at 18.64:1 contrast (WCAG AA passes).
Color values
| HEX | #0F0F2D |
|---|---|
| RGB | rgb(15, 15, 45) |
| HSL | hsl(240, 50%, 12%) |
| HSV | hsv(240, 67%, 18%) |
| CMYK | cmyk(66.7%, 66.7%, 0%, 82.4%) |
| CIE-LAB | lab(5.71, 9.83, -19.86) |
| CIE-LCH | lch(5.71, 22.16, 296.34°) |
| OKLab | oklab(18.93% 0.0094 -0.0581) |
| OKLCH | oklch(18.93% 0.059 279.2) |
| XYZ | xyz(0.8413, 0.6326, 2.5599) |
| Luminance | 0.0063 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 3.75
Dark Navy Blue
#00022E
ΔE00 4.09
Navy (survey)
#01153E
ΔE00 5.25
Dark Navy
#000435
ΔE00 5.32
Very Dark Blue
#000133
ΔE00 5.34
Midnight Blue (survey)
#020035
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F0F2D #2D2D0F
analogous
#0F1E2D #0F0F2D #1E0F2D
triadic
#0F0F2D #2D0F0F #0F2D0F
tetradic
#0F0F2D #2D0F1E #2D2D0F #0F2D1E
square
#0F0F2D #2D0F1E #2D2D0F #0F2D1E
split-complementary
#0F0F2D #2D1E0F #1E2D0F
monochromatic
#080817 #080817 #0F0F2D #1E1E5B #2E2E89
Accessibility & contrast
On white
18.64
#0F0F2D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.13
#0F0F2D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F0F2D
18.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F0F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F0F2D | 1.00 | 18.64 | 1.13 | 18.64 |
| #FFFFFF | 18.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#01142E
Deuteranopia (green-blind)
#00112C
Tritanopia (blue-blind)
#03161C
Achromatopsia (no color)
#131313
Design tokens & code
CSS
--color: #0f0f2d; /* rgb */ color: rgb(15, 15, 45); /* oklch */ color: oklch(18.9% 0.059 279.2);
Tailwind
colors: {
custom: {
50: '#504d66',
500: '#0f0f2d',
950: '#000000',
},
}SCSS
$custom: #0f0f2d; $custom-light: #504d66; $custom-dark: #000000;
JSON
{
"hex": "#0f0f2d",
"rgb": {
"r": 15,
"g": 15,
"b": 45
},
"hsl": {
"h": 240,
"s": 50,
"l": 11.765
},
"oklch": {
"l": 0.18932,
"c": 0.05885,
"h": 279.2
},
"luminance": 0.00633
}Semantic roles & 50–950 ramp
primary
#0F0F2D
secondary
#666631
accent
#DA4EDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A