#0F0F2E#0F0F2E
#0F0F2E is a very dark, moderate blue. Relative luminance 0.006; OKLCH L 19.0% C 0.061 H 279.0°. Best body text is #FFFFFF at 18.62:1 contrast (WCAG AA passes).
Color values
| HEX | #0F0F2E |
|---|---|
| RGB | rgb(15, 15, 46) |
| HSL | hsl(240, 51%, 12%) |
| HSV | hsv(240, 67%, 18%) |
| CMYK | cmyk(67.4%, 67.4%, 0%, 82%) |
| CIE-LAB | lab(5.78, 10.32, -20.49) |
| CIE-LCH | lch(5.78, 22.94, 296.74°) |
| OKLab | oklab(19.02% 0.0094 -0.0599) |
| OKLCH | oklch(19.02% 0.061 279) |
| XYZ | xyz(0.8608, 0.6404, 2.6625) |
| Luminance | 0.0064 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight
#03012D
ΔE00 3.51
Dark Navy Blue
#00022E
ΔE00 3.88
Dark Navy
#000435
ΔE00 5.02
Navy (survey)
#01153E
ΔE00 5.04
Very Dark Blue
#000133
ΔE00 5.05
Midnight Blue (survey)
#020035
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F0F2E #2E2E0F
analogous
#0F1F2E #0F0F2E #1F0F2E
triadic
#0F0F2E #2E0F0F #0F2E0F
tetradic
#0F0F2E #2E0F1F #2E2E0F #0F2E1F
square
#0F0F2E #2E0F1F #2E2E0F #0F2E1F
split-complementary
#0F0F2E #2E1F0F #1F2E0F
monochromatic
#080817 #080817 #0F0F2E #1E1E5C #2D2D8A
Accessibility & contrast
On white
18.62
#0F0F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.13
#0F0F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F0F2E
18.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F0F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F0F2E | 1.00 | 18.62 | 1.13 | 18.62 |
| #FFFFFF | 18.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#01142F
Deuteranopia (green-blind)
#00122D
Tritanopia (blue-blind)
#02161C
Achromatopsia (no color)
#131313
Design tokens & code
CSS
--color: #0f0f2e; /* rgb */ color: rgb(15, 15, 46); /* oklch */ color: oklch(19.0% 0.061 279.0);
Tailwind
colors: {
custom: {
50: '#504d67',
500: '#0f0f2e',
950: '#000000',
},
}SCSS
$custom: #0f0f2e; $custom-light: #504d67; $custom-dark: #000000;
JSON
{
"hex": "#0f0f2e",
"rgb": {
"r": 15,
"g": 15,
"b": 46
},
"hsl": {
"h": 240,
"s": 50.82,
"l": 11.961
},
"oklch": {
"l": 0.19025,
"c": 0.06062,
"h": 279
},
"luminance": 0.0064
}Semantic roles & 50–950 ramp
primary
#0F0F2E
secondary
#686831
accent
#DA4DDA
background
#F4F4F6
surface
#E7E7EB
border
#C3C3C6
text
#020106
muted
#78777A