#181790#181790
#181790 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 32.3% C 0.186 H 269.9°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).
Color values
| HEX | #181790 |
|---|---|
| RGB | rgb(24, 23, 144) |
| HSL | hsl(240, 72%, 33%) |
| HSV | hsv(240, 84%, 56%) |
| CMYK | cmyk(83.3%, 84%, 0%, 43.5%) |
| CIE-LAB | lab(19.31, 43.70, -64.19) |
| CIE-LCH | lch(19.31, 77.65, 304.25°) |
| OKLab | oklab(32.35% -0.0004 -0.1858) |
| OKLCH | oklch(32.35% 0.186 269.9) |
| XYZ | xyz(5.7154, 2.8199, 26.6232) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 0.70
Cobalt Blue
#030AA7
ΔE00 3.42
Darkblue
#00008B
ΔE00 3.68
Royal Blue (survey)
#0504AA
ΔE00 3.98
Navy
#000080
ΔE00 4.52
Ultramarine
#2000B1
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#181790 #8F9017
analogous
#175290 #181790 #551790
triadic
#181790 #901817 #179018
tetradic
#181790 #901752 #8F9017 #179055
square
#181790 #901752 #8F9017 #179055
split-complementary
#181790 #905517 #529017
monochromatic
#060626 #0F0F5B #181790 #211FC5 #4241E1
Accessibility & contrast
On white
13.43
#181790 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#181790 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #181790
13.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##181790 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##181790 | 1.00 | 13.43 | 1.56 | 13.43 |
| #FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#00288E
Tritanopia (blue-blind)
#003E55
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #181790; /* rgb */ color: rgb(24, 23, 144); /* oklch */ color: oklch(32.3% 0.186 269.9);
Tailwind
colors: {
custom: {
50: '#6f58b2',
500: '#181790',
950: '#000000',
},
}SCSS
$custom: #181790; $custom-light: #6f58b2; $custom-dark: #000000;
JSON
{
"hex": "#181790",
"rgb": {
"r": 24,
"g": 23,
"b": 144
},
"hsl": {
"h": 240.496,
"s": 72.455,
"l": 32.745
},
"oklch": {
"l": 0.32346,
"c": 0.18582,
"h": 269.9
},
"luminance": 0.02821
}Semantic roles & 50–950 ramp
primary
#181790
secondary
#C0C142
accent
#EF39EE
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090311
muted
#7B7880