#181F77#181F77
#181F77 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.5% C 0.147 H 270.6°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #181F77 |
|---|---|
| RGB | rgb(24, 31, 119) |
| HSL | hsl(236, 66%, 28%) |
| HSV | hsv(236, 80%, 47%) |
| CMYK | cmyk(79.8%, 73.9%, 0%, 53.3%) |
| CIE-LAB | lab(17.94, 30.39, -50.65) |
| CIE-LCH | lch(17.94, 59.07, 300.97°) |
| OKLab | oklab(30.52% 0.0015 -0.1466) |
| OKLCH | oklch(30.52% 0.147 270.6) |
| XYZ | xyz(4.1953, 2.5056, 17.7117) |
| Luminance | 0.0251 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.84
Royal
#0C1793
ΔE00 4.86
Dark Royal Blue
#02066F
ΔE00 5.62
Darkblue (survey)
#030764
ΔE00 5.97
Deep Blue
#040273
ΔE00 6.22
Navy
#000080
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181F77 #777018
analogous
#184E77 #181F77 #401877
triadic
#181F77 #77181F #1F7718
tetradic
#181F77 #77184E #777018 #187740
square
#181F77 #77184E #777018 #187740
split-complementary
#181F77 #774018 #4E7718
monochromatic
#050719 #0E1244 #181F77 #222CAA #333FD6
Accessibility & contrast
On white
13.99
#181F77 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#181F77 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181F77
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181F77 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181F77 | 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)
#00307A
Deuteranopia (green-blind)
#002775
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #181f77; /* rgb */ color: rgb(24, 31, 119); /* oklch */ color: oklch(30.5% 0.147 270.6);
Tailwind
colors: {
custom: {
50: '#675b9f',
500: '#181f77',
950: '#000000',
},
}SCSS
$custom: #181f77; $custom-light: #675b9f; $custom-dark: #000000;
JSON
{
"hex": "#181f77",
"rgb": {
"r": 24,
"g": 31,
"b": 119
},
"hsl": {
"h": 235.579,
"s": 66.434,
"l": 28.039
},
"oklch": {
"l": 0.30519,
"c": 0.14666,
"h": 270.6
},
"luminance": 0.02506
}Semantic roles & 50–950 ramp
primary
#181F77
secondary
#ACA43F
accent
#DD3EE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040F
muted
#7A797E