#0F022F#0F022F
#0F022F is a very dark, moderate violet. Relative luminance 0.004; OKLCH L 16.2% C 0.085 H 288.1°. Best body text is #FFFFFF at 19.63:1 contrast (WCAG AA passes).
Color values
| HEX | #0F022F |
|---|---|
| RGB | rgb(15, 2, 47) |
| HSL | hsl(257, 92%, 10%) |
| HSV | hsv(257, 96%, 18%) |
| CMYK | cmyk(68.1%, 95.7%, 0%, 81.6%) |
| CIE-LAB | lab(3.16, 16.33, -25.41) |
| CIE-LCH | lch(3.16, 30.21, 302.73°) |
| OKLab | oklab(16.25% 0.0264 -0.0808) |
| OKLCH | oklch(16.25% 0.085 288.1) |
| XYZ | xyz(0.7316, 0.3502, 2.7178) |
| Luminance | 0.0035 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 3.00
Midnight Blue (survey)
#020035
ΔE00 3.35
Very Dark Blue
#000133
ΔE00 3.56
Dark Navy
#000435
ΔE00 3.73
Dark Navy Blue
#00022E
ΔE00 3.77
Navy Blue (survey)
#001146
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0F022F #222F02
analogous
#020C2F #0F022F #26022F
triadic
#0F022F #2F0F02 #022F0F
tetradic
#0F022F #2F020C #222F02 #022F26
square
#0F022F #2F020C #222F02 #022F26
split-complementary
#0F022F #2F2602 #0C2F02
monochromatic
#09011D #09011D #0F022F #22046A #3407A4
Accessibility & contrast
On white
19.63
#0F022F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.07
#0F022F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0F022F
19.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0F022F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0F022F | 1.00 | 19.63 | 1.07 | 19.63 |
| #FFFFFF | 19.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000C30
Deuteranopia (green-blind)
#000A2E
Tritanopia (blue-blind)
#030E18
Achromatopsia (no color)
#0B0B0B
Design tokens & code
CSS
--color: #0f022f; /* rgb */ color: rgb(15, 2, 47); /* oklch */ color: oklch(16.2% 0.085 288.1);
Tailwind
colors: {
custom: {
50: '#504768',
500: '#0f022f',
950: '#000000',
},
}SCSS
$custom: #0f022f; $custom-light: #504768; $custom-dark: #000000;
JSON
{
"hex": "#0f022f",
"rgb": {
"r": 15,
"g": 2,
"b": 47
},
"hsl": {
"h": 257.333,
"s": 91.837,
"l": 9.608
},
"oklch": {
"l": 0.16245,
"c": 0.08502,
"h": 288.1
},
"luminance": 0.0035
}Semantic roles & 50–950 ramp
primary
#0F022F
secondary
#5A7419
accent
#FF29C1
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A