#1E2B80#1E2B80
#1E2B80 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.0% C 0.143 H 270.0°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2B80 |
|---|---|
| RGB | rgb(30, 43, 128) |
| HSL | hsl(232, 62%, 31%) |
| HSV | hsv(232, 77%, 50%) |
| CMYK | cmyk(76.6%, 66.4%, 0%, 49.8%) |
| CIE-LAB | lab(22.17, 26.44, -49.43) |
| CIE-LCH | lch(22.17, 56.06, 298.14°) |
| OKLab | oklab(33.95% 0 -0.1429) |
| OKLCH | oklch(33.95% 0.143 270) |
| XYZ | xyz(5.2942, 3.5617, 20.8264) |
| Luminance | 0.0356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.27
Royal
#0C1793
ΔE00 6.29
Sapphire (survey)
#2138AB
ΔE00 6.87
Marine
#042E60
ΔE00 7.31
Darkslateblue
#483D8B
ΔE00 7.40
Blueberry
#464196
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2B80 #80731E
analogous
#1E5C80 #1E2B80 #421E80
triadic
#1E2B80 #801E2B #2B801E
tetradic
#1E2B80 #801E5C #80731E #1E8042
square
#1E2B80 #801E5C #80731E #1E8042
split-complementary
#1E2B80 #80421E #5C801E
monochromatic
#070A1D #121A4E #1E2B80 #2A3CB2 #4558D3
Accessibility & contrast
On white
12.26
#1E2B80 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1E2B80 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2B80
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2B80 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2B80 | 1.00 | 12.26 | 1.71 | 12.26 |
| #FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A83
Deuteranopia (green-blind)
#00307E
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1e2b80; /* rgb */ color: rgb(30, 43, 128); /* oklch */ color: oklch(34.0% 0.143 270.0);
Tailwind
colors: {
custom: {
50: '#6a64a6',
500: '#1e2b80',
950: '#000000',
},
}SCSS
$custom: #1e2b80; $custom-light: #6a64a6; $custom-dark: #000000;
JSON
{
"hex": "#1e2b80",
"rgb": {
"r": 30,
"g": 43,
"b": 128
},
"hsl": {
"h": 232.041,
"s": 62.025,
"l": 30.98
},
"oklch": {
"l": 0.33952,
"c": 0.1429,
"h": 270
},
"luminance": 0.03562
}Semantic roles & 50–950 ramp
primary
#1E2B80
secondary
#B3A547
accent
#D043E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F