#152C72#152C72
#152C72 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.124 H 265.8°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #152C72 |
|---|---|
| RGB | rgb(21, 44, 114) |
| HSL | hsl(225, 69%, 26%) |
| HSV | hsv(225, 82%, 45%) |
| CMYK | cmyk(81.6%, 61.4%, 0%, 55.3%) |
| CIE-LAB | lab(20.73, 19.08, -42.88) |
| CIE-LCH | lch(20.73, 46.93, 293.99°) |
| OKLab | oklab(32.38% -0.0092 -0.1239) |
| OKLCH | oklch(32.38% 0.124 265.8) |
| XYZ | xyz(4.2461, 3.1752, 16.3054) |
| Luminance | 0.0318 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 4.49
Midnight Blue
#191970
ΔE00 6.38
Marine Blue
#01386A
ΔE00 6.46
Navy Blue
#1B2A4A
ΔE00 7.66
Darkish Blue
#014182
ΔE00 8.02
Royal
#0C1793
ΔE00 8.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152C72 #725B15
analogous
#155B72 #152C72 #2D1572
triadic
#152C72 #72152C #2C7215
tetradic
#152C72 #72155B #725B15 #15722D
square
#152C72 #72155B #725B15 #15722D
split-complementary
#152C72 #722D15 #5B7215
monochromatic
#050A1A #0B183E #152C72 #1F40A6 #2A55D8
Accessibility & contrast
On white
12.84
#152C72 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#152C72 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152C72
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152C72 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152C72 | 1.00 | 12.84 | 1.64 | 12.84 |
| #FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003674
Deuteranopia (green-blind)
#002E71
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #152c72; /* rgb */ color: rgb(21, 44, 114); /* oklch */ color: oklch(32.4% 0.124 265.8);
Tailwind
colors: {
custom: {
50: '#63649b',
500: '#152c72',
950: '#000000',
},
}SCSS
$custom: #152c72; $custom-light: #63649b; $custom-dark: #000000;
JSON
{
"hex": "#152c72",
"rgb": {
"r": 21,
"g": 44,
"b": 114
},
"hsl": {
"h": 225.161,
"s": 68.889,
"l": 26.471
},
"oklch": {
"l": 0.32376,
"c": 0.1242,
"h": 265.8
},
"luminance": 0.03176
}Semantic roles & 50–950 ramp
primary
#152C72
secondary
#A88D3B
accent
#C03CEC
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E