#152E72#152E72
#152E72 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.122 H 265.0°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).
Color values
| HEX | #152E72 |
|---|---|
| RGB | rgb(21, 46, 114) |
| HSL | hsl(224, 69%, 26%) |
| HSV | hsv(224, 82%, 45%) |
| CMYK | cmyk(81.6%, 59.6%, 0%, 55.3%) |
| CIE-LAB | lab(21.31, 17.64, -41.93) |
| CIE-LCH | lch(21.31, 45.49, 292.82°) |
| OKLab | oklab(32.81% -0.0106 -0.1211) |
| OKLCH | oklch(32.81% 0.122 265) |
| XYZ | xyz(4.3224, 3.3278, 16.3309) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.02
Marine Blue
#01386A
ΔE00 5.79
Midnight Blue
#191970
ΔE00 7.12
Darkish Blue
#014182
ΔE00 7.34
Navy Blue
#1B2A4A
ΔE00 7.49
Twilight Blue
#0A437A
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152E72 #725915
analogous
#155D72 #152E72 #2B1572
triadic
#152E72 #72152E #2E7215
tetradic
#152E72 #72155D #725915 #15722B
square
#152E72 #72155D #725915 #15722B
split-complementary
#152E72 #722B15 #5D7215
monochromatic
#050A1A #0B193E #152E72 #1F43A6 #2A58D8
Accessibility & contrast
On white
12.61
#152E72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#152E72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152E72
12.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152E72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152E72 | 1.00 | 12.61 | 1.67 | 12.61 |
| #FFFFFF | 12.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#002F71
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #152e72; /* rgb */ color: rgb(21, 46, 114); /* oklch */ color: oklch(32.8% 0.122 265.0);
Tailwind
colors: {
custom: {
50: '#63669b',
500: '#152e72',
950: '#000000',
},
}SCSS
$custom: #152e72; $custom-light: #63669b; $custom-dark: #000000;
JSON
{
"hex": "#152e72",
"rgb": {
"r": 21,
"g": 46,
"b": 114
},
"hsl": {
"h": 223.871,
"s": 68.889,
"l": 26.471
},
"oklch": {
"l": 0.3281,
"c": 0.12153,
"h": 265
},
"luminance": 0.03328
}Semantic roles & 50–950 ramp
primary
#152E72
secondary
#A88B3B
accent
#BD3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E