#181576#181576
#181576 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.9% C 0.156 H 272.2°. Best body text is #FFFFFF at 14.92:1 contrast (WCAG AA passes).
Color values
| HEX | #181576 |
|---|---|
| RGB | rgb(24, 21, 118) |
| HSL | hsl(242, 70%, 27%) |
| HSV | hsv(242, 82%, 46%) |
| CMYK | cmyk(79.7%, 82.2%, 0%, 53.7%) |
| CIE-LAB | lab(15.69, 36.08, -53.74) |
| CIE-LCH | lch(15.69, 64.73, 303.88°) |
| OKLab | oklab(28.88% 0.0061 -0.1555) |
| OKLCH | oklch(28.88% 0.156 272.2) |
| XYZ | xyz(3.9138, 2.0381, 17.3232) |
| Luminance | 0.0204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.57
Dark Royal Blue
#02066F
ΔE00 3.19
Deep Blue
#040273
ΔE00 3.66
Darkblue (survey)
#030764
ΔE00 3.93
Navy
#000080
ΔE00 4.08
Royal
#0C1793
ΔE00 4.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181576 #737615
analogous
#154276 #181576 #491576
triadic
#181576 #761815 #157618
tetradic
#181576 #761542 #737615 #157649
square
#181576 #761542 #737615 #157649
split-complementary
#181576 #764915 #427615
monochromatic
#05051A #0D0C42 #181576 #231EAA #312CD9
Accessibility & contrast
On white
14.92
#181576 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#181576 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181576
14.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181576 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181576 | 1.00 | 14.92 | 1.41 | 14.92 |
| #FFFFFF | 14.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C79
Deuteranopia (green-blind)
#002274
Tritanopia (blue-blind)
#003345
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #181576; /* rgb */ color: rgb(24, 21, 118); /* oklch */ color: oklch(28.9% 0.156 272.2);
Tailwind
colors: {
custom: {
50: '#68559f',
500: '#181576',
950: '#000000',
},
}SCSS
$custom: #181576; $custom-light: #68559f; $custom-dark: #000000;
JSON
{
"hex": "#181576",
"rgb": {
"r": 24,
"g": 21,
"b": 118
},
"hsl": {
"h": 241.856,
"s": 69.784,
"l": 27.255
},
"oklch": {
"l": 0.28883,
"c": 0.15566,
"h": 272.2
},
"luminance": 0.02039
}Semantic roles & 50–950 ramp
primary
#181576
secondary
#A8AC3B
accent
#ED3BE7
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E