#1E287D#1E287D
#1E287D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.142 H 270.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).
Color values
| HEX | #1E287D |
|---|---|
| RGB | rgb(30, 40, 125) |
| HSL | hsl(234, 61%, 30%) |
| HSV | hsv(234, 76%, 49%) |
| CMYK | cmyk(76%, 68%, 0%, 51%) |
| CIE-LAB | lab(21.11, 27.33, -49.27) |
| CIE-LCH | lch(21.11, 56.34, 299.02°) |
| OKLab | oklab(33.09% 0.0022 -0.1424) |
| OKLCH | oklch(33.09% 0.142 270.9) |
| XYZ | xyz(4.9946, 3.2738, 19.7667) |
| Luminance | 0.0327 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.32
Royal
#0C1793
ΔE00 5.83
Sapphire (survey)
#2138AB
ΔE00 7.60
Marine
#042E60
ΔE00 7.61
Darkslateblue
#483D8B
ΔE00 7.86
Dark Royal Blue
#02066F
ΔE00 8.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E287D #7D731E
analogous
#1E577D #1E287D #431E7D
triadic
#1E287D #7D1E28 #287D1E
tetradic
#1E287D #7D1E57 #7D731E #1E7D43
square
#1E287D #7D1E57 #7D731E #1E7D43
split-complementary
#1E287D #7D431E #577D1E
monochromatic
#06081A #12184C #1E287D #2A38AE #4352D2
Accessibility & contrast
On white
12.69
#1E287D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.65
#1E287D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E287D
12.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E287D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E287D | 1.00 | 12.69 | 1.65 | 12.69 |
| #FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1e287d; /* rgb */ color: rgb(30, 40, 125); /* oklch */ color: oklch(33.1% 0.142 270.9);
Tailwind
colors: {
custom: {
50: '#6a62a4',
500: '#1e287d',
950: '#000000',
},
}SCSS
$custom: #1e287d; $custom-light: #6a62a4; $custom-dark: #000000;
JSON
{
"hex": "#1e287d",
"rgb": {
"r": 30,
"g": 40,
"b": 125
},
"hsl": {
"h": 233.684,
"s": 61.29,
"l": 30.392
},
"oklch": {
"l": 0.3309,
"c": 0.14246,
"h": 270.9
},
"luminance": 0.03274
}Semantic roles & 50–950 ramp
primary
#1E287D
secondary
#B0A546
accent
#D343E4
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F