#181976#181976
#181976 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.4% C 0.152 H 271.7°. Best body text is #FFFFFF at 14.59:1 contrast (WCAG AA passes).
Color values
| HEX | #181976 |
|---|---|
| RGB | rgb(24, 25, 118) |
| HSL | hsl(239, 66%, 28%) |
| HSV | hsv(239, 80%, 46%) |
| CMYK | cmyk(79.7%, 78.8%, 0%, 53.7%) |
| CIE-LAB | lab(16.49, 33.78, -52.41) |
| CIE-LCH | lch(16.49, 62.36, 302.80°) |
| OKLab | oklab(29.45% 0.0045 -0.1517) |
| OKLCH | oklch(29.45% 0.152 271.7) |
| XYZ | xyz(3.9932, 2.1970, 17.3496) |
| Luminance | 0.0220 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.00
Dark Royal Blue
#02066F
ΔE00 4.06
Royal
#0C1793
ΔE00 4.38
Darkblue (survey)
#030764
ΔE00 4.58
Deep Blue
#040273
ΔE00 4.61
Navy
#000080
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181976 #767518
analogous
#184876 #181976 #461876
triadic
#181976 #761819 #197618
tetradic
#181976 #761848 #767518 #187646
square
#181976 #761848 #767518 #187646
split-complementary
#181976 #764618 #487618
monochromatic
#050519 #0E0E43 #181976 #2224A9 #3335D5
Accessibility & contrast
On white
14.59
#181976 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#181976 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181976
14.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181976 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181976 | 1.00 | 14.59 | 1.44 | 14.59 |
| #FFFFFF | 14.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002474
Tritanopia (blue-blind)
#003546
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #181976; /* rgb */ color: rgb(24, 25, 118); /* oklch */ color: oklch(29.4% 0.152 271.7);
Tailwind
colors: {
custom: {
50: '#67579f',
500: '#181976',
950: '#000000',
},
}SCSS
$custom: #181976; $custom-light: #67579f; $custom-dark: #000000;
JSON
{
"hex": "#181976",
"rgb": {
"r": 24,
"g": 25,
"b": 118
},
"hsl": {
"h": 239.362,
"s": 66.197,
"l": 27.843
},
"oklch": {
"l": 0.29448,
"c": 0.1518,
"h": 271.7
},
"luminance": 0.02197
}Semantic roles & 50–950 ramp
primary
#181976
secondary
#ABAA3F
accent
#E73FE9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E