#151E7E#151E7E
#151E7E is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.158 H 269.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).
Color values
| HEX | #151E7E |
|---|---|
| RGB | rgb(21, 30, 126) |
| HSL | hsl(235, 71%, 29%) |
| HSV | hsv(235, 83%, 49%) |
| CMYK | cmyk(83.3%, 76.2%, 0%, 50.6%) |
| CIE-LAB | lab(18.34, 33.38, -54.48) |
| CIE-LCH | lch(18.34, 63.89, 301.50°) |
| OKLab | oklab(30.99% -0.0022 -0.1578) |
| OKLCH | oklch(30.99% 0.158 269.2) |
| XYZ | xyz(4.5381, 2.5938, 19.9961) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.44
Royal
#0C1793
ΔE00 3.65
Dark Royal Blue
#02066F
ΔE00 5.44
Navy
#000080
ΔE00 5.83
Darkblue
#00008B
ΔE00 5.86
Deep Blue
#040273
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151E7E #7E7515
analogous
#15537E #151E7E #41157E
triadic
#151E7E #7E151E #1E7E15
tetradic
#151E7E #7E1553 #7E7515 #157E41
square
#151E7E #7E1553 #7E7515 #157E41
split-complementary
#151E7E #7E4115 #537E15
monochromatic
#04061A #0C124A #151E7E #1E2AB2 #3140DD
Accessibility & contrast
On white
13.83
#151E7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#151E7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151E7E
13.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151E7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151E7E | 1.00 | 13.83 | 1.52 | 13.83 |
| #FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003281
Deuteranopia (green-blind)
#00277C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #151e7e; /* rgb */ color: rgb(21, 30, 126); /* oklch */ color: oklch(31.0% 0.158 269.2);
Tailwind
colors: {
custom: {
50: '#685ba4',
500: '#151e7e',
950: '#000000',
},
}SCSS
$custom: #151e7e; $custom-light: #685ba4; $custom-dark: #000000;
JSON
{
"hex": "#151e7e",
"rgb": {
"r": 21,
"g": 30,
"b": 126
},
"hsl": {
"h": 234.857,
"s": 71.429,
"l": 28.824
},
"oklch": {
"l": 0.3099,
"c": 0.15786,
"h": 269.2
},
"luminance": 0.02594
}Semantic roles & 50–950 ramp
primary
#151E7E
secondary
#B3A93C
accent
#DF3AEE
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F