#181579#181579
#181579 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.3% C 0.159 H 271.9°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).
Color values
| HEX | #181579 |
|---|---|
| RGB | rgb(24, 21, 121) |
| HSL | hsl(242, 70%, 28%) |
| HSV | hsv(242, 83%, 47%) |
| CMYK | cmyk(80.2%, 82.6%, 0%, 52.5%) |
| CIE-LAB | lab(16.06, 37.11, -55.06) |
| CIE-LCH | lch(16.06, 66.39, 303.98°) |
| OKLab | oklab(29.25% 0.0054 -0.1593) |
| OKLCH | oklch(29.25% 0.159 271.9) |
| XYZ | xyz(4.0949, 2.1105, 18.2770) |
| Luminance | 0.0211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.95
Dark Royal Blue
#02066F
ΔE00 3.31
Deep Blue
#040273
ΔE00 3.67
Royal
#0C1793
ΔE00 3.80
Navy
#000080
ΔE00 3.87
Darkblue (survey)
#030764
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181579 #767915
analogous
#154479 #181579 #4A1579
triadic
#181579 #791815 #157918
tetradic
#181579 #791544 #767915 #15794A
square
#181579 #791544 #767915 #15794A
split-complementary
#181579 #794A15 #447915
monochromatic
#05051A #0E0C45 #181579 #221EAD #332EDB
Accessibility & contrast
On white
14.77
#181579 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#181579 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181579
14.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181579 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181579 | 1.00 | 14.77 | 1.42 | 14.77 |
| #FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002D7C
Deuteranopia (green-blind)
#002377
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#282828
Design tokens & code
CSS
--color: #181579; /* rgb */ color: rgb(24, 21, 121); /* oklch */ color: oklch(29.3% 0.159 271.9);
Tailwind
colors: {
custom: {
50: '#6855a1',
500: '#181579',
950: '#000000',
},
}SCSS
$custom: #181579; $custom-light: #6855a1; $custom-dark: #000000;
JSON
{
"hex": "#181579",
"rgb": {
"r": 24,
"g": 21,
"b": 121
},
"hsl": {
"h": 241.8,
"s": 70.423,
"l": 27.843
},
"oklch": {
"l": 0.2925,
"c": 0.15944,
"h": 271.9
},
"luminance": 0.02111
}Semantic roles & 50–950 ramp
primary
#181579
secondary
#ABAF3B
accent
#ED3BE8
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F