#0B012A#0B012A
#0B012A is a very dark, moderate violet. Relative luminance 0.003; OKLCH L 14.8% C 0.081 H 286.0°. Best body text is #FFFFFF at 19.96:1 contrast (WCAG AA passes).
Color values
| HEX | #0B012A |
|---|---|
| RGB | rgb(11, 1, 42) |
| HSL | hsl(255, 95%, 8%) |
| HSV | hsv(255, 98%, 16%) |
| CMYK | cmyk(73.8%, 97.6%, 0%, 83.5%) |
| CIE-LAB | lab(2.35, 13.09, -22.92) |
| CIE-LCH | lch(2.35, 26.40, 299.73°) |
| OKLab | oklab(14.78% 0.0223 -0.0779) |
| OKLCH | oklch(14.78% 0.081 286) |
| XYZ | xyz(0.5667, 0.2600, 2.2104) |
| Luminance | 0.0026 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 2.15
Dark Navy Blue
#00022E
ΔE00 2.96
Very Dark Blue
#000133
ΔE00 3.69
Dark Navy
#000435
ΔE00 3.90
Midnight Blue (survey)
#020035
ΔE00 3.99
Navy (survey)
#01153E
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#0B012A #202A01
analogous
#010B2A #0B012A #1F012A
triadic
#0B012A #2A0B01 #012A0B
tetradic
#0B012A #2A010B #202A01 #012A1F
square
#0B012A #2A010B #202A01 #012A1F
split-complementary
#0B012A #2A1F01 #0B2A01
monochromatic
#08011E #08011E #0B012A #1B0266 #2A04A2
Accessibility & contrast
On white
19.96
#0B012A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.05
#0B012A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #0B012A
19.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##0B012A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##0B012A | 1.00 | 19.96 | 1.05 | 19.96 |
| #FFFFFF | 19.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 19.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#000A2B
Deuteranopia (green-blind)
#000729
Tritanopia (blue-blind)
#000B15
Achromatopsia (no color)
#090909
Design tokens & code
CSS
--color: #0b012a; /* rgb */ color: rgb(11, 1, 42); /* oklch */ color: oklch(14.8% 0.081 286.0);
Tailwind
colors: {
custom: {
50: '#4c4764',
500: '#0b012a',
950: '#000000',
},
}SCSS
$custom: #0b012a; $custom-light: #4c4764; $custom-dark: #000000;
JSON
{
"hex": "#0b012a",
"rgb": {
"r": 11,
"g": 1,
"b": 42
},
"hsl": {
"h": 254.634,
"s": 95.349,
"l": 8.431
},
"oklch": {
"l": 0.14779,
"c": 0.08108,
"h": 286
},
"luminance": 0.0026
}Semantic roles & 50–950 ramp
primary
#0B012A
secondary
#5A7016
accent
#FF29CB
background
#F4F3F6
surface
#E7E5EB
border
#C3C1C6
text
#010005
muted
#77777A