#181479#181479
#181479 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 29.1% C 0.160 H 272.0°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).
Color values
| HEX | #181479 |
|---|---|
| RGB | rgb(24, 20, 121) |
| HSL | hsl(242, 72%, 28%) |
| HSV | hsv(242, 83%, 47%) |
| CMYK | cmyk(80.2%, 83.5%, 0%, 52.5%) |
| CIE-LAB | lab(15.87, 37.64, -55.36) |
| CIE-LCH | lch(15.87, 66.94, 304.21°) |
| OKLab | oklab(29.12% 0.0057 -0.1602) |
| OKLCH | oklch(29.12% 0.16 272) |
| XYZ | xyz(4.0769, 2.0745, 18.2710) |
| Luminance | 0.0208 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.11
Dark Royal Blue
#02066F
ΔE00 3.14
Deep Blue
#040273
ΔE00 3.46
Navy
#000080
ΔE00 3.66
Royal
#0C1793
ΔE00 3.82
Darkblue (survey)
#030764
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181479 #757914
analogous
#144379 #181479 #4A1479
triadic
#181479 #791814 #147918
tetradic
#181479 #791443 #757914 #14794A
square
#181479 #791443 #757914 #14794A
split-complementary
#181479 #794A14 #437914
monochromatic
#05041A #0E0B44 #181479 #221DAE #322BDC
Accessibility & contrast
On white
14.84
#181479 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.42
#181479 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181479
14.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181479 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181479 | 1.00 | 14.84 | 1.42 | 14.84 |
| #FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002C7C
Deuteranopia (green-blind)
#002277
Tritanopia (blue-blind)
#003447
Achromatopsia (no color)
#272727
Design tokens & code
CSS
--color: #181479; /* rgb */ color: rgb(24, 20, 121); /* oklch */ color: oklch(29.1% 0.160 272.0);
Tailwind
colors: {
custom: {
50: '#6954a1',
500: '#181479',
950: '#000000',
},
}SCSS
$custom: #181479; $custom-light: #6954a1; $custom-dark: #000000;
JSON
{
"hex": "#181479",
"rgb": {
"r": 24,
"g": 20,
"b": 121
},
"hsl": {
"h": 242.376,
"s": 71.631,
"l": 27.647
},
"oklch": {
"l": 0.29122,
"c": 0.16031,
"h": 272
},
"luminance": 0.02075
}Semantic roles & 50–950 ramp
primary
#181479
secondary
#AAAF3A
accent
#EE39E7
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07030F
muted
#7A787F