#181C90#181C90
#181C90 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 33.0% C 0.182 H 269.5°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #181C90 |
|---|---|
| RGB | rgb(24, 28, 144) |
| HSL | hsl(238, 71%, 33%) |
| HSV | hsv(238, 83%, 56%) |
| CMYK | cmyk(83.3%, 80.6%, 0%, 43.5%) |
| CIE-LAB | lab(20.19, 41.12, -62.72) |
| CIE-LCH | lch(20.19, 74.99, 303.25°) |
| OKLab | oklab(32.96% -0.0016 -0.1817) |
| OKLCH | oklch(32.96% 0.182 269.5) |
| XYZ | xyz(5.8243, 3.0376, 26.6595) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.21
Cobalt Blue
#030AA7
ΔE00 4.03
Royal Blue (survey)
#0504AA
ΔE00 4.64
Darkblue
#00008B
ΔE00 4.69
Midnight Blue
#191970
ΔE00 4.89
Navy
#000080
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181C90 #908C18
analogous
#185890 #181C90 #501890
triadic
#181C90 #90181C #1C9018
tetradic
#181C90 #901858 #908C18 #189050
square
#181C90 #901858 #908C18 #189050
split-complementary
#181C90 #905018 #589018
monochromatic
#070827 #0F125C #181C90 #2126C4 #4348E0
Accessibility & contrast
On white
13.06
#181C90 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#181C90 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181C90
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181C90 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181C90 | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002A8E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #181c90; /* rgb */ color: rgb(24, 28, 144); /* oklch */ color: oklch(33.0% 0.182 269.5);
Tailwind
colors: {
custom: {
50: '#6e5bb2',
500: '#181c90',
950: '#000000',
},
}SCSS
$custom: #181c90; $custom-light: #6e5bb2; $custom-dark: #000000;
JSON
{
"hex": "#181c90",
"rgb": {
"r": 24,
"g": 28,
"b": 144
},
"hsl": {
"h": 238,
"s": 71.429,
"l": 32.941
},
"oklch": {
"l": 0.32964,
"c": 0.18167,
"h": 269.5
},
"luminance": 0.03038
}Semantic roles & 50–950 ramp
primary
#181C90
secondary
#C0BC43
accent
#E83AEE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980