#1E2A89#1E2A89
#1E2A89 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.7% C 0.156 H 270.0°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2A89 |
|---|---|
| RGB | rgb(30, 42, 137) |
| HSL | hsl(233, 64%, 33%) |
| HSV | hsv(233, 78%, 54%) |
| CMYK | cmyk(78.1%, 69.3%, 0%, 46.3%) |
| CIE-LAB | lab(22.78, 30.55, -54.07) |
| CIE-LCH | lch(22.78, 62.10, 299.47°) |
| OKLab | oklab(34.67% 0 -0.1565) |
| OKLCH | oklch(34.67% 0.156 270) |
| XYZ | xyz(5.8772, 3.7374, 24.0737) |
| Luminance | 0.0374 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.11
Midnight Blue
#191970
ΔE00 5.50
Sapphire (survey)
#2138AB
ΔE00 5.89
Darkslateblue
#483D8B
ΔE00 7.45
Cobalt Blue
#030AA7
ΔE00 7.65
Blueberry
#464196
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2A89 #897D1E
analogous
#1E5F89 #1E2A89 #471E89
triadic
#1E2A89 #891E2A #2A891E
tetradic
#1E2A89 #891E5F #897D1E #1E8947
square
#1E2A89 #891E5F #897D1E #1E8947
split-complementary
#1E2A89 #89471E #5F891E
monochromatic
#080B25 #131B57 #1E2A89 #2939BB #4A5AD7
Accessibility & contrast
On white
12.02
#1E2A89 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.75
#1E2A89 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2A89
12.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2A89 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2A89 | 1.00 | 12.02 | 1.75 | 12.02 |
| #FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8C
Deuteranopia (green-blind)
#003187
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1e2a89; /* rgb */ color: rgb(30, 42, 137); /* oklch */ color: oklch(34.7% 0.156 270.0);
Tailwind
colors: {
custom: {
50: '#6d63ac',
500: '#1e2a89',
950: '#000000',
},
}SCSS
$custom: #1e2a89; $custom-light: #6d63ac; $custom-dark: #000000;
JSON
{
"hex": "#1e2a89",
"rgb": {
"r": 30,
"g": 42,
"b": 137
},
"hsl": {
"h": 233.271,
"s": 64.072,
"l": 32.745
},
"oklch": {
"l": 0.34669,
"c": 0.15647,
"h": 270
},
"luminance": 0.03738
}Semantic roles & 50–950 ramp
primary
#1E2A89
secondary
#BAAD49
accent
#D441E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F