#181977#181977
#181977 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.6% C 0.153 H 271.6°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).
Color values
| HEX | #181977 |
|---|---|
| RGB | rgb(24, 25, 119) |
| HSL | hsl(239, 66%, 28%) |
| HSV | hsv(239, 80%, 47%) |
| CMYK | cmyk(79.8%, 79%, 0%, 53.3%) |
| CIE-LAB | lab(16.61, 34.14, -52.86) |
| CIE-LCH | lch(16.61, 62.93, 302.85°) |
| OKLab | oklab(29.57% 0.0043 -0.153) |
| OKLCH | oklch(29.57% 0.153 271.6) |
| XYZ | xyz(4.0530, 2.2209, 17.6643) |
| Luminance | 0.0222 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.16
Dark Royal Blue
#02066F
ΔE00 4.07
Royal
#0C1793
ΔE00 4.21
Deep Blue
#040273
ΔE00 4.59
Darkblue (survey)
#030764
ΔE00 4.66
Navy
#000080
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181977 #777618
analogous
#184977 #181977 #461877
triadic
#181977 #771819 #197718
tetradic
#181977 #771849 #777618 #187746
square
#181977 #771849 #777618 #187746
split-complementary
#181977 #774618 #497718
monochromatic
#050519 #0E0E44 #181977 #2224AA #3335D6
Accessibility & contrast
On white
14.54
#181977 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#181977 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181977
14.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181977 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181977 | 1.00 | 14.54 | 1.44 | 14.54 |
| #FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7A
Deuteranopia (green-blind)
#002475
Tritanopia (blue-blind)
#003547
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #181977; /* rgb */ color: rgb(24, 25, 119); /* oklch */ color: oklch(29.6% 0.153 271.6);
Tailwind
colors: {
custom: {
50: '#67579f',
500: '#181977',
950: '#000000',
},
}SCSS
$custom: #181977; $custom-light: #67579f; $custom-dark: #000000;
JSON
{
"hex": "#181977",
"rgb": {
"r": 24,
"g": 25,
"b": 119
},
"hsl": {
"h": 239.368,
"s": 66.434,
"l": 28.039
},
"oklch": {
"l": 0.29565,
"c": 0.1531,
"h": 271.6
},
"luminance": 0.02221
}Semantic roles & 50–950 ramp
primary
#181977
secondary
#ACAB3F
accent
#E83EE9
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07030F
muted
#7A787E