#1E338D#1E338D
#1E338D is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.7% C 0.151 H 267.8°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #1E338D |
|---|---|
| RGB | rgb(30, 51, 141) |
| HSL | hsl(229, 65%, 34%) |
| HSV | hsv(229, 79%, 55%) |
| CMYK | cmyk(78.7%, 63.8%, 0%, 44.7%) |
| CIE-LAB | lab(25.46, 26.02, -52.17) |
| CIE-LCH | lch(25.46, 58.30, 296.51°) |
| OKLab | oklab(36.75% -0.0057 -0.1508) |
| OKLCH | oklch(36.75% 0.151 267.8) |
| XYZ | xyz(6.5253, 4.5660, 25.7316) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.47
Blueberry
#464196
ΔE00 6.28
Darkslateblue
#483D8B
ΔE00 6.61
Darkish Blue
#014182
ΔE00 7.33
Cobalt (survey)
#1E488F
ΔE00 7.44
Cobalt
#0047AB
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E338D #8D781E
analogous
#1E6A8D #1E338D #401E8D
triadic
#1E338D #8D1E33 #338D1E
tetradic
#1E338D #8D1E6A #8D781E #1E8D40
square
#1E338D #8D1E6A #8D781E #1E8D40
split-complementary
#1E338D #8D401E #6A8D1E
monochromatic
#090E28 #13215B #1E338D #2945BF #4C67D9
Accessibility & contrast
On white
10.98
#1E338D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#1E338D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E338D
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E338D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E338D | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1e338d; /* rgb */ color: rgb(30, 51, 141); /* oklch */ color: oklch(36.7% 0.151 267.8);
Tailwind
colors: {
custom: {
50: '#6d6aaf',
500: '#1e338d',
950: '#000000',
},
}SCSS
$custom: #1e338d; $custom-light: #6d6aaf; $custom-dark: #000000;
JSON
{
"hex": "#1e338d",
"rgb": {
"r": 30,
"g": 51,
"b": 141
},
"hsl": {
"h": 228.649,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.36748,
"c": 0.15095,
"h": 267.8
},
"luminance": 0.04567
}Semantic roles & 50–950 ramp
primary
#1E338D
secondary
#BCA64B
accent
#C840E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F