#152B75#152B75
#152B75 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.130 H 266.3°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #152B75 |
|---|---|
| RGB | rgb(21, 43, 117) |
| HSL | hsl(226, 70%, 27%) |
| HSV | hsv(226, 82%, 46%) |
| CMYK | cmyk(82.1%, 63.2%, 0%, 54.1%) |
| CIE-LAB | lab(20.72, 21.04, -44.83) |
| CIE-LCH | lch(20.72, 49.52, 295.14°) |
| OKLab | oklab(32.45% -0.0084 -0.1296) |
| OKLCH | oklch(32.45% 0.13 266.3) |
| XYZ | xyz(4.3829, 3.1710, 17.2072) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.16
Midnight Blue
#191970
ΔE00 5.82
Marine Blue
#01386A
ΔE00 7.01
Royal
#0C1793
ΔE00 8.00
Navy Blue
#1B2A4A
ΔE00 8.23
Darkish Blue
#014182
ΔE00 8.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152B75 #755F15
analogous
#155B75 #152B75 #2F1575
triadic
#152B75 #75152B #2B7515
tetradic
#152B75 #75155B #755F15 #15752F
square
#152B75 #75155B #755F15 #15752F
split-complementary
#152B75 #752F15 #5B7515
monochromatic
#050A1A #0C1841 #152B75 #1E3EA9 #2B53D9
Accessibility & contrast
On white
12.85
#152B75 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#152B75 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152B75
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152B75 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152B75 | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #152b75; /* rgb */ color: rgb(21, 43, 117); /* oklch */ color: oklch(32.4% 0.130 266.3);
Tailwind
colors: {
custom: {
50: '#64649d',
500: '#152b75',
950: '#000000',
},
}SCSS
$custom: #152b75; $custom-light: #64649d; $custom-dark: #000000;
JSON
{
"hex": "#152b75",
"rgb": {
"r": 21,
"g": 43,
"b": 117
},
"hsl": {
"h": 226.25,
"s": 69.565,
"l": 27.059
},
"oklch": {
"l": 0.32447,
"c": 0.12987,
"h": 266.3
},
"luminance": 0.03172
}Semantic roles & 50–950 ramp
primary
#152B75
secondary
#AB913B
accent
#C43BEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E