#1E2F8F#1E2F8F
#1E2F8F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.159 H 268.8°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2F8F |
|---|---|
| RGB | rgb(30, 47, 143) |
| HSL | hsl(231, 65%, 34%) |
| HSV | hsv(231, 79%, 56%) |
| CMYK | cmyk(79%, 67.1%, 0%, 43.9%) |
| CIE-LAB | lab(24.61, 29.50, -54.80) |
| CIE-LCH | lch(24.61, 62.23, 298.30°) |
| OKLab | oklab(36.18% -0.0034 -0.1586) |
| OKLCH | oklch(36.18% 0.159 268.8) |
| XYZ | xyz(6.5081, 4.2915, 26.4666) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.49
Royal
#0C1793
ΔE00 6.22
Blueberry
#464196
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 6.90
Midnight Blue
#191970
ΔE00 7.08
Indigo Blue
#3A18B1
ΔE00 8.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2F8F #8F7E1E
analogous
#1E688F #1E2F8F #461E8F
triadic
#1E2F8F #8F1E2F #2F8F1E
tetradic
#1E2F8F #8F1E68 #8F7E1E #1E8F46
square
#1E2F8F #8F1E68 #8F7E1E #1E8F46
split-complementary
#1E2F8F #8F461E #688F1E
monochromatic
#090E2A #131E5C #1E2F8F #2940C2 #4E63DA
Accessibility & contrast
On white
11.30
#1E2F8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1E2F8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2F8F
11.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2F8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2F8F | 1.00 | 11.30 | 1.86 | 11.30 |
| #FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004092
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1e2f8f; /* rgb */ color: rgb(30, 47, 143); /* oklch */ color: oklch(36.2% 0.159 268.8);
Tailwind
colors: {
custom: {
50: '#6e67b1',
500: '#1e2f8f',
950: '#000000',
},
}SCSS
$custom: #1e2f8f; $custom-light: #6e67b1; $custom-dark: #000000;
JSON
{
"hex": "#1e2f8f",
"rgb": {
"r": 30,
"g": 47,
"b": 143
},
"hsl": {
"h": 230.973,
"s": 65.318,
"l": 33.922
},
"oklch": {
"l": 0.36181,
"c": 0.15861,
"h": 268.8
},
"luminance": 0.04292
}Semantic roles & 50–950 ramp
primary
#1E2F8F
secondary
#BCAC4C
accent
#CF40E8
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080611
muted
#7B7A80