#151A81#151A81
#151A81 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.166 H 269.5°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #151A81 |
|---|---|
| RGB | rgb(21, 26, 129) |
| HSL | hsl(237, 72%, 29%) |
| HSV | hsv(237, 84%, 51%) |
| CMYK | cmyk(83.7%, 79.8%, 0%, 49.4%) |
| CIE-LAB | lab(17.84, 36.87, -57.21) |
| CIE-LCH | lch(17.84, 68.06, 302.80°) |
| OKLab | oklab(30.74% -0.0014 -0.1657) |
| OKLCH | oklch(30.74% 0.166 269.5) |
| XYZ | xyz(4.6397, 2.4827, 20.9993) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.70
Royal
#0C1793
ΔE00 2.73
Darkblue
#00008B
ΔE00 4.64
Navy
#000080
ΔE00 4.69
Dark Royal Blue
#02066F
ΔE00 4.70
Deep Blue
#040273
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151A81 #817C15
analogous
#155081 #151A81 #461581
triadic
#151A81 #81151A #1A8115
tetradic
#151A81 #811550 #817C15 #158146
square
#151A81 #811550 #817C15 #158146
split-complementary
#151A81 #814615 #508115
monochromatic
#04051A #0C0F4C #151A81 #1E25B6 #333BDE
Accessibility & contrast
On white
14.03
#151A81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#151A81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151A81
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151A81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151A81 | 1.00 | 14.03 | 1.50 | 14.03 |
| #FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00267F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #151a81; /* rgb */ color: rgb(21, 26, 129); /* oklch */ color: oklch(30.7% 0.166 269.5);
Tailwind
colors: {
custom: {
50: '#6958a7',
500: '#151a81',
950: '#000000',
},
}SCSS
$custom: #151a81; $custom-light: #6958a7; $custom-dark: #000000;
JSON
{
"hex": "#151a81",
"rgb": {
"r": 21,
"g": 26,
"b": 129
},
"hsl": {
"h": 237.222,
"s": 72,
"l": 29.412
},
"oklch": {
"l": 0.3074,
"c": 0.16573,
"h": 269.5
},
"luminance": 0.02483
}Semantic roles & 50–950 ramp
primary
#151A81
secondary
#B6B03C
accent
#E639EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080310
muted
#7A787F