#1E2389#1E2389
#1E2389 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.5% C 0.164 H 271.3°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2389 |
|---|---|
| RGB | rgb(30, 35, 137) |
| HSL | hsl(237, 64%, 33%) |
| HSV | hsv(237, 78%, 54%) |
| CMYK | cmyk(78.1%, 74.5%, 0%, 46.3%) |
| CIE-LAB | lab(21.15, 35.03, -56.77) |
| CIE-LCH | lch(21.15, 66.70, 301.68°) |
| OKLab | oklab(33.49% 0.0037 -0.1643) |
| OKLCH | oklch(33.49% 0.164 271.3) |
| XYZ | xyz(5.6503, 3.2836, 23.9981) |
| Luminance | 0.0328 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.26
Midnight Blue
#191970
ΔE00 4.31
Cobalt Blue
#030AA7
ΔE00 6.03
Darkblue
#00008B
ΔE00 6.48
Royal Blue (survey)
#0504AA
ΔE00 6.64
Navy
#000080
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2389 #89841E
analogous
#1E5989 #1E2389 #4E1E89
triadic
#1E2389 #891E23 #23891E
tetradic
#1E2389 #891E59 #89841E #1E894E
square
#1E2389 #891E59 #89841E #1E894E
split-complementary
#1E2389 #894E1E #59891E
monochromatic
#080925 #131657 #1E2389 #2930BB #4A51D7
Accessibility & contrast
On white
12.68
#1E2389 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#1E2389 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2389
12.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2389 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2389 | 1.00 | 12.68 | 1.66 | 12.68 |
| #FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#004054
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1e2389; /* rgb */ color: rgb(30, 35, 137); /* oklch */ color: oklch(33.5% 0.164 271.3);
Tailwind
colors: {
custom: {
50: '#6d5fad',
500: '#1e2389',
950: '#000000',
},
}SCSS
$custom: #1e2389; $custom-light: #6d5fad; $custom-dark: #000000;
JSON
{
"hex": "#1e2389",
"rgb": {
"r": 30,
"g": 35,
"b": 137
},
"hsl": {
"h": 237.196,
"s": 64.072,
"l": 32.745
},
"oklch": {
"l": 0.33488,
"c": 0.16437,
"h": 271.3
},
"luminance": 0.03284
}Semantic roles & 50–950 ramp
primary
#1E2389
secondary
#BAB449
accent
#DF41E7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F