#1E2F8E#1E2F8E
#1E2F8E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.157 H 268.8°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2F8E |
|---|---|
| RGB | rgb(30, 47, 142) |
| HSL | hsl(231, 65%, 34%) |
| HSV | hsv(231, 79%, 56%) |
| CMYK | cmyk(78.9%, 66.9%, 0%, 44.3%) |
| CIE-LAB | lab(24.52, 29.12, -54.33) |
| CIE-LCH | lch(24.52, 61.64, 298.19°) |
| OKLab | oklab(36.08% -0.0033 -0.1572) |
| OKLCH | oklch(36.08% 0.157 268.8) |
| XYZ | xyz(6.4327, 4.2613, 26.0694) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.62
Royal
#0C1793
ΔE00 6.27
Blueberry
#464196
ΔE00 6.75
Darkslateblue
#483D8B
ΔE00 6.88
Midnight Blue
#191970
ΔE00 7.01
Indigo Blue
#3A18B1
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2F8E #8E7D1E
analogous
#1E678E #1E2F8E #451E8E
triadic
#1E2F8E #8E1E2F #2F8E1E
tetradic
#1E2F8E #8E1E67 #8E7D1E #1E8E45
square
#1E2F8E #8E1E67 #8E7D1E #1E8E45
split-complementary
#1E2F8E #8E451E #678E1E
monochromatic
#090E29 #131E5B #1E2F8E #2940C1 #4D62D9
Accessibility & contrast
On white
11.34
#1E2F8E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1E2F8E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2F8E
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2F8E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2F8E | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004091
Deuteranopia (green-blind)
#00358C
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1e2f8e; /* rgb */ color: rgb(30, 47, 142); /* oklch */ color: oklch(36.1% 0.157 268.8);
Tailwind
colors: {
custom: {
50: '#6d67b0',
500: '#1e2f8e',
950: '#000000',
},
}SCSS
$custom: #1e2f8e; $custom-light: #6d67b0; $custom-dark: #000000;
JSON
{
"hex": "#1e2f8e",
"rgb": {
"r": 30,
"g": 47,
"b": 142
},
"hsl": {
"h": 230.893,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.36082,
"c": 0.15725,
"h": 268.8
},
"luminance": 0.04262
}Semantic roles & 50–950 ramp
primary
#1E2F8E
secondary
#BCAB4C
accent
#CF40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80