#1E308A#1E308A
#1E308A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.9% C 0.151 H 268.6°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1E308A |
|---|---|
| RGB | rgb(30, 48, 138) |
| HSL | hsl(230, 64%, 33%) |
| HSV | hsv(230, 78%, 54%) |
| CMYK | cmyk(78.3%, 65.2%, 0%, 45.9%) |
| CIE-LAB | lab(24.40, 26.90, -52.04) |
| CIE-LCH | lch(24.40, 58.58, 297.34°) |
| OKLab | oklab(35.88% -0.0037 -0.1505) |
| OKLCH | oklch(35.88% 0.151 268.6) |
| XYZ | xyz(6.1782, 4.2242, 24.5296) |
| Luminance | 0.0423 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 5.05
Blueberry
#464196
ΔE00 6.73
Darkslateblue
#483D8B
ΔE00 6.78
Royal
#0C1793
ΔE00 6.86
Midnight Blue
#191970
ΔE00 7.05
Marine
#042E60
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E308A #8A781E
analogous
#1E668A #1E308A #421E8A
triadic
#1E308A #8A1E30 #308A1E
tetradic
#1E308A #8A1E66 #8A781E #1E8A42
square
#1E308A #8A1E66 #8A781E #1E8A42
split-complementary
#1E308A #8A421E #668A1E
monochromatic
#080D25 #131F58 #1E308A #2941BC #4B62D8
Accessibility & contrast
On white
11.38
#1E308A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#1E308A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E308A
11.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E308A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E308A | 1.00 | 11.38 | 1.85 | 11.38 |
| #FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F8D
Deuteranopia (green-blind)
#003588
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #1e308a; /* rgb */ color: rgb(30, 48, 138); /* oklch */ color: oklch(35.9% 0.151 268.6);
Tailwind
colors: {
custom: {
50: '#6c68ad',
500: '#1e308a',
950: '#000000',
},
}SCSS
$custom: #1e308a; $custom-light: #6c68ad; $custom-dark: #000000;
JSON
{
"hex": "#1e308a",
"rgb": {
"r": 30,
"g": 48,
"b": 138
},
"hsl": {
"h": 230,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.35881,
"c": 0.15055,
"h": 268.6
},
"luminance": 0.04225
}Semantic roles & 50–950 ramp
primary
#1E308A
secondary
#BAA74A
accent
#CB41E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F