#152C90#152C90
#152C90 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.166 H 266.6°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).
Color values
| HEX | #152C90 |
|---|---|
| RGB | rgb(21, 44, 144) |
| HSL | hsl(229, 75%, 32%) |
| HSV | hsv(229, 85%, 56%) |
| CMYK | cmyk(85.4%, 69.4%, 0%, 43.5%) |
| CIE-LAB | lab(23.58, 31.11, -57.12) |
| CIE-LCH | lch(23.58, 65.04, 298.57°) |
| OKLab | oklab(35.35% -0.0097 -0.1655) |
| OKLCH | oklch(35.35% 0.166 266.6) |
| XYZ | xyz(6.2422, 3.9736, 26.8181) |
| Luminance | 0.0397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.86
Royal
#0C1793
ΔE00 5.42
Midnight Blue
#191970
ΔE00 6.63
Blueberry
#464196
ΔE00 7.65
Cobalt Blue
#030AA7
ΔE00 7.65
Darkslateblue
#483D8B
ΔE00 7.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152C90 #907915
analogous
#156A90 #152C90 #3B1590
triadic
#152C90 #90152C #2C9015
tetradic
#152C90 #90156A #907915 #15903B
square
#152C90 #90156A #907915 #15903B
split-complementary
#152C90 #903B15 #6A9015
monochromatic
#050B25 #0D1C5B #152C90 #1D3CC5 #3D5CE3
Accessibility & contrast
On white
11.70
#152C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#152C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152C90
11.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152C90 | 1.00 | 11.70 | 1.79 | 11.70 |
| #FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #152c90; /* rgb */ color: rgb(21, 44, 144); /* oklch */ color: oklch(35.4% 0.166 266.6);
Tailwind
colors: {
custom: {
50: '#6c65b2',
500: '#152c90',
950: '#000000',
},
}SCSS
$custom: #152c90; $custom-light: #6c65b2; $custom-dark: #000000;
JSON
{
"hex": "#152c90",
"rgb": {
"r": 21,
"g": 44,
"b": 144
},
"hsl": {
"h": 228.78,
"s": 74.545,
"l": 32.353
},
"oklch": {
"l": 0.35355,
"c": 0.16583,
"h": 266.6
},
"luminance": 0.03974
}Semantic roles & 50–950 ramp
primary
#152C90
secondary
#C2AA3E
accent
#CE37F1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080511
muted
#7B7A80