#181F76#181F76
#181F76 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.145 H 270.7°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #181F76 |
|---|---|
| RGB | rgb(24, 31, 118) |
| HSL | hsl(236, 66%, 28%) |
| HSV | hsv(236, 80%, 46%) |
| CMYK | cmyk(79.7%, 73.7%, 0%, 53.7%) |
| CIE-LAB | lab(17.84, 30.02, -50.19) |
| CIE-LCH | lch(17.84, 58.48, 300.88°) |
| OKLab | oklab(30.41% 0.0017 -0.1453) |
| OKLCH | oklch(30.41% 0.145 270.7) |
| XYZ | xyz(4.1356, 2.4817, 17.3971) |
| Luminance | 0.0248 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.79
Royal
#0C1793
ΔE00 5.02
Dark Royal Blue
#02066F
ΔE00 5.64
Darkblue (survey)
#030764
ΔE00 5.93
Deep Blue
#040273
ΔE00 6.26
Navy
#000080
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181F76 #766F18
analogous
#184E76 #181F76 #401876
triadic
#181F76 #76181F #1F7618
tetradic
#181F76 #76184E #766F18 #187640
square
#181F76 #76184E #766F18 #187640
split-complementary
#181F76 #764018 #4E7618
monochromatic
#050719 #0E1243 #181F76 #222CA9 #333FD5
Accessibility & contrast
On white
14.03
#181F76 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#181F76 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181F76
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181F76 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181F76 | 1.00 | 14.03 | 1.50 | 14.03 |
| #FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002774
Tritanopia (blue-blind)
#003748
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #181f76; /* rgb */ color: rgb(24, 31, 118); /* oklch */ color: oklch(30.4% 0.145 270.7);
Tailwind
colors: {
custom: {
50: '#675b9e',
500: '#181f76',
950: '#000000',
},
}SCSS
$custom: #181f76; $custom-light: #675b9e; $custom-dark: #000000;
JSON
{
"hex": "#181f76",
"rgb": {
"r": 24,
"g": 31,
"b": 118
},
"hsl": {
"h": 235.532,
"s": 66.197,
"l": 27.843
},
"oklch": {
"l": 0.30408,
"c": 0.14531,
"h": 270.7
},
"luminance": 0.02482
}Semantic roles & 50–950 ramp
primary
#181F76
secondary
#ABA33F
accent
#DC3FE9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E