#1E2786#1E2786
#1E2786 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.8% C 0.156 H 270.7°. Best body text is #FFFFFF at 12.43:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2786 |
|---|---|
| RGB | rgb(30, 39, 134) |
| HSL | hsl(235, 63%, 32%) |
| HSV | hsv(235, 78%, 53%) |
| CMYK | cmyk(77.6%, 70.9%, 0%, 47.5%) |
| CIE-LAB | lab(21.75, 31.39, -53.88) |
| CIE-LCH | lch(21.75, 62.36, 300.22°) |
| OKLab | oklab(33.83% 0.002 -0.1559) |
| OKLCH | oklch(33.83% 0.156 270.7) |
| XYZ | xyz(5.5626, 3.4477, 22.9219) |
| Luminance | 0.0345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 4.54
Midnight Blue
#191970
ΔE00 4.62
Sapphire (survey)
#2138AB
ΔE00 6.69
Cobalt Blue
#030AA7
ΔE00 7.26
Darkblue
#00008B
ΔE00 7.73
Royal Blue (survey)
#0504AA
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2786 #867D1E
analogous
#1E5B86 #1E2786 #491E86
triadic
#1E2786 #861E27 #27861E
tetradic
#1E2786 #861E5B #867D1E #1E8649
square
#1E2786 #861E5B #867D1E #1E8649
split-complementary
#1E2786 #86491E #5B861E
monochromatic
#080A22 #131854 #1E2786 #2936B8 #4855D6
Accessibility & contrast
On white
12.43
#1E2786 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1E2786 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2786
12.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2786 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2786 | 1.00 | 12.43 | 1.69 | 12.43 |
| #FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003989
Deuteranopia (green-blind)
#002F84
Tritanopia (blue-blind)
#004153
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1e2786; /* rgb */ color: rgb(30, 39, 134); /* oklch */ color: oklch(33.8% 0.156 270.7);
Tailwind
colors: {
custom: {
50: '#6c61aa',
500: '#1e2786',
950: '#000000',
},
}SCSS
$custom: #1e2786; $custom-light: #6c61aa; $custom-dark: #000000;
JSON
{
"hex": "#1e2786",
"rgb": {
"r": 30,
"g": 39,
"b": 134
},
"hsl": {
"h": 234.808,
"s": 63.415,
"l": 32.157
},
"oklch": {
"l": 0.33831,
"c": 0.15595,
"h": 270.7
},
"luminance": 0.03448
}Semantic roles & 50–950 ramp
primary
#1E2786
secondary
#B8AF47
accent
#D841E6
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F