#181E79#181E79
#181E79 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.150 H 270.7°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #181E79 |
|---|---|
| RGB | rgb(24, 30, 121) |
| HSL | hsl(236, 67%, 28%) |
| HSV | hsv(236, 80%, 47%) |
| CMYK | cmyk(80.2%, 75.2%, 0%, 52.5%) |
| CIE-LAB | lab(17.93, 31.78, -51.96) |
| CIE-LCH | lch(17.93, 60.91, 301.46°) |
| OKLab | oklab(30.58% 0.0017 -0.1504) |
| OKLCH | oklch(30.58% 0.15 270.7) |
| XYZ | xyz(4.2910, 2.5027, 18.3424) |
| Luminance | 0.0250 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.80
Royal
#0C1793
ΔE00 4.39
Dark Royal Blue
#02066F
ΔE00 5.34
Darkblue (survey)
#030764
ΔE00 5.82
Deep Blue
#040273
ΔE00 5.88
Navy
#000080
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181E79 #797318
analogous
#184E79 #181E79 #421879
triadic
#181E79 #79181E #1E7918
tetradic
#181E79 #79184E #797318 #187942
square
#181E79 #79184E #797318 #187942
split-complementary
#181E79 #794218 #4E7918
monochromatic
#05061A #0E1146 #181E79 #222BAC #353FD7
Accessibility & contrast
On white
13.99
#181E79 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#181E79 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181E79
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181E79 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181E79 | 1.00 | 13.99 | 1.50 | 13.99 |
| #FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002777
Tritanopia (blue-blind)
#003849
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #181e79; /* rgb */ color: rgb(24, 30, 121); /* oklch */ color: oklch(30.6% 0.150 270.7);
Tailwind
colors: {
custom: {
50: '#675aa1',
500: '#181e79',
950: '#000000',
},
}SCSS
$custom: #181e79; $custom-light: #675aa1; $custom-dark: #000000;
JSON
{
"hex": "#181e79",
"rgb": {
"r": 24,
"g": 30,
"b": 121
},
"hsl": {
"h": 236.289,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.30575,
"c": 0.15045,
"h": 270.7
},
"luminance": 0.02503
}Semantic roles & 50–950 ramp
primary
#181E79
secondary
#AEA73F
accent
#DF3EEA
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F