#152281#152281
#152281 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.0% C 0.157 H 268.5°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).
Color values
| HEX | #152281 |
|---|---|
| RGB | rgb(21, 34, 129) |
| HSL | hsl(233, 72%, 29%) |
| HSV | hsv(233, 84%, 51%) |
| CMYK | cmyk(83.7%, 73.6%, 0%, 49.4%) |
| CIE-LAB | lab(19.59, 31.96, -54.32) |
| CIE-LCH | lch(19.59, 63.02, 300.47°) |
| OKLab | oklab(31.99% -0.0042 -0.1574) |
| OKLCH | oklch(31.99% 0.157 268.5) |
| XYZ | xyz(4.8424, 2.8879, 21.0668) |
| Luminance | 0.0289 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 3.35
Royal
#0C1793
ΔE00 3.99
Dark Royal Blue
#02066F
ΔE00 6.55
Darkblue
#00008B
ΔE00 6.72
Navy
#000080
ΔE00 6.84
Deep Blue
#040273
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152281 #817415
analogous
#155881 #152281 #3E1581
triadic
#152281 #811522 #228115
tetradic
#152281 #811558 #817415 #15813E
square
#152281 #811558 #817415 #15813E
split-complementary
#152281 #813E15 #588115
monochromatic
#04071A #0C144C #152281 #1E30B6 #3347DE
Accessibility & contrast
On white
13.31
#152281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#152281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152281
13.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152281 | 1.00 | 13.31 | 1.58 | 13.31 |
| #FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003584
Deuteranopia (green-blind)
#002A7F
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #152281; /* rgb */ color: rgb(21, 34, 129); /* oklch */ color: oklch(32.0% 0.157 268.5);
Tailwind
colors: {
custom: {
50: '#685da7',
500: '#152281',
950: '#000000',
},
}SCSS
$custom: #152281; $custom-light: #685da7; $custom-dark: #000000;
JSON
{
"hex": "#152281",
"rgb": {
"r": 21,
"g": 34,
"b": 129
},
"hsl": {
"h": 232.778,
"s": 72,
"l": 29.412
},
"oklch": {
"l": 0.31987,
"c": 0.15744,
"h": 268.5
},
"luminance": 0.02888
}Semantic roles & 50–950 ramp
primary
#152281
secondary
#B6A73C
accent
#D939EF
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F