#1E1E8A#1E1E8A
#1E1E8A is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.8% C 0.171 H 271.9°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1E8A |
|---|---|
| RGB | rgb(30, 30, 138) |
| HSL | hsl(240, 64%, 33%) |
| HSV | hsv(240, 78%, 54%) |
| CMYK | cmyk(78.3%, 78.3%, 0%, 45.9%) |
| CIE-LAB | lab(20.20, 38.36, -58.96) |
| CIE-LCH | lch(20.20, 70.34, 303.05°) |
| OKLab | oklab(32.85% 0.0057 -0.1707) |
| OKLCH | oklch(32.85% 0.171 271.9) |
| XYZ | xyz(5.5856, 3.0389, 24.3320) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.15
Midnight Blue
#191970
ΔE00 4.10
Cobalt Blue
#030AA7
ΔE00 5.02
Darkblue
#00008B
ΔE00 5.20
Royal Blue (survey)
#0504AA
ΔE00 5.61
Navy
#000080
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1E8A #8A8A1E
analogous
#1E548A #1E1E8A #541E8A
triadic
#1E1E8A #8A1E1E #1E8A1E
tetradic
#1E1E8A #8A1E54 #8A8A1E #1E8A54
square
#1E1E8A #8A1E54 #8A8A1E #1E8A54
split-complementary
#1E1E8A #8A541E #548A1E
monochromatic
#080825 #131358 #1E1E8A #2929BC #4B4BD8
Accessibility & contrast
On white
13.06
#1E1E8A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#1E1E8A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1E8A
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1E8A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1E8A | 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)
#00368D
Deuteranopia (green-blind)
#002B88
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #1e1e8a; /* rgb */ color: rgb(30, 30, 138); /* oklch */ color: oklch(32.8% 0.171 271.9);
Tailwind
colors: {
custom: {
50: '#6e5cad',
500: '#1e1e8a',
950: '#000000',
},
}SCSS
$custom: #1e1e8a; $custom-light: #6e5cad; $custom-dark: #000000;
JSON
{
"hex": "#1e1e8a",
"rgb": {
"r": 30,
"g": 30,
"b": 138
},
"hsl": {
"h": 240,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.32849,
"c": 0.17075,
"h": 271.9
},
"luminance": 0.0304
}Semantic roles & 50–950 ramp
primary
#1E1E8A
secondary
#BABA4A
accent
#E741E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F