#152176#152176
#152176 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.6% C 0.144 H 269.0°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #152176 |
|---|---|
| RGB | rgb(21, 33, 118) |
| HSL | hsl(233, 70%, 27%) |
| HSV | hsv(233, 82%, 46%) |
| CMYK | cmyk(82.2%, 72%, 0%, 53.7%) |
| CIE-LAB | lab(18.16, 28.41, -49.65) |
| CIE-LCH | lch(18.16, 57.21, 299.78°) |
| OKLab | oklab(30.6% -0.0025 -0.1438) |
| OKLCH | oklch(30.6% 0.144 269) |
| XYZ | xyz(4.1220, 2.5547, 17.4119) |
| Luminance | 0.0255 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.47
Royal
#0C1793
ΔE00 5.40
Dark Royal Blue
#02066F
ΔE00 6.27
Darkblue (survey)
#030764
ΔE00 6.50
Deep Blue
#040273
ΔE00 6.92
Navy
#000080
ΔE00 7.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#152176 #766A15
analogous
#155276 #152176 #391576
triadic
#152176 #761521 #217615
tetradic
#152176 #761552 #766A15 #157639
square
#152176 #761552 #766A15 #157639
split-complementary
#152176 #763915 #527615
monochromatic
#05071A #0C1242 #152176 #1E30AA #2C41D9
Accessibility & contrast
On white
13.90
#152176 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#152176 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #152176
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##152176 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##152176 | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #152176; /* rgb */ color: rgb(21, 33, 118); /* oklch */ color: oklch(30.6% 0.144 269.0);
Tailwind
colors: {
custom: {
50: '#655c9e',
500: '#152176',
950: '#000000',
},
}SCSS
$custom: #152176; $custom-light: #655c9e; $custom-dark: #000000;
JSON
{
"hex": "#152176",
"rgb": {
"r": 21,
"g": 33,
"b": 118
},
"hsl": {
"h": 232.577,
"s": 69.784,
"l": 27.255
},
"oklch": {
"l": 0.30603,
"c": 0.14382,
"h": 269
},
"luminance": 0.02555
}Semantic roles & 50–950 ramp
primary
#152176
secondary
#AC9E3B
accent
#D73BED
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E