#181B84#181B84
#181B84 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.4% C 0.168 H 270.3°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).
Color values
| HEX | #181B84 |
|---|---|
| RGB | rgb(24, 27, 132) |
| HSL | hsl(238, 69%, 31%) |
| HSV | hsv(238, 82%, 52%) |
| CMYK | cmyk(81.8%, 79.5%, 0%, 48.2%) |
| CIE-LAB | lab(18.56, 37.55, -57.92) |
| CIE-LCH | lch(18.56, 69.02, 302.96°) |
| OKLab | oklab(31.39% 0.001 -0.1677) |
| OKLCH | oklch(31.39% 0.168 270.3) |
| XYZ | xyz(4.9321, 2.6434, 22.0756) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.38
Midnight Blue
#191970
ΔE00 3.14
Darkblue
#00008B
ΔE00 4.69
Navy
#000080
ΔE00 4.90
Dark Royal Blue
#02066F
ΔE00 5.13
Deep Blue
#040273
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181B84 #848118
analogous
#185184 #181B84 #4B1884
triadic
#181B84 #84181B #1B8418
tetradic
#181B84 #841851 #848118 #18844B
square
#181B84 #841851 #848118 #18844B
split-complementary
#181B84 #844B18 #518418
monochromatic
#05061C #0F1050 #181B84 #2126B8 #3B3FDB
Accessibility & contrast
On white
13.74
#181B84 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#181B84 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181B84
13.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181B84 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181B84 | 1.00 | 13.74 | 1.53 | 13.74 |
| #FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003387
Deuteranopia (green-blind)
#002882
Tritanopia (blue-blind)
#003B4F
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #181b84; /* rgb */ color: rgb(24, 27, 132); /* oklch */ color: oklch(31.4% 0.168 270.3);
Tailwind
colors: {
custom: {
50: '#6b59a9',
500: '#181b84',
950: '#000000',
},
}SCSS
$custom: #181b84; $custom-light: #6b59a9; $custom-dark: #000000;
JSON
{
"hex": "#181b84",
"rgb": {
"r": 24,
"g": 27,
"b": 132
},
"hsl": {
"h": 238.333,
"s": 69.231,
"l": 30.588
},
"oklch": {
"l": 0.31392,
"c": 0.16773,
"h": 270.3
},
"luminance": 0.02644
}Semantic roles & 50–950 ramp
primary
#181B84
secondary
#B8B540
accent
#E73CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F