#152180#152180
#152180 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.157 H 268.7°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).
Color values
| HEX | #152180 |
|---|---|
| RGB | rgb(21, 33, 128) |
| HSL | hsl(233, 72%, 29%) |
| HSV | hsv(233, 84%, 50%) |
| CMYK | cmyk(83.6%, 74.2%, 0%, 49.8%) |
| CIE-LAB | lab(19.25, 32.23, -54.25) |
| CIE-LCH | lch(19.25, 63.10, 300.71°) |
| OKLab | oklab(31.71% -0.0037 -0.1572) |
| OKLCH | oklch(31.71% 0.157 268.7) |
| XYZ | xyz(4.7481, 2.8051, 20.7091) |
| Luminance | 0.0281 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.08
Royal
#0C1793
ΔE00 3.91
Dark Royal Blue
#02066F
ΔE00 6.26
Darkblue
#00008B
ΔE00 6.51
Navy
#000080
ΔE00 6.59
Deep Blue
#040273
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152180 #807415
analogous
#155780 #152180 #3F1580
triadic
#152180 #801521 #218015
tetradic
#152180 #801557 #807415 #15803F
square
#152180 #801557 #807415 #15803F
split-complementary
#152180 #803F15 #578015
monochromatic
#04071A #0C134B #152180 #1E2FB5 #3245DD
Accessibility & contrast
On white
13.45
#152180 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#152180 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152180
13.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152180 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152180 | 1.00 | 13.45 | 1.56 | 13.45 |
| #FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #152180; /* rgb */ color: rgb(21, 33, 128); /* oklch */ color: oklch(31.7% 0.157 268.7);
Tailwind
colors: {
custom: {
50: '#685da6',
500: '#152180',
950: '#000000',
},
}SCSS
$custom: #152180; $custom-light: #685da6; $custom-dark: #000000;
JSON
{
"hex": "#152180",
"rgb": {
"r": 21,
"g": 33,
"b": 128
},
"hsl": {
"h": 233.271,
"s": 71.812,
"l": 29.216
},
"oklch": {
"l": 0.31707,
"c": 0.15723,
"h": 268.7
},
"luminance": 0.02806
}Semantic roles & 50–950 ramp
primary
#152180
secondary
#B5A73C
accent
#DA39EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F