#1E3396#1E3396
#1E3396 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.6% C 0.163 H 267.9°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #1E3396 |
|---|---|
| RGB | rgb(30, 51, 150) |
| HSL | hsl(230, 67%, 35%) |
| HSV | hsv(230, 80%, 59%) |
| CMYK | cmyk(80%, 66%, 0%, 41.2%) |
| CIE-LAB | lab(26.29, 29.50, -56.36) |
| CIE-LCH | lch(26.29, 63.62, 297.63°) |
| OKLab | oklab(37.61% -0.006 -0.1631) |
| OKLCH | oklch(37.61% 0.163 267.9) |
| XYZ | xyz(7.2224, 4.8449, 29.4028) |
| Luminance | 0.0485 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.19
Blueberry
#464196
ΔE00 6.09
Darkslateblue
#483D8B
ΔE00 6.73
Royal
#0C1793
ΔE00 7.18
Cobalt
#0047AB
ΔE00 7.21
Blue Blue
#2242C7
ΔE00 7.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E3396 #96811E
analogous
#1E6F96 #1E3396 #451E96
triadic
#1E3396 #961E33 #33961E
tetradic
#1E3396 #961E6F #96811E #1E9645
square
#1E3396 #961E6F #96811E #1E9645
split-complementary
#1E3396 #96451E #6F961E
monochromatic
#0A1030 #142263 #1E3396 #2844C9 #526ADC
Accessibility & contrast
On white
10.66
#1E3396 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#1E3396 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E3396
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E3396 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E3396 | 1.00 | 10.66 | 1.97 | 10.66 |
| #FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004499
Deuteranopia (green-blind)
#003994
Tritanopia (blue-blind)
#004D5F
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1e3396; /* rgb */ color: rgb(30, 51, 150); /* oklch */ color: oklch(37.6% 0.163 267.9);
Tailwind
colors: {
custom: {
50: '#6f6ab6',
500: '#1e3396',
950: '#000000',
},
}SCSS
$custom: #1e3396; $custom-light: #6f6ab6; $custom-dark: #000000;
JSON
{
"hex": "#1e3396",
"rgb": {
"r": 30,
"g": 51,
"b": 150
},
"hsl": {
"h": 229.5,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.37612,
"c": 0.16323,
"h": 267.9
},
"luminance": 0.04846
}Semantic roles & 50–950 ramp
primary
#1E3396
secondary
#BFAC50
accent
#CC3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80