#151E80#151E80
#151E80 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.2% C 0.160 H 269.1°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).
Color values
| HEX | #151E80 |
|---|---|
| RGB | rgb(21, 30, 128) |
| HSL | hsl(235, 72%, 29%) |
| HSV | hsv(235, 84%, 50%) |
| CMYK | cmyk(83.6%, 76.6%, 0%, 49.8%) |
| CIE-LAB | lab(18.57, 34.12, -55.37) |
| CIE-LCH | lch(18.57, 65.04, 301.64°) |
| OKLab | oklab(31.22% -0.0025 -0.1604) |
| OKLCH | oklch(31.22% 0.16 269.1) |
| XYZ | xyz(4.6685, 2.6459, 20.6826) |
| Luminance | 0.0265 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.69
Royal
#0C1793
ΔE00 3.36
Dark Royal Blue
#02066F
ΔE00 5.51
Darkblue
#00008B
ΔE00 5.70
Navy
#000080
ΔE00 5.75
Deep Blue
#040273
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#151E80 #807715
analogous
#155480 #151E80 #421580
triadic
#151E80 #80151E #1E8015
tetradic
#151E80 #801554 #807715 #158042
square
#151E80 #801554 #807715 #158042
split-complementary
#151E80 #804215 #548015
monochromatic
#04061A #0C124B #151E80 #1E2AB5 #3240DD
Accessibility & contrast
On white
13.73
#151E80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#151E80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #151E80
13.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##151E80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##151E80 | 1.00 | 13.73 | 1.53 | 13.73 |
| #FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#00287E
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #151e80; /* rgb */ color: rgb(21, 30, 128); /* oklch */ color: oklch(31.2% 0.160 269.1);
Tailwind
colors: {
custom: {
50: '#695ba6',
500: '#151e80',
950: '#000000',
},
}SCSS
$custom: #151e80; $custom-light: #695ba6; $custom-dark: #000000;
JSON
{
"hex": "#151e80",
"rgb": {
"r": 21,
"g": 30,
"b": 128
},
"hsl": {
"h": 234.953,
"s": 71.812,
"l": 29.216
},
"oklch": {
"l": 0.31221,
"c": 0.16045,
"h": 269.1
},
"luminance": 0.02646
}Semantic roles & 50–950 ramp
primary
#151E80
secondary
#B5AB3C
accent
#DF39EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F