#181A84#181A84
#181A84 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.169 H 270.5°. Best body text is #FFFFFF at 13.82:1 contrast (WCAG AA passes).
Color values
| HEX | #181A84 |
|---|---|
| RGB | rgb(24, 26, 132) |
| HSL | hsl(239, 69%, 31%) |
| HSV | hsv(239, 82%, 52%) |
| CMYK | cmyk(81.8%, 80.3%, 0%, 48.2%) |
| CIE-LAB | lab(18.36, 38.12, -58.24) |
| CIE-LCH | lch(18.36, 69.61, 303.20°) |
| OKLab | oklab(31.25% 0.0013 -0.1687) |
| OKLCH | oklch(31.25% 0.169 270.5) |
| XYZ | xyz(4.9095, 2.5984, 22.0681) |
| Luminance | 0.0260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.29
Midnight Blue
#191970
ΔE00 3.15
Darkblue
#00008B
ΔE00 4.46
Navy
#000080
ΔE00 4.67
Dark Royal Blue
#02066F
ΔE00 4.95
Deep Blue
#040273
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181A84 #848218
analogous
#185084 #181A84 #4C1884
triadic
#181A84 #84181A #1A8418
tetradic
#181A84 #841850 #848218 #18844C
square
#181A84 #841850 #848218 #18844C
split-complementary
#181A84 #844C18 #508418
monochromatic
#05061C #0F1050 #181A84 #2124B8 #3B3EDB
Accessibility & contrast
On white
13.82
#181A84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#181A84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181A84
13.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181A84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181A84 | 1.00 | 13.82 | 1.52 | 13.82 |
| #FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003287
Deuteranopia (green-blind)
#002782
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #181a84; /* rgb */ color: rgb(24, 26, 132); /* oklch */ color: oklch(31.3% 0.169 270.5);
Tailwind
colors: {
custom: {
50: '#6b59a9',
500: '#181a84',
950: '#000000',
},
}SCSS
$custom: #181a84; $custom-light: #6b59a9; $custom-dark: #000000;
JSON
{
"hex": "#181a84",
"rgb": {
"r": 24,
"g": 26,
"b": 132
},
"hsl": {
"h": 238.889,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.31253,
"c": 0.16868,
"h": 270.5
},
"luminance": 0.02599
}Semantic roles & 50–950 ramp
primary
#181A84
secondary
#B8B640
accent
#E93CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F