#181970#181970
#181970 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.7% C 0.144 H 272.3°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).
Color values
| HEX | #181970 |
|---|---|
| RGB | rgb(24, 25, 112) |
| HSL | hsl(239, 65%, 27%) |
| HSV | hsv(239, 79%, 44%) |
| CMYK | cmyk(78.6%, 77.7%, 0%, 56.1%) |
| CIE-LAB | lab(15.79, 31.62, -49.68) |
| CIE-LCH | lch(15.79, 58.89, 302.47°) |
| OKLab | oklab(28.75% 0.0057 -0.1438) |
| OKLCH | oklch(28.75% 0.144 272.3) |
| XYZ | xyz(3.6480, 2.0589, 15.5312) |
| Luminance | 0.0206 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 0.11
Dark Royal Blue
#02066F
ΔE00 4.15
Darkblue (survey)
#030764
ΔE00 4.27
Deep Blue
#040273
ΔE00 4.85
Royal
#0C1793
ΔE00 5.36
Navy
#000080
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181970 #706F18
analogous
#184570 #181970 #431870
triadic
#181970 #701819 #197018
tetradic
#181970 #701845 #706F18 #187043
square
#181970 #701845 #706F18 #187043
split-complementary
#181970 #704318 #457018
monochromatic
#050619 #0D0E3E #181970 #2324A2 #3032D3
Accessibility & contrast
On white
14.87
#181970 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.41
#181970 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181970
14.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181970 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181970 | 1.00 | 14.87 | 1.41 | 14.87 |
| #FFFFFF | 14.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00236E
Tritanopia (blue-blind)
#003243
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #181970; /* rgb */ color: rgb(24, 25, 112); /* oklch */ color: oklch(28.7% 0.144 272.3);
Tailwind
colors: {
custom: {
50: '#66579a',
500: '#181970',
950: '#000000',
},
}SCSS
$custom: #181970; $custom-light: #66579a; $custom-dark: #000000;
JSON
{
"hex": "#181970",
"rgb": {
"r": 24,
"g": 25,
"b": 112
},
"hsl": {
"h": 239.318,
"s": 64.706,
"l": 26.667
},
"oklch": {
"l": 0.28749,
"c": 0.14391,
"h": 272.3
},
"luminance": 0.02059
}Semantic roles & 50–950 ramp
primary
#181970
secondary
#A5A43E
accent
#E640E8
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07030E
muted
#7A787E