#1E297E#1E297E
#1E297E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.143 H 270.6°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).
Color values
| HEX | #1E297E |
|---|---|
| RGB | rgb(30, 41, 126) |
| HSL | hsl(233, 62%, 31%) |
| HSV | hsv(233, 76%, 49%) |
| CMYK | cmyk(76.2%, 67.5%, 0%, 50.6%) |
| CIE-LAB | lab(21.46, 27.04, -49.32) |
| CIE-LCH | lch(21.46, 56.25, 298.73°) |
| OKLab | oklab(33.38% 0.0015 -0.1426) |
| OKLCH | oklch(33.38% 0.143 270.6) |
| XYZ | xyz(5.0930, 3.3677, 20.1162) |
| Luminance | 0.0337 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.63
Royal
#0C1793
ΔE00 5.97
Sapphire (survey)
#2138AB
ΔE00 7.35
Marine
#042E60
ΔE00 7.50
Darkslateblue
#483D8B
ΔE00 7.70
Blueberry
#464196
ΔE00 8.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E297E #7E731E
analogous
#1E597E #1E297E #431E7E
triadic
#1E297E #7E1E29 #297E1E
tetradic
#1E297E #7E1E59 #7E731E #1E7E43
square
#1E297E #7E1E59 #7E731E #1E7E43
split-complementary
#1E297E #7E431E #597E1E
monochromatic
#06091B #12194D #1E297E #2A39AF #4454D2
Accessibility & contrast
On white
12.55
#1E297E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1E297E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E297E
12.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E297E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E297E | 1.00 | 12.55 | 1.67 | 12.55 |
| #FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003881
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1e297e; /* rgb */ color: rgb(30, 41, 126); /* oklch */ color: oklch(33.4% 0.143 270.6);
Tailwind
colors: {
custom: {
50: '#6a62a4',
500: '#1e297e',
950: '#000000',
},
}SCSS
$custom: #1e297e; $custom-light: #6a62a4; $custom-dark: #000000;
JSON
{
"hex": "#1e297e",
"rgb": {
"r": 30,
"g": 41,
"b": 126
},
"hsl": {
"h": 233.125,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.33376,
"c": 0.14261,
"h": 270.6
},
"luminance": 0.03368
}Semantic roles & 50–950 ramp
primary
#1E297E
secondary
#B1A547
accent
#D243E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F