#181779#181779
#181779 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 29.5% C 0.158 H 271.7°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).
Color values
| HEX | #181779 |
|---|---|
| RGB | rgb(24, 23, 121) |
| HSL | hsl(241, 68%, 28%) |
| HSV | hsv(241, 81%, 47%) |
| CMYK | cmyk(80.2%, 81%, 0%, 52.5%) |
| CIE-LAB | lab(16.44, 36.00, -54.42) |
| CIE-LCH | lch(16.44, 65.25, 303.48°) |
| OKLab | oklab(29.52% 0.0047 -0.1575) |
| OKLCH | oklch(29.52% 0.158 271.7) |
| XYZ | xyz(4.1331, 2.1870, 18.2898) |
| Luminance | 0.0219 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.67
Dark Royal Blue
#02066F
ΔE00 3.69
Royal
#0C1793
ΔE00 3.82
Deep Blue
#040273
ΔE00 4.11
Navy
#000080
ΔE00 4.30
Darkblue (survey)
#030764
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181779 #787917
analogous
#174779 #181779 #491779
triadic
#181779 #791817 #177918
tetradic
#181779 #791747 #787917 #177949
square
#181779 #791747 #787917 #177949
split-complementary
#181779 #794917 #477917
monochromatic
#05051A #0E0D46 #181779 #2221AC #3432D8
Accessibility & contrast
On white
14.61
#181779 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.44
#181779 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181779
14.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181779 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181779 | 1.00 | 14.61 | 1.44 | 14.61 |
| #FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002477
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#292929
Design tokens & code
CSS
--color: #181779; /* rgb */ color: rgb(24, 23, 121); /* oklch */ color: oklch(29.5% 0.158 271.7);
Tailwind
colors: {
custom: {
50: '#6856a1',
500: '#181779',
950: '#000000',
},
}SCSS
$custom: #181779; $custom-light: #6856a1; $custom-dark: #000000;
JSON
{
"hex": "#181779",
"rgb": {
"r": 24,
"g": 23,
"b": 121
},
"hsl": {
"h": 240.612,
"s": 68.056,
"l": 28.235
},
"oklch": {
"l": 0.29518,
"c": 0.15761,
"h": 271.7
},
"luminance": 0.02187
}Semantic roles & 50–950 ramp
primary
#181779
secondary
#ADAE3E
accent
#EB3DE9
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F