#1E3397#1E3397
#1E3397 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.7% C 0.165 H 267.9°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).
Color values
| HEX | #1E3397 |
|---|---|
| RGB | rgb(30, 51, 151) |
| HSL | hsl(230, 67%, 35%) |
| HSV | hsv(230, 80%, 59%) |
| CMYK | cmyk(80.1%, 66.2%, 0%, 40.8%) |
| CIE-LAB | lab(26.38, 29.89, -56.82) |
| CIE-LCH | lch(26.38, 64.20, 297.74°) |
| OKLab | oklab(37.71% -0.0061 -0.1645) |
| OKLCH | oklch(37.71% 0.165 267.9) |
| XYZ | xyz(7.3032, 4.8772, 29.8286) |
| Luminance | 0.0488 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.06
Blueberry
#464196
ΔE00 6.09
Darkslateblue
#483D8B
ΔE00 6.76
Royal
#0C1793
ΔE00 7.15
Cobalt
#0047AB
ΔE00 7.18
Blue Blue
#2242C7
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E3397 #97821E
analogous
#1E6F97 #1E3397 #461E97
triadic
#1E3397 #971E33 #33971E
tetradic
#1E3397 #971E6F #97821E #1E9746
square
#1E3397 #971E6F #97821E #1E9746
split-complementary
#1E3397 #97461E #6F971E
monochromatic
#0A1131 #142264 #1E3397 #2844CA #536BDD
Accessibility & contrast
On white
10.63
#1E3397 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#1E3397 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E3397
10.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E3397 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E3397 | 1.00 | 10.63 | 1.98 | 10.63 |
| #FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004E60
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1e3397; /* rgb */ color: rgb(30, 51, 151); /* oklch */ color: oklch(37.7% 0.165 267.9);
Tailwind
colors: {
custom: {
50: '#6f6ab7',
500: '#1e3397',
950: '#000000',
},
}SCSS
$custom: #1e3397; $custom-light: #6f6ab7; $custom-dark: #000000;
JSON
{
"hex": "#1e3397",
"rgb": {
"r": 30,
"g": 51,
"b": 151
},
"hsl": {
"h": 229.587,
"s": 66.851,
"l": 35.49
},
"oklch": {
"l": 0.3771,
"c": 0.16458,
"h": 267.9
},
"luminance": 0.04878
}Semantic roles & 50–950 ramp
primary
#1E3397
secondary
#C0AD51
accent
#CC3EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80