#1E3794#1E3794
#1E3794 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.156 H 266.9°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #1E3794 |
|---|---|
| RGB | rgb(30, 55, 148) |
| HSL | hsl(227, 66%, 35%) |
| HSV | hsv(227, 80%, 58%) |
| CMYK | cmyk(79.7%, 62.8%, 0%, 42%) |
| CIE-LAB | lab(27.15, 26.03, -53.73) |
| CIE-LCH | lch(27.15, 59.70, 295.85°) |
| OKLab | oklab(38.19% -0.0084 -0.1554) |
| OKLCH | oklch(38.19% 0.156 266.9) |
| XYZ | xyz(7.2450, 5.1457, 28.6226) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.46
Blueberry
#464196
ΔE00 5.77
Cobalt
#0047AB
ΔE00 6.13
Cobalt (survey)
#1E488F
ΔE00 6.38
Darkslateblue
#483D8B
ΔE00 6.62
Darkish Blue
#014182
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E3794 #947B1E
analogous
#1E7294 #1E3794 #401E94
triadic
#1E3794 #941E37 #37941E
tetradic
#1E3794 #941E72 #947B1E #1E9440
square
#1E3794 #941E72 #947B1E #1E9440
split-complementary
#1E3794 #94401E #72941E
monochromatic
#09112E #142461 #1E3794 #284AC7 #516EDC
Accessibility & contrast
On white
10.35
#1E3794 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#1E3794 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E3794
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E3794 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E3794 | 1.00 | 10.35 | 2.03 | 10.35 |
| #FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004697
Deuteranopia (green-blind)
#003B92
Tritanopia (blue-blind)
#004F60
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1e3794; /* rgb */ color: rgb(30, 55, 148); /* oklch */ color: oklch(38.2% 0.156 266.9);
Tailwind
colors: {
custom: {
50: '#6e6db4',
500: '#1e3794',
950: '#000000',
},
}SCSS
$custom: #1e3794; $custom-light: #6e6db4; $custom-dark: #000000;
JSON
{
"hex": "#1e3794",
"rgb": {
"r": 30,
"g": 55,
"b": 148
},
"hsl": {
"h": 227.288,
"s": 66.292,
"l": 34.902
},
"oklch": {
"l": 0.3819,
"c": 0.1556,
"h": 266.9
},
"luminance": 0.05147
}Semantic roles & 50–950 ramp
primary
#1E3794
secondary
#BFA74F
accent
#C53FE9
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80