#1E2189#1E2189
#1E2189 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.2% C 0.166 H 271.6°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2189 |
|---|---|
| RGB | rgb(30, 33, 137) |
| HSL | hsl(238, 64%, 33%) |
| HSV | hsv(238, 78%, 54%) |
| CMYK | cmyk(78.1%, 75.9%, 0%, 46.3%) |
| CIE-LAB | lab(20.71, 36.25, -57.49) |
| CIE-LCH | lch(20.71, 67.96, 302.23°) |
| OKLab | oklab(33.18% 0.0046 -0.1664) |
| OKLCH | oklch(33.18% 0.166 271.6) |
| XYZ | xyz(5.5931, 3.1693, 23.9790) |
| Luminance | 0.0317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.81
Midnight Blue
#191970
ΔE00 4.12
Cobalt Blue
#030AA7
ΔE00 5.65
Darkblue
#00008B
ΔE00 5.96
Royal Blue (survey)
#0504AA
ΔE00 6.25
Navy
#000080
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2189 #89861E
analogous
#1E5689 #1E2189 #511E89
triadic
#1E2189 #891E21 #21891E
tetradic
#1E2189 #891E56 #89861E #1E8951
square
#1E2189 #891E56 #89861E #1E8951
split-complementary
#1E2189 #89511E #56891E
monochromatic
#080925 #131557 #1E2189 #292DBB #4A4ED7
Accessibility & contrast
On white
12.85
#1E2189 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.63
#1E2189 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2189
12.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2189 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2189 | 1.00 | 12.85 | 1.63 | 12.85 |
| #FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1e2189; /* rgb */ color: rgb(30, 33, 137); /* oklch */ color: oklch(33.2% 0.166 271.6);
Tailwind
colors: {
custom: {
50: '#6d5dad',
500: '#1e2189',
950: '#000000',
},
}SCSS
$custom: #1e2189; $custom-light: #6d5dad; $custom-dark: #000000;
JSON
{
"hex": "#1e2189",
"rgb": {
"r": 30,
"g": 33,
"b": 137
},
"hsl": {
"h": 238.318,
"s": 64.072,
"l": 32.745
},
"oklch": {
"l": 0.33177,
"c": 0.16648,
"h": 271.6
},
"luminance": 0.0317
}Semantic roles & 50–950 ramp
primary
#1E2189
secondary
#BAB749
accent
#E241E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F