#152280#152280
#152280 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.9% C 0.156 H 268.5°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).
Color values
| HEX | #152280 |
|---|---|
| RGB | rgb(21, 34, 128) |
| HSL | hsl(233, 72%, 29%) |
| HSV | hsv(233, 84%, 50%) |
| CMYK | cmyk(83.6%, 73.4%, 0%, 49.8%) |
| CIE-LAB | lab(19.48, 31.58, -53.86) |
| CIE-LCH | lch(19.48, 62.44, 300.38°) |
| OKLab | oklab(31.88% -0.0041 -0.1561) |
| OKLCH | oklch(31.88% 0.156 268.5) |
| XYZ | xyz(4.7762, 2.8614, 20.7185) |
| Luminance | 0.0286 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.26
Royal
#0C1793
ΔE00 4.13
Dark Royal Blue
#02066F
ΔE00 6.53
Darkblue
#00008B
ΔE00 6.80
Navy
#000080
ΔE00 6.88
Deep Blue
#040273
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152280 #807315
analogous
#155880 #152280 #3E1580
triadic
#152280 #801522 #228015
tetradic
#152280 #801558 #807315 #15803E
square
#152280 #801558 #807315 #15803E
split-complementary
#152280 #803E15 #588015
monochromatic
#04071A #0C144B #152280 #1E30B5 #3247DD
Accessibility & contrast
On white
13.36
#152280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#152280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152280
13.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152280 | 1.00 | 13.36 | 1.57 | 13.36 |
| #FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002A7E
Tritanopia (blue-blind)
#003D4E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #152280; /* rgb */ color: rgb(21, 34, 128); /* oklch */ color: oklch(31.9% 0.156 268.5);
Tailwind
colors: {
custom: {
50: '#685da6',
500: '#152280',
950: '#000000',
},
}SCSS
$custom: #152280; $custom-light: #685da6; $custom-dark: #000000;
JSON
{
"hex": "#152280",
"rgb": {
"r": 21,
"g": 34,
"b": 128
},
"hsl": {
"h": 232.71,
"s": 71.812,
"l": 29.216
},
"oklch": {
"l": 0.31876,
"c": 0.15611,
"h": 268.5
},
"luminance": 0.02862
}Semantic roles & 50–950 ramp
primary
#152280
secondary
#B5A63C
accent
#D939EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F