#181671#181671
#181671 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.4% C 0.148 H 272.6°. Best body text is #FFFFFF at 15.09:1 contrast (WCAG AA passes).
Color values
| HEX | #181671 |
|---|---|
| RGB | rgb(24, 22, 113) |
| HSL | hsl(241, 67%, 26%) |
| HSV | hsv(241, 81%, 44%) |
| CMYK | cmyk(78.8%, 80.5%, 0%, 55.7%) |
| CIE-LAB | lab(15.28, 33.78, -51.19) |
| CIE-LCH | lch(15.28, 61.33, 303.42°) |
| OKLab | oklab(28.42% 0.0068 -0.1481) |
| OKLCH | oklch(28.42% 0.148 272.6) |
| XYZ | xyz(3.6432, 1.9599, 15.8059) |
| Luminance | 0.0196 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.84
Dark Royal Blue
#02066F
ΔE00 3.38
Darkblue (survey)
#030764
ΔE00 3.69
Deep Blue
#040273
ΔE00 4.03
Navy
#000080
ΔE00 4.76
Royal
#0C1793
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181671 #6F7116
analogous
#164271 #181671 #461671
triadic
#181671 #711816 #167118
tetradic
#181671 #711642 #6F7116 #167146
square
#181671 #711642 #6F7116 #167146
split-complementary
#181671 #714616 #427116
monochromatic
#05051A #0D0C3E #181671 #2320A4 #2F2CD6
Accessibility & contrast
On white
15.09
#181671 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.39
#181671 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181671
15.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181671 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181671 | 1.00 | 15.09 | 1.39 | 15.09 |
| #FFFFFF | 15.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00226F
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#262626
Design tokens & code
CSS
--color: #181671; /* rgb */ color: rgb(24, 22, 113); /* oklch */ color: oklch(28.4% 0.148 272.6);
Tailwind
colors: {
custom: {
50: '#66559b',
500: '#181671',
950: '#000000',
},
}SCSS
$custom: #181671; $custom-light: #66559b; $custom-dark: #000000;
JSON
{
"hex": "#181671",
"rgb": {
"r": 24,
"g": 22,
"b": 113
},
"hsl": {
"h": 241.319,
"s": 67.407,
"l": 26.471
},
"oklch": {
"l": 0.28417,
"c": 0.1483,
"h": 272.6
},
"luminance": 0.0196
}Semantic roles & 50–950 ramp
primary
#181671
secondary
#A5A73C
accent
#EA3EE6
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E