#152C76#152C76
#152C76 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.8% C 0.130 H 266.0°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).
Color values
| HEX | #152C76 |
|---|---|
| RGB | rgb(21, 44, 118) |
| HSL | hsl(226, 70%, 27%) |
| HSV | hsv(226, 82%, 46%) |
| CMYK | cmyk(82.2%, 62.7%, 0%, 53.7%) |
| CIE-LAB | lab(21.09, 20.74, -44.86) |
| CIE-LCH | lch(21.09, 49.42, 294.81°) |
| OKLab | oklab(32.75% -0.0091 -0.1297) |
| OKLCH | oklch(32.75% 0.13 266) |
| XYZ | xyz(4.4788, 3.2683, 17.5308) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Marine
#042E60
ΔE00 5.05
Midnight Blue
#191970
ΔE00 6.12
Marine Blue
#01386A
ΔE00 6.76
Darkish Blue
#014182
ΔE00 8.07
Royal
#0C1793
ΔE00 8.15
Sapphire (survey)
#2138AB
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152C76 #765F15
analogous
#155D76 #152C76 #2E1576
triadic
#152C76 #76152C #2C7615
tetradic
#152C76 #76155D #765F15 #15762E
square
#152C76 #76155D #765F15 #15762E
split-complementary
#152C76 #762E15 #5D7615
monochromatic
#050A1A #0C1942 #152C76 #1E3FAA #2C55D9
Accessibility & contrast
On white
12.70
#152C76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#152C76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152C76
12.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152C76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152C76 | 1.00 | 12.70 | 1.65 | 12.70 |
| #FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #152c76; /* rgb */ color: rgb(21, 44, 118); /* oklch */ color: oklch(32.8% 0.130 266.0);
Tailwind
colors: {
custom: {
50: '#64649e',
500: '#152c76',
950: '#000000',
},
}SCSS
$custom: #152c76; $custom-light: #64649e; $custom-dark: #000000;
JSON
{
"hex": "#152c76",
"rgb": {
"r": 21,
"g": 44,
"b": 118
},
"hsl": {
"h": 225.773,
"s": 69.784,
"l": 27.255
},
"oklch": {
"l": 0.32752,
"c": 0.13,
"h": 266
},
"luminance": 0.03269
}Semantic roles & 50–950 ramp
primary
#152C76
secondary
#AC913B
accent
#C33BED
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E