#1E238D#1E238D
#1E238D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.9% C 0.170 H 271.0°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).
Color values
| HEX | #1E238D |
|---|---|
| RGB | rgb(30, 35, 141) |
| HSL | hsl(237, 65%, 34%) |
| HSV | hsv(237, 79%, 55%) |
| CMYK | cmyk(78.7%, 75.2%, 0%, 44.7%) |
| CIE-LAB | lab(21.58, 36.46, -58.54) |
| CIE-LCH | lch(21.58, 68.97, 301.91°) |
| OKLab | oklab(33.93% 0.003 -0.1695) |
| OKLCH | oklch(33.93% 0.17 271) |
| XYZ | xyz(5.9425, 3.4005, 25.5373) |
| Luminance | 0.0340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.96
Midnight Blue
#191970
ΔE00 4.82
Cobalt Blue
#030AA7
ΔE00 5.58
Royal Blue (survey)
#0504AA
ΔE00 6.19
Darkblue
#00008B
ΔE00 6.38
Indigo Blue
#3A18B1
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E238D #8D881E
analogous
#1E5A8D #1E238D #501E8D
triadic
#1E238D #8D1E23 #238D1E
tetradic
#1E238D #8D1E5A #8D881E #1E8D50
square
#1E238D #8D1E5A #8D881E #1E8D50
split-complementary
#1E238D #8D501E #5A8D1E
monochromatic
#090A28 #13165B #1E238D #2930BF #4C53D9
Accessibility & contrast
On white
12.50
#1E238D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1E238D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E238D
12.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E238D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E238D | 1.00 | 12.50 | 1.68 | 12.50 |
| #FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#002E8B
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1e238d; /* rgb */ color: rgb(30, 35, 141); /* oklch */ color: oklch(33.9% 0.170 271.0);
Tailwind
colors: {
custom: {
50: '#6e5faf',
500: '#1e238d',
950: '#000000',
},
}SCSS
$custom: #1e238d; $custom-light: #6e5faf; $custom-dark: #000000;
JSON
{
"hex": "#1e238d",
"rgb": {
"r": 30,
"g": 35,
"b": 141
},
"hsl": {
"h": 237.297,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.33929,
"c": 0.16954,
"h": 271
},
"luminance": 0.03401
}Semantic roles & 50–950 ramp
primary
#1E238D
secondary
#BCB74B
accent
#E040E8
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090411
muted
#7B7980