#1E2A7E#1E2A7E
#1E2A7E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.6% C 0.141 H 270.3°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2A7E |
|---|---|
| RGB | rgb(30, 42, 126) |
| HSL | hsl(233, 62%, 31%) |
| HSV | hsv(233, 76%, 49%) |
| CMYK | cmyk(76.2%, 66.7%, 0%, 50.6%) |
| CIE-LAB | lab(21.72, 26.35, -48.90) |
| CIE-LCH | lch(21.72, 55.55, 298.32°) |
| OKLab | oklab(33.57% 0.0008 -0.1414) |
| OKLCH | oklch(33.57% 0.141 270.3) |
| XYZ | xyz(5.1280, 3.4378, 20.1279) |
| Luminance | 0.0344 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.92
Royal
#0C1793
ΔE00 6.24
Sapphire (survey)
#2138AB
ΔE00 7.24
Marine
#042E60
ΔE00 7.27
Darkslateblue
#483D8B
ΔE00 7.57
Blueberry
#464196
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2A7E #7E721E
analogous
#1E5A7E #1E2A7E #421E7E
triadic
#1E2A7E #7E1E2A #2A7E1E
tetradic
#1E2A7E #7E1E5A #7E721E #1E7E42
square
#1E2A7E #7E1E5A #7E721E #1E7E42
split-complementary
#1E2A7E #7E421E #5A7E1E
monochromatic
#06091B #121A4D #1E2A7E #2A3AAF #4456D2
Accessibility & contrast
On white
12.44
#1E2A7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1E2A7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2A7E
12.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2A7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2A7E | 1.00 | 12.44 | 1.69 | 12.44 |
| #FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003981
Deuteranopia (green-blind)
#00307C
Tritanopia (blue-blind)
#004050
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1e2a7e; /* rgb */ color: rgb(30, 42, 126); /* oklch */ color: oklch(33.6% 0.141 270.3);
Tailwind
colors: {
custom: {
50: '#6a63a4',
500: '#1e2a7e',
950: '#000000',
},
}SCSS
$custom: #1e2a7e; $custom-light: #6a63a4; $custom-dark: #000000;
JSON
{
"hex": "#1e2a7e",
"rgb": {
"r": 30,
"g": 42,
"b": 126
},
"hsl": {
"h": 232.5,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.33565,
"c": 0.14136,
"h": 270.3
},
"luminance": 0.03438
}Semantic roles & 50–950 ramp
primary
#1E2A7E
secondary
#B1A447
accent
#D043E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F