#152B76#152B76
#152B76 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.5% C 0.131 H 266.3°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #152B76 |
|---|---|
| RGB | rgb(21, 43, 118) |
| HSL | hsl(226, 70%, 27%) |
| HSV | hsv(226, 82%, 46%) |
| CMYK | cmyk(82.2%, 63.6%, 0%, 53.7%) |
| CIE-LAB | lab(20.81, 21.45, -45.32) |
| CIE-LCH | lch(20.81, 50.14, 295.33°) |
| OKLab | oklab(32.54% -0.0084 -0.131) |
| OKLCH | oklch(32.54% 0.131 266.3) |
| XYZ | xyz(4.4420, 3.1947, 17.5186) |
| Luminance | 0.0319 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.29
Midnight Blue
#191970
ΔE00 5.76
Marine Blue
#01386A
ΔE00 7.09
Royal
#0C1793
ΔE00 7.85
Sapphire (survey)
#2138AB
ΔE00 8.32
Navy Blue
#1B2A4A
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152B76 #766015
analogous
#155B76 #152B76 #301576
triadic
#152B76 #76152B #2B7615
tetradic
#152B76 #76155B #766015 #157630
square
#152B76 #76155B #766015 #157630
split-complementary
#152B76 #763015 #5B7615
monochromatic
#05091A #0C1842 #152B76 #1E3EAA #2C53D9
Accessibility & contrast
On white
12.81
#152B76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#152B76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152B76
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152B76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152B76 | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #152b76; /* rgb */ color: rgb(21, 43, 118); /* oklch */ color: oklch(32.5% 0.131 266.3);
Tailwind
colors: {
custom: {
50: '#64649e',
500: '#152b76',
950: '#000000',
},
}SCSS
$custom: #152b76; $custom-light: #64649e; $custom-dark: #000000;
JSON
{
"hex": "#152b76",
"rgb": {
"r": 21,
"g": 43,
"b": 118
},
"hsl": {
"h": 226.392,
"s": 69.784,
"l": 27.255
},
"oklch": {
"l": 0.32543,
"c": 0.13131,
"h": 266.3
},
"luminance": 0.03195
}Semantic roles & 50–950 ramp
primary
#152B76
secondary
#AC923B
accent
#C43BED
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E