#1E2289#1E2289
#1E2289 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.3% C 0.165 H 271.4°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2289 |
|---|---|
| RGB | rgb(30, 34, 137) |
| HSL | hsl(238, 64%, 33%) |
| HSV | hsv(238, 78%, 54%) |
| CMYK | cmyk(78.1%, 75.2%, 0%, 46.3%) |
| CIE-LAB | lab(20.93, 35.64, -57.13) |
| CIE-LCH | lch(20.93, 67.34, 301.96°) |
| OKLab | oklab(33.33% 0.0042 -0.1654) |
| OKLCH | oklch(33.33% 0.165 271.4) |
| XYZ | xyz(5.6213, 3.2256, 23.9884) |
| Luminance | 0.0323 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.03
Midnight Blue
#191970
ΔE00 4.20
Cobalt Blue
#030AA7
ΔE00 5.84
Darkblue
#00008B
ΔE00 6.21
Royal Blue (survey)
#0504AA
ΔE00 6.44
Navy
#000080
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2289 #89851E
analogous
#1E5789 #1E2289 #4F1E89
triadic
#1E2289 #891E22 #22891E
tetradic
#1E2289 #891E57 #89851E #1E894F
square
#1E2289 #891E57 #89851E #1E894F
split-complementary
#1E2289 #894F1E #57891E
monochromatic
#080925 #131657 #1E2289 #292EBB #4A4FD7
Accessibility & contrast
On white
12.76
#1E2289 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1E2289 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2289
12.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2289 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2289 | 1.00 | 12.76 | 1.65 | 12.76 |
| #FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#004053
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1e2289; /* rgb */ color: rgb(30, 34, 137); /* oklch */ color: oklch(33.3% 0.165 271.4);
Tailwind
colors: {
custom: {
50: '#6d5ead',
500: '#1e2289',
950: '#000000',
},
}SCSS
$custom: #1e2289; $custom-light: #6d5ead; $custom-dark: #000000;
JSON
{
"hex": "#1e2289",
"rgb": {
"r": 30,
"g": 34,
"b": 137
},
"hsl": {
"h": 237.757,
"s": 64.072,
"l": 32.745
},
"oklch": {
"l": 0.33331,
"c": 0.16544,
"h": 271.4
},
"luminance": 0.03226
}Semantic roles & 50–950 ramp
primary
#1E2289
secondary
#BAB649
accent
#E141E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F