#152973#152973
#152973 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.130 H 266.9°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).
Color values
| HEX | #152973 |
|---|---|
| RGB | rgb(21, 41, 115) |
| HSL | hsl(227, 69%, 27%) |
| HSV | hsv(227, 82%, 45%) |
| CMYK | cmyk(81.7%, 64.3%, 0%, 54.9%) |
| CIE-LAB | lab(19.97, 21.65, -44.76) |
| CIE-LCH | lch(19.97, 49.72, 295.81°) |
| OKLab | oklab(31.84% -0.0071 -0.1294) |
| OKLCH | oklch(31.84% 0.13 266.9) |
| XYZ | xyz(4.1956, 2.9826, 16.5709) |
| Luminance | 0.0298 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.21
Marine
#042E60
ΔE00 5.42
Marine Blue
#01386A
ΔE00 7.53
Royal
#0C1793
ΔE00 7.75
Navy Blue
#1B2A4A
ΔE00 8.18
Darkslateblue
#483D8B
ΔE00 8.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152973 #735F15
analogous
#155873 #152973 #301573
triadic
#152973 #731529 #297315
tetradic
#152973 #731558 #735F15 #157330
square
#152973 #731558 #735F15 #157330
split-complementary
#152973 #733015 #587315
monochromatic
#05091A #0C173F #152973 #1E3BA7 #2A4FD8
Accessibility & contrast
On white
13.15
#152973 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#152973 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152973
13.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152973 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152973 | 1.00 | 13.15 | 1.60 | 13.15 |
| #FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003575
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #152973; /* rgb */ color: rgb(21, 41, 115); /* oklch */ color: oklch(31.8% 0.130 266.9);
Tailwind
colors: {
custom: {
50: '#64629c',
500: '#152973',
950: '#000000',
},
}SCSS
$custom: #152973; $custom-light: #64629c; $custom-dark: #000000;
JSON
{
"hex": "#152973",
"rgb": {
"r": 21,
"g": 41,
"b": 115
},
"hsl": {
"h": 227.234,
"s": 69.118,
"l": 26.667
},
"oklch": {
"l": 0.31839,
"c": 0.12961,
"h": 266.9
},
"luminance": 0.02983
}Semantic roles & 50–950 ramp
primary
#152973
secondary
#A9923B
accent
#C63CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E