#1E1B8A#1E1B8A
#1E1B8A is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.4% C 0.174 H 272.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1B8A |
|---|---|
| RGB | rgb(30, 27, 138) |
| HSL | hsl(242, 67%, 32%) |
| HSV | hsv(242, 80%, 54%) |
| CMYK | cmyk(78.3%, 80.4%, 0%, 45.9%) |
| CIE-LAB | lab(19.62, 40.04, -59.92) |
| CIE-LCH | lch(19.62, 72.07, 303.75°) |
| OKLab | oklab(32.44% 0.0068 -0.1734) |
| OKLCH | oklch(32.44% 0.174 272.3) |
| XYZ | xyz(5.5133, 2.8943, 24.3079) |
| Luminance | 0.0290 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.74
Midnight Blue
#191970
ΔE00 4.09
Darkblue
#00008B
ΔE00 4.52
Cobalt Blue
#030AA7
ΔE00 4.61
Navy
#000080
ΔE00 5.04
Royal Blue (survey)
#0504AA
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1B8A #878A1B
analogous
#1B4F8A #1E1B8A #561B8A
triadic
#1E1B8A #8A1E1B #1B8A1E
tetradic
#1E1B8A #8A1B4F #878A1B #1B8A56
square
#1E1B8A #8A1B4F #878A1B #1B8A56
split-complementary
#1E1B8A #8A561B #4F8A1B
monochromatic
#080724 #131157 #1E1B8A #2925BD #4945DB
Accessibility & contrast
On white
13.30
#1E1B8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.58
#1E1B8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1B8A
13.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1B8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1B8A | 1.00 | 13.30 | 1.58 | 13.30 |
| #FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00358D
Deuteranopia (green-blind)
#002A88
Tritanopia (blue-blind)
#003D52
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1e1b8a; /* rgb */ color: rgb(30, 27, 138); /* oklch */ color: oklch(32.4% 0.174 272.3);
Tailwind
colors: {
custom: {
50: '#6e5aad',
500: '#1e1b8a',
950: '#000000',
},
}SCSS
$custom: #1e1b8a; $custom-light: #6e5aad; $custom-dark: #000000;
JSON
{
"hex": "#1e1b8a",
"rgb": {
"r": 30,
"g": 27,
"b": 138
},
"hsl": {
"h": 241.622,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.32438,
"c": 0.17356,
"h": 272.3
},
"luminance": 0.02895
}Semantic roles & 50–950 ramp
primary
#1E1B8A
secondary
#B9BC45
accent
#EA3EE6
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F