#1E3796#1E3796
#1E3796 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.4% C 0.158 H 267.0°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #1E3796 |
|---|---|
| RGB | rgb(30, 55, 150) |
| HSL | hsl(228, 67%, 35%) |
| HSV | hsv(228, 80%, 59%) |
| CMYK | cmyk(80%, 63.3%, 0%, 41.2%) |
| CIE-LAB | lab(27.32, 26.81, -54.67) |
| CIE-LCH | lch(27.32, 60.88, 296.12°) |
| OKLab | oklab(38.38% -0.0084 -0.1581) |
| OKLCH | oklch(38.38% 0.158 267) |
| XYZ | xyz(7.4047, 5.2096, 29.4635) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.15
Blueberry
#464196
ΔE00 5.73
Cobalt
#0047AB
ΔE00 6.05
Cobalt (survey)
#1E488F
ΔE00 6.49
Darkslateblue
#483D8B
ΔE00 6.65
Darkish Blue
#014182
ΔE00 6.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E3796 #967D1E
analogous
#1E7396 #1E3796 #411E96
triadic
#1E3796 #961E37 #37961E
tetradic
#1E3796 #961E73 #967D1E #1E9641
square
#1E3796 #961E73 #967D1E #1E9641
split-complementary
#1E3796 #96411E #73961E
monochromatic
#0A1230 #142463 #1E3796 #284AC9 #526FDC
Accessibility & contrast
On white
10.28
#1E3796 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#1E3796 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E3796
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E3796 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E3796 | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#005061
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #1e3796; /* rgb */ color: rgb(30, 55, 150); /* oklch */ color: oklch(38.4% 0.158 267.0);
Tailwind
colors: {
custom: {
50: '#6f6db6',
500: '#1e3796',
950: '#000000',
},
}SCSS
$custom: #1e3796; $custom-light: #6f6db6; $custom-dark: #000000;
JSON
{
"hex": "#1e3796",
"rgb": {
"r": 30,
"g": 55,
"b": 150
},
"hsl": {
"h": 227.5,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.38376,
"c": 0.15834,
"h": 267
},
"luminance": 0.0521
}Semantic roles & 50–950 ramp
primary
#1E3796
secondary
#BFA850
accent
#C63EEA
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80