#152B70#152B70
#152B70 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.0% C 0.123 H 266.0°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).
Color values
| HEX | #152B70 |
|---|---|
| RGB | rgb(21, 43, 112) |
| HSL | hsl(225, 68%, 26%) |
| HSV | hsv(225, 81%, 44%) |
| CMYK | cmyk(81.2%, 61.6%, 0%, 56.1%) |
| CIE-LAB | lab(20.27, 18.98, -42.34) |
| CIE-LCH | lch(20.27, 46.40, 294.14°) |
| OKLab | oklab(31.98% -0.0085 -0.1223) |
| OKLCH | oklch(31.98% 0.123 266) |
| XYZ | xyz(4.0967, 3.0566, 15.7002) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.47
Midnight Blue
#191970
ΔE00 6.17
Marine Blue
#01386A
ΔE00 6.66
Navy Blue
#1B2A4A
ΔE00 7.46
Darkish Blue
#014182
ΔE00 8.35
Royal
#0C1793
ΔE00 8.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152B70 #705A15
analogous
#155870 #152B70 #2D1570
triadic
#152B70 #70152B #2B7015
tetradic
#152B70 #701558 #705A15 #15702D
square
#152B70 #701558 #705A15 #15702D
split-complementary
#152B70 #702D15 #587015
monochromatic
#050A1A #0B173C #152B70 #1F3FA4 #2953D7
Accessibility & contrast
On white
13.03
#152B70 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#152B70 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152B70
13.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152B70 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152B70 | 1.00 | 13.03 | 1.61 | 13.03 |
| #FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002D6F
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #152b70; /* rgb */ color: rgb(21, 43, 112); /* oklch */ color: oklch(32.0% 0.123 266.0);
Tailwind
colors: {
custom: {
50: '#63639a',
500: '#152b70',
950: '#000000',
},
}SCSS
$custom: #152b70; $custom-light: #63639a; $custom-dark: #000000;
JSON
{
"hex": "#152b70",
"rgb": {
"r": 21,
"g": 43,
"b": 112
},
"hsl": {
"h": 225.495,
"s": 68.421,
"l": 26.078
},
"oklch": {
"l": 0.31975,
"c": 0.12262,
"h": 266
},
"luminance": 0.03057
}Semantic roles & 50–950 ramp
primary
#152B70
secondary
#A68C3B
accent
#C13DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E