#150B2E#150B2E
#150B2E is a very dark, moderate violet. Relative luminance 0.006; OKLCH L 18.8% C 0.067 H 291.9°. Best body text is #FFFFFF at 18.76:1 contrast (WCAG AA passes).
Color values
| HEX | #150B2E |
|---|---|
| RGB | rgb(21, 11, 46) |
| HSL | hsl(257, 61%, 11%) |
| HSV | hsv(257, 76%, 18%) |
| CMYK | cmyk(54.3%, 76.1%, 0%, 82%) |
| CIE-LAB | lab(5.38, 14.46, -21.10) |
| CIE-LCH | lch(5.38, 25.58, 304.43°) |
| OKLab | oklab(18.81% 0.0249 -0.062) |
| OKLCH | oklch(18.81% 0.067 291.9) |
| XYZ | xyz(0.9219, 0.5960, 2.6507) |
| Luminance | 0.0060 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Midnight
#03012D
ΔE00 4.51
Dark Navy Blue
#00022E
ΔE00 5.25
Very Dark Blue
#000133
ΔE00 5.67
Midnight Blue (survey)
#020035
ΔE00 5.71
Dark Navy
#000435
ΔE00 5.74
Navy (survey)
#01153E
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#150B2E #242E0B
analogous
#0B122E #150B2E #260B2E
triadic
#150B2E #2E150B #0B2E15
tetradic
#150B2E #2E0B12 #242E0B #0B2E26
square
#150B2E #2E0B12 #242E0B #0B2E26
split-complementary
#150B2E #2E260B #122E0B
monochromatic
#0B0619 #0B0619 #150B2E #2C175F #422391
Accessibility & contrast
On white
18.76
#150B2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.12
#150B2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #150B2E
18.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##150B2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##150B2E | 1.00 | 18.76 | 1.12 | 18.76 |
| #FFFFFF | 18.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 18.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00122F
Deuteranopia (green-blind)
#00112D
Tritanopia (blue-blind)
#0E131B
Achromatopsia (no color)
#121212
Design tokens & code
CSS
--color: #150b2e; /* rgb */ color: rgb(21, 11, 46); /* oklch */ color: oklch(18.8% 0.067 291.9);
Tailwind
colors: {
custom: {
50: '#544b67',
500: '#150b2e',
950: '#000000',
},
}SCSS
$custom: #150b2e; $custom-light: #544b67; $custom-dark: #000000;
JSON
{
"hex": "#150b2e",
"rgb": {
"r": 21,
"g": 11,
"b": 46
},
"hsl": {
"h": 257.143,
"s": 61.404,
"l": 11.176
},
"oklch": {
"l": 0.18813,
"c": 0.0668,
"h": 291.9
},
"luminance": 0.00596
}Semantic roles & 50–950 ramp
primary
#150B2E
secondary
#586A2A
accent
#E543B6
background
#F4F4F6
surface
#E8E7EB
border
#C4C3C6
text
#030106
muted
#78777A