#1E2D8D#1E2D8D
#1E2D8D is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.6% C 0.158 H 269.3°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2D8D |
|---|---|
| RGB | rgb(30, 45, 141) |
| HSL | hsl(232, 65%, 34%) |
| HSV | hsv(232, 79%, 55%) |
| CMYK | cmyk(78.7%, 68.1%, 0%, 44.7%) |
| CIE-LAB | lab(23.92, 30.07, -54.70) |
| CIE-LCH | lch(23.92, 62.42, 298.80°) |
| OKLab | oklab(35.62% -0.0021 -0.1583) |
| OKLCH | oklch(35.62% 0.158 269.3) |
| XYZ | xyz(6.2799, 4.0752, 25.6498) |
| Luminance | 0.0408 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.99
Royal
#0C1793
ΔE00 5.72
Midnight Blue
#191970
ΔE00 6.47
Darkslateblue
#483D8B
ΔE00 7.09
Blueberry
#464196
ΔE00 7.09
Cobalt Blue
#030AA7
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2D8D #8D7E1E
analogous
#1E648D #1E2D8D #461E8D
triadic
#1E2D8D #8D1E2D #2D8D1E
tetradic
#1E2D8D #8D1E64 #8D7E1E #1E8D46
square
#1E2D8D #8D1E64 #8D7E1E #1E8D46
split-complementary
#1E2D8D #8D461E #648D1E
monochromatic
#090D28 #131D5B #1E2D8D #293DBF #4C5FD9
Accessibility & contrast
On white
11.57
#1E2D8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.82
#1E2D8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2D8D
11.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2D8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2D8D | 1.00 | 11.57 | 1.82 | 11.57 |
| #FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E90
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#004759
Achromatopsia (no color)
#393939
Design tokens & code
CSS
--color: #1e2d8d; /* rgb */ color: rgb(30, 45, 141); /* oklch */ color: oklch(35.6% 0.158 269.3);
Tailwind
colors: {
custom: {
50: '#6d66af',
500: '#1e2d8d',
950: '#000000',
},
}SCSS
$custom: #1e2d8d; $custom-light: #6d66af; $custom-dark: #000000;
JSON
{
"hex": "#1e2d8d",
"rgb": {
"r": 30,
"g": 45,
"b": 141
},
"hsl": {
"h": 231.892,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.35615,
"c": 0.1583,
"h": 269.3
},
"luminance": 0.04076
}Semantic roles & 50–950 ramp
primary
#1E2D8D
secondary
#BCAC4B
accent
#D140E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F