#152873#152873
#152873 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.131 H 267.2°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).
Color values
| HEX | #152873 |
|---|---|
| RGB | rgb(21, 40, 115) |
| HSL | hsl(228, 69%, 27%) |
| HSV | hsv(228, 82%, 45%) |
| CMYK | cmyk(81.7%, 65.2%, 0%, 54.9%) |
| CIE-LAB | lab(19.70, 22.36, -45.21) |
| CIE-LCH | lch(19.70, 50.44, 296.32°) |
| OKLab | oklab(31.63% -0.0064 -0.1308) |
| OKLCH | oklch(31.63% 0.131 267.2) |
| XYZ | xyz(4.1615, 2.9143, 16.5595) |
| Luminance | 0.0291 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.86
Marine
#042E60
ΔE00 5.70
Royal
#0C1793
ΔE00 7.48
Marine Blue
#01386A
ΔE00 7.86
Navy Blue
#1B2A4A
ΔE00 8.32
Darkblue (survey)
#030764
ΔE00 8.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152873 #736015
analogous
#155773 #152873 #311573
triadic
#152873 #731528 #287315
tetradic
#152873 #731557 #736015 #157331
square
#152873 #731557 #736015 #157331
split-complementary
#152873 #733115 #577315
monochromatic
#05091A #0C163F #152873 #1E3AA7 #2A4DD8
Accessibility & contrast
On white
13.27
#152873 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#152873 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152873
13.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152873 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152873 | 1.00 | 13.27 | 1.58 | 13.27 |
| #FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003475
Deuteranopia (green-blind)
#002B72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #152873; /* rgb */ color: rgb(21, 40, 115); /* oklch */ color: oklch(31.6% 0.131 267.2);
Tailwind
colors: {
custom: {
50: '#64619c',
500: '#152873',
950: '#000000',
},
}SCSS
$custom: #152873; $custom-light: #64619c; $custom-dark: #000000;
JSON
{
"hex": "#152873",
"rgb": {
"r": 21,
"g": 40,
"b": 115
},
"hsl": {
"h": 227.872,
"s": 69.118,
"l": 26.667
},
"oklch": {
"l": 0.31634,
"c": 0.13092,
"h": 267.2
},
"luminance": 0.02915
}Semantic roles & 50–950 ramp
primary
#152873
secondary
#A9933B
accent
#C83CEC
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E