#151C81#151C81
#151C81 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.0% C 0.164 H 269.3°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).
Color values
| HEX | #151C81 |
|---|---|
| RGB | rgb(21, 28, 129) |
| HSL | hsl(236, 72%, 29%) |
| HSV | hsv(236, 84%, 51%) |
| CMYK | cmyk(83.7%, 78.3%, 0%, 49.4%) |
| CIE-LAB | lab(18.25, 35.70, -56.53) |
| CIE-LCH | lch(18.25, 66.85, 302.27°) |
| OKLab | oklab(31.03% -0.002 -0.1638) |
| OKLCH | oklch(31.03% 0.164 269.3) |
| XYZ | xyz(4.6856, 2.5744, 21.0146) |
| Luminance | 0.0257 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.71
Royal
#0C1793
ΔE00 2.93
Dark Royal Blue
#02066F
ΔE00 5.11
Darkblue
#00008B
ΔE00 5.12
Navy
#000080
ΔE00 5.19
Deep Blue
#040273
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151C81 #817A15
analogous
#155281 #151C81 #441581
triadic
#151C81 #81151C #1C8115
tetradic
#151C81 #811552 #817A15 #158144
square
#151C81 #811552 #817A15 #158144
split-complementary
#151C81 #814415 #528115
monochromatic
#04061A #0C114C #151C81 #1E27B6 #333EDE
Accessibility & contrast
On white
13.86
#151C81 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#151C81 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151C81
13.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151C81 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151C81 | 1.00 | 13.86 | 1.52 | 13.86 |
| #FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003284
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#003A4D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #151c81; /* rgb */ color: rgb(21, 28, 129); /* oklch */ color: oklch(31.0% 0.164 269.3);
Tailwind
colors: {
custom: {
50: '#6959a7',
500: '#151c81',
950: '#000000',
},
}SCSS
$custom: #151c81; $custom-light: #6959a7; $custom-dark: #000000;
JSON
{
"hex": "#151c81",
"rgb": {
"r": 21,
"g": 28,
"b": 129
},
"hsl": {
"h": 236.111,
"s": 72,
"l": 29.412
},
"oklch": {
"l": 0.31031,
"c": 0.16378,
"h": 269.3
},
"luminance": 0.02575
}Semantic roles & 50–950 ramp
primary
#151C81
secondary
#B6AE3C
accent
#E339EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#080410
muted
#7A797F