#1E308D#1E308D
#1E308D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.155 H 268.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #1E308D |
|---|---|
| RGB | rgb(30, 48, 141) |
| HSL | hsl(230, 65%, 34%) |
| HSV | hsv(230, 79%, 55%) |
| CMYK | cmyk(78.7%, 66%, 0%, 44.7%) |
| CIE-LAB | lab(24.68, 28.06, -53.45) |
| CIE-LCH | lch(24.68, 60.37, 297.70°) |
| OKLab | oklab(36.17% -0.0038 -0.1546) |
| OKLCH | oklch(36.17% 0.155 268.6) |
| XYZ | xyz(6.3984, 4.3123, 25.6893) |
| Luminance | 0.0431 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.65
Blueberry
#464196
ΔE00 6.63
Royal
#0C1793
ΔE00 6.65
Darkslateblue
#483D8B
ΔE00 6.79
Midnight Blue
#191970
ΔE00 7.20
Marine
#042E60
ΔE00 8.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E308D #8D7B1E
analogous
#1E678D #1E308D #431E8D
triadic
#1E308D #8D1E30 #308D1E
tetradic
#1E308D #8D1E67 #8D7B1E #1E8D43
square
#1E308D #8D1E67 #8D7B1E #1E8D43
split-complementary
#1E308D #8D431E #678D1E
monochromatic
#090E28 #131F5B #1E308D #2941BF #4C63D9
Accessibility & contrast
On white
11.27
#1E308D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#1E308D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E308D
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E308D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E308D | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00358B
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #1e308d; /* rgb */ color: rgb(30, 48, 141); /* oklch */ color: oklch(36.2% 0.155 268.6);
Tailwind
colors: {
custom: {
50: '#6d68af',
500: '#1e308d',
950: '#000000',
},
}SCSS
$custom: #1e308d; $custom-light: #6d68af; $custom-dark: #000000;
JSON
{
"hex": "#1e308d",
"rgb": {
"r": 30,
"g": 48,
"b": 141
},
"hsl": {
"h": 230.27,
"s": 64.912,
"l": 33.529
},
"oklch": {
"l": 0.36171,
"c": 0.15467,
"h": 268.6
},
"luminance": 0.04313
}Semantic roles & 50–950 ramp
primary
#1E308D
secondary
#BCA94B
accent
#CD40E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F