#152181#152181
#152181 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.159 H 268.6°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).
Color values
| HEX | #152181 |
|---|---|
| RGB | rgb(21, 33, 129) |
| HSL | hsl(233, 72%, 29%) |
| HSV | hsv(233, 84%, 51%) |
| CMYK | cmyk(83.7%, 74.4%, 0%, 49.4%) |
| CIE-LAB | lab(19.36, 32.60, -54.70) |
| CIE-LCH | lch(19.36, 63.68, 300.79°) |
| OKLab | oklab(31.82% -0.0038 -0.1585) |
| OKLCH | oklch(31.82% 0.159 268.6) |
| XYZ | xyz(4.8142, 2.8316, 21.0574) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.19
Royal
#0C1793
ΔE00 3.78
Dark Royal Blue
#02066F
ΔE00 6.29
Darkblue
#00008B
ΔE00 6.44
Navy
#000080
ΔE00 6.55
Deep Blue
#040273
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152181 #817515
analogous
#155781 #152181 #3F1581
triadic
#152181 #811521 #218115
tetradic
#152181 #811557 #817515 #15813F
square
#152181 #811557 #817515 #15813F
split-complementary
#152181 #813F15 #578115
monochromatic
#04071A #0C144C #152181 #1E2EB6 #3346DE
Accessibility & contrast
On white
13.41
#152181 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#152181 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152181
13.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152181 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152181 | 1.00 | 13.41 | 1.57 | 13.41 |
| #FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003484
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #152181; /* rgb */ color: rgb(21, 33, 129); /* oklch */ color: oklch(31.8% 0.159 268.6);
Tailwind
colors: {
custom: {
50: '#695da7',
500: '#152181',
950: '#000000',
},
}SCSS
$custom: #152181; $custom-light: #695da7; $custom-dark: #000000;
JSON
{
"hex": "#152181",
"rgb": {
"r": 21,
"g": 33,
"b": 129
},
"hsl": {
"h": 233.333,
"s": 72,
"l": 29.412
},
"oklch": {
"l": 0.31819,
"c": 0.15855,
"h": 268.6
},
"luminance": 0.02832
}Semantic roles & 50–950 ramp
primary
#152181
secondary
#B6A83C
accent
#DB39EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F