#152B71#152B71
#152B71 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.1% C 0.124 H 266.1°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).
Color values
| HEX | #152B71 |
|---|---|
| RGB | rgb(21, 43, 113) |
| HSL | hsl(226, 69%, 26%) |
| HSV | hsv(226, 81%, 44%) |
| CMYK | cmyk(81.4%, 61.9%, 0%, 55.7%) |
| CIE-LAB | lab(20.36, 19.39, -42.84) |
| CIE-LCH | lch(20.36, 47.03, 294.35°) |
| OKLab | oklab(32.07% -0.0085 -0.1238) |
| OKLCH | oklch(32.07% 0.124 266.1) |
| XYZ | xyz(4.1527, 3.0790, 15.9950) |
| Luminance | 0.0308 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.61
Midnight Blue
#191970
ΔE00 6.09
Marine Blue
#01386A
ΔE00 6.72
Navy Blue
#1B2A4A
ΔE00 7.62
Darkish Blue
#014182
ΔE00 8.36
Royal
#0C1793
ΔE00 8.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152B71 #715B15
analogous
#155971 #152B71 #2D1571
triadic
#152B71 #71152B #2B7115
tetradic
#152B71 #711559 #715B15 #15712D
square
#152B71 #711559 #715B15 #15712D
split-complementary
#152B71 #712D15 #597115
monochromatic
#050A1A #0B173D #152B71 #1F3FA5 #2953D7
Accessibility & contrast
On white
13.00
#152B71 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#152B71 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152B71
13.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152B71 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152B71 | 1.00 | 13.00 | 1.62 | 13.00 |
| #FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #152b71; /* rgb */ color: rgb(21, 43, 113); /* oklch */ color: oklch(32.1% 0.124 266.1);
Tailwind
colors: {
custom: {
50: '#63639a',
500: '#152b71',
950: '#000000',
},
}SCSS
$custom: #152b71; $custom-light: #63639a; $custom-dark: #000000;
JSON
{
"hex": "#152b71",
"rgb": {
"r": 21,
"g": 43,
"b": 113
},
"hsl": {
"h": 225.652,
"s": 68.657,
"l": 26.275
},
"oklch": {
"l": 0.32068,
"c": 0.12407,
"h": 266.1
},
"luminance": 0.03079
}Semantic roles & 50–950 ramp
primary
#152B71
secondary
#A78D3B
accent
#C23CEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E