#181F80#181F80
#181F80 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.5% C 0.159 H 270.1°. Best body text is #FFFFFF at 13.58:1 contrast (WCAG AA passes).
Color values
| HEX | #181F80 |
|---|---|
| RGB | rgb(24, 31, 128) |
| HSL | hsl(236, 68%, 30%) |
| HSV | hsv(236, 81%, 50%) |
| CMYK | cmyk(81.3%, 75.8%, 0%, 49.8%) |
| CIE-LAB | lab(18.94, 33.73, -54.75) |
| CIE-LCH | lch(18.94, 64.31, 301.63°) |
| OKLab | oklab(31.53% 0.0002 -0.1586) |
| OKLCH | oklch(31.53% 0.159 270.1) |
| XYZ | xyz(4.7616, 2.7321, 20.6943) |
| Luminance | 0.0273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.75
Royal
#0C1793
ΔE00 3.50
Dark Royal Blue
#02066F
ΔE00 5.74
Darkblue
#00008B
ΔE00 5.93
Navy
#000080
ΔE00 5.99
Deep Blue
#040273
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181F80 #807918
analogous
#185380 #181F80 #451880
triadic
#181F80 #80181F #1F8018
tetradic
#181F80 #801853 #807918 #188045
square
#181F80 #801853 #807918 #188045
split-complementary
#181F80 #804518 #538018
monochromatic
#05061A #0E134C #181F80 #222BB4 #3943DA
Accessibility & contrast
On white
13.58
#181F80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#181F80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181F80
13.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181F80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181F80 | 1.00 | 13.58 | 1.55 | 13.58 |
| #FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#00297E
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #181f80; /* rgb */ color: rgb(24, 31, 128); /* oklch */ color: oklch(31.5% 0.159 270.1);
Tailwind
colors: {
custom: {
50: '#695ba6',
500: '#181f80',
950: '#000000',
},
}SCSS
$custom: #181f80; $custom-light: #695ba6; $custom-dark: #000000;
JSON
{
"hex": "#181f80",
"rgb": {
"r": 24,
"g": 31,
"b": 128
},
"hsl": {
"h": 235.962,
"s": 68.421,
"l": 29.804
},
"oklch": {
"l": 0.31527,
"c": 0.15859,
"h": 270.1
},
"luminance": 0.02733
}Semantic roles & 50–950 ramp
primary
#181F80
secondary
#B4AC40
accent
#E03DEB
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F