#181979#181979
#181979 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.8% C 0.156 H 271.4°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).
Color values
| HEX | #181979 |
|---|---|
| RGB | rgb(24, 25, 121) |
| HSL | hsl(239, 67%, 28%) |
| HSV | hsv(239, 80%, 47%) |
| CMYK | cmyk(80.2%, 79.3%, 0%, 52.5%) |
| CIE-LAB | lab(16.84, 34.85, -53.75) |
| CIE-LCH | lch(16.84, 64.06, 302.95°) |
| OKLab | oklab(29.8% 0.0039 -0.1556) |
| OKLCH | oklch(29.8% 0.156 271.4) |
| XYZ | xyz(4.1743, 2.2695, 18.3035) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.48
Royal
#0C1793
ΔE00 3.90
Dark Royal Blue
#02066F
ΔE00 4.12
Deep Blue
#040273
ΔE00 4.57
Navy
#000080
ΔE00 4.77
Darkblue (survey)
#030764
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181979 #797818
analogous
#184979 #181979 #471879
triadic
#181979 #791819 #197918
tetradic
#181979 #791849 #797818 #187947
square
#181979 #791849 #797818 #187947
split-complementary
#181979 #794718 #497918
monochromatic
#05051A #0E0E46 #181979 #2224AC #3536D7
Accessibility & contrast
On white
14.44
#181979 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#181979 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181979
14.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181979 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181979 | 1.00 | 14.44 | 1.45 | 14.44 |
| #FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003648
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #181979; /* rgb */ color: rgb(24, 25, 121); /* oklch */ color: oklch(29.8% 0.156 271.4);
Tailwind
colors: {
custom: {
50: '#6857a1',
500: '#181979',
950: '#000000',
},
}SCSS
$custom: #181979; $custom-light: #6857a1; $custom-dark: #000000;
JSON
{
"hex": "#181979",
"rgb": {
"r": 24,
"g": 25,
"b": 121
},
"hsl": {
"h": 239.381,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.29801,
"c": 0.15568,
"h": 271.4
},
"luminance": 0.0227
}Semantic roles & 50–950 ramp
primary
#181979
secondary
#AEAD3F
accent
#E83EEA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F