#1E338B#1E338B
#1E338B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.148 H 267.8°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).
Color values
| HEX | #1E338B |
|---|---|
| RGB | rgb(30, 51, 139) |
| HSL | hsl(228, 64%, 33%) |
| HSV | hsv(228, 78%, 55%) |
| CMYK | cmyk(78.4%, 63.3%, 0%, 45.5%) |
| CIE-LAB | lab(25.28, 25.24, -51.22) |
| CIE-LCH | lch(25.28, 57.10, 296.24°) |
| OKLab | oklab(36.56% -0.0057 -0.1481) |
| OKLCH | oklch(36.56% 0.148 267.8) |
| XYZ | xyz(6.3778, 4.5070, 24.9549) |
| Luminance | 0.0451 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.77
Blueberry
#464196
ΔE00 6.36
Darkslateblue
#483D8B
ΔE00 6.63
Darkish Blue
#014182
ΔE00 7.20
Cobalt (survey)
#1E488F
ΔE00 7.38
Marine
#042E60
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E338B #8B761E
analogous
#1E698B #1E338B #3F1E8B
triadic
#1E338B #8B1E33 #338B1E
tetradic
#1E338B #8B1E69 #8B761E #1E8B3F
square
#1E338B #8B1E69 #8B761E #1E8B3F
split-complementary
#1E338B #8B3F1E #698B1E
monochromatic
#080E26 #132159 #1E338B #2945BD #4B66D8
Accessibility & contrast
On white
11.04
#1E338B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#1E338B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E338B
11.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E338B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E338B | 1.00 | 11.04 | 1.90 | 11.04 |
| #FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003789
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #1e338b; /* rgb */ color: rgb(30, 51, 139); /* oklch */ color: oklch(36.6% 0.148 267.8);
Tailwind
colors: {
custom: {
50: '#6c6aae',
500: '#1e338b',
950: '#000000',
},
}SCSS
$custom: #1e338b; $custom-light: #6c6aae; $custom-dark: #000000;
JSON
{
"hex": "#1e338b",
"rgb": {
"r": 30,
"g": 51,
"b": 139
},
"hsl": {
"h": 228.44,
"s": 64.497,
"l": 33.137
},
"oklch": {
"l": 0.3656,
"c": 0.14817,
"h": 267.8
},
"luminance": 0.04508
}Semantic roles & 50–950 ramp
primary
#1E338B
secondary
#BBA54A
accent
#C740E7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F