#0A022F#0A022F
#0A022F is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 15.7% C 0.086 H 281.0°. Best body text is #FFFFFF at 19.76:1 contrast (WCAG AA passes).
Color values
| HEX | #0A022F |
|---|---|
| RGB | rgb(10, 2, 47) |
| HSL | hsl(251, 92%, 10%) |
| HSV | hsv(251, 96%, 18%) |
| CMYK | cmyk(78.7%, 95.7%, 0%, 81.6%) |
| CIE-LAB | lab(2.83, 14.84, -25.96) |
| CIE-LCH | lch(2.83, 29.90, 299.75°) |
| OKLab | oklab(15.65% 0.0164 -0.0841) |
| OKLCH | oklch(15.65% 0.086 281) |
| XYZ | xyz(0.6598, 0.3131, 2.7144) |
| Luminance | 0.0031 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 1.72
Very Dark Blue
#000133
ΔE00 2.43
Dark Navy Blue
#00022E
ΔE00 2.47
Midnight Blue (survey)
#020035
ΔE00 2.51
Dark Navy
#000435
ΔE00 2.62
Navy (survey)
#01153E
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0A022F #272F02
analogous
#02102F #0A022F #21022F
triadic
#0A022F #2F0A02 #022F0A
tetradic
#0A022F #2F0210 #272F02 #022F21
square
#0A022F #2F0210 #272F02 #022F21
split-complementary
#0A022F #2F2102 #102F02
monochromatic
#06011D #06011D #0A022F #16046A #2307A4
Accessibility & contrast
On white
19.76
#0A022F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.06
#0A022F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0A022F
19.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0A022F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0A022F | 1.00 | 19.76 | 1.06 | 19.76 |
| #FFFFFF | 19.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000C30
Deuteranopia (green-blind)
#00092E
Tritanopia (blue-blind)
#000E18
Achromatopsia (no color)
#0A0A0A
Design tokens & code
CSS
--color: #0a022f; /* rgb */ color: rgb(10, 2, 47); /* oklch */ color: oklch(15.7% 0.086 281.0);
Tailwind
colors: {
custom: {
50: '#4d4768',
500: '#0a022f',
950: '#000000',
},
}SCSS
$custom: #0a022f; $custom-light: #4d4768; $custom-dark: #000000;
JSON
{
"hex": "#0a022f",
"rgb": {
"r": 10,
"g": 2,
"b": 47
},
"hsl": {
"h": 250.667,
"s": 91.837,
"l": 9.608
},
"oklch": {
"l": 0.15653,
"c": 0.08573,
"h": 281
},
"luminance": 0.00313
}Semantic roles & 50–950 ramp
primary
#0A022F
secondary
#647419
accent
#FF29D9
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#020006
muted
#78777A