#181A8F#181A8F
#181A8F is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.6% C 0.182 H 269.7°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).
Color values
| HEX | #181A8F |
|---|---|
| RGB | rgb(24, 26, 143) |
| HSL | hsl(239, 71%, 33%) |
| HSV | hsv(239, 83%, 56%) |
| CMYK | cmyk(83.2%, 81.8%, 0%, 43.9%) |
| CIE-LAB | lab(19.70, 41.85, -62.91) |
| CIE-LCH | lch(19.70, 75.56, 303.63°) |
| OKLab | oklab(32.58% -0.0009 -0.1822) |
| OKLCH | oklch(32.58% 0.182 269.7) |
| XYZ | xyz(5.7023, 2.9155, 26.2435) |
| Luminance | 0.0292 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.95
Cobalt Blue
#030AA7
ΔE00 3.87
Darkblue
#00008B
ΔE00 4.25
Royal Blue (survey)
#0504AA
ΔE00 4.46
Midnight Blue
#191970
ΔE00 4.77
Navy
#000080
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181A8F #8F8D18
analogous
#18558F #181A8F #52188F
triadic
#181A8F #8F181A #1A8F18
tetradic
#181A8F #8F1855 #8F8D18 #188F52
square
#181A8F #8F1855 #8F8D18 #188F52
split-complementary
#181A8F #8F5218 #558F18
monochromatic
#060726 #0F105B #181A8F #2124C3 #4245DF
Accessibility & contrast
On white
13.26
#181A8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#181A8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181A8F
13.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181A8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181A8F | 1.00 | 13.26 | 1.58 | 13.26 |
| #FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003692
Deuteranopia (green-blind)
#00298D
Tritanopia (blue-blind)
#003F55
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #181a8f; /* rgb */ color: rgb(24, 26, 143); /* oklch */ color: oklch(32.6% 0.182 269.7);
Tailwind
colors: {
custom: {
50: '#6e59b1',
500: '#181a8f',
950: '#000000',
},
}SCSS
$custom: #181a8f; $custom-light: #6e59b1; $custom-dark: #000000;
JSON
{
"hex": "#181a8f",
"rgb": {
"r": 24,
"g": 26,
"b": 143
},
"hsl": {
"h": 238.992,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.32584,
"c": 0.18219,
"h": 269.7
},
"luminance": 0.02916
}Semantic roles & 50–950 ramp
primary
#181A8F
secondary
#C0BE43
accent
#EB3AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980