#181885#181885
#181885 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 31.1% C 0.172 H 270.6°. Best body text is #FFFFFF at 13.92:1 contrast (WCAG AA passes).
Color values
| HEX | #181885 |
|---|---|
| RGB | rgb(24, 24, 133) |
| HSL | hsl(240, 69%, 31%) |
| HSV | hsv(240, 82%, 52%) |
| CMYK | cmyk(82%, 82%, 0%, 47.8%) |
| CIE-LAB | lab(18.10, 39.56, -59.30) |
| CIE-LCH | lch(18.10, 71.28, 303.70°) |
| OKLab | oklab(31.11% 0.0017 -0.1717) |
| OKLCH | oklch(31.11% 0.172 270.6) |
| XYZ | xyz(4.9355, 2.5403, 22.4160) |
| Luminance | 0.0254 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.04
Midnight Blue
#191970
ΔE00 3.38
Darkblue
#00008B
ΔE00 3.97
Navy
#000080
ΔE00 4.23
Dark Royal Blue
#02066F
ΔE00 4.72
Deep Blue
#040273
ΔE00 4.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181885 #858518
analogous
#184E85 #181885 #4E1885
triadic
#181885 #851818 #188518
tetradic
#181885 #85184E #858518 #18854E
square
#181885 #85184E #858518 #18854E
split-complementary
#181885 #854E18 #4E8518
monochromatic
#05051D #0F0F51 #181885 #2121B9 #3C3CDC
Accessibility & contrast
On white
13.92
#181885 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#181885 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181885
13.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181885 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181885 | 1.00 | 13.92 | 1.51 | 13.92 |
| #FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003288
Deuteranopia (green-blind)
#002683
Tritanopia (blue-blind)
#003A4F
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #181885; /* rgb */ color: rgb(24, 24, 133); /* oklch */ color: oklch(31.1% 0.172 270.6);
Tailwind
colors: {
custom: {
50: '#6b57aa',
500: '#181885',
950: '#000000',
},
}SCSS
$custom: #181885; $custom-light: #6b57aa; $custom-dark: #000000;
JSON
{
"hex": "#181885",
"rgb": {
"r": 24,
"g": 24,
"b": 133
},
"hsl": {
"h": 240,
"s": 69.427,
"l": 30.784
},
"oklch": {
"l": 0.31108,
"c": 0.17171,
"h": 270.6
},
"luminance": 0.02541
}Semantic roles & 50–950 ramp
primary
#181885
secondary
#B9B940
accent
#EC3CEC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F