#1E3791#1E3791
#1E3791 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.151 H 266.8°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1E3791 |
|---|---|
| RGB | rgb(30, 55, 145) |
| HSL | hsl(227, 66%, 34%) |
| HSV | hsv(227, 79%, 57%) |
| CMYK | cmyk(79.3%, 62.1%, 0%, 43.1%) |
| CIE-LAB | lab(26.88, 24.85, -52.32) |
| CIE-LCH | lch(26.88, 57.92, 295.41°) |
| OKLab | oklab(37.91% -0.0084 -0.1512) |
| OKLCH | oklch(37.91% 0.151 266.8) |
| XYZ | xyz(7.0107, 5.0519, 27.3882) |
| Luminance | 0.0505 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.92
Blueberry
#464196
ΔE00 5.86
Cobalt (survey)
#1E488F
ΔE00 6.24
Cobalt
#0047AB
ΔE00 6.26
Darkish Blue
#014182
ΔE00 6.43
Darkslateblue
#483D8B
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E3791 #91781E
analogous
#1E7091 #1E3791 #3F1E91
triadic
#1E3791 #911E37 #37911E
tetradic
#1E3791 #911E70 #91781E #1E913F
square
#1E3791 #911E70 #91781E #1E913F
split-complementary
#1E3791 #913F1E #70911E
monochromatic
#09112C #14245E #1E3791 #284AC4 #4F6DDB
Accessibility & contrast
On white
10.44
#1E3791 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#1E3791 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E3791
10.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E3791 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E3791 | 1.00 | 10.44 | 2.01 | 10.44 |
| #FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003A8F
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1e3791; /* rgb */ color: rgb(30, 55, 145); /* oklch */ color: oklch(37.9% 0.151 266.8);
Tailwind
colors: {
custom: {
50: '#6d6db2',
500: '#1e3791',
950: '#000000',
},
}SCSS
$custom: #1e3791; $custom-light: #6d6db2; $custom-dark: #000000;
JSON
{
"hex": "#1e3791",
"rgb": {
"r": 30,
"g": 55,
"b": 145
},
"hsl": {
"h": 226.957,
"s": 65.714,
"l": 34.314
},
"oklch": {
"l": 0.37912,
"c": 0.15146,
"h": 266.8
},
"luminance": 0.05053
}Semantic roles & 50–950 ramp
primary
#1E3791
secondary
#BDA54D
accent
#C43FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80