#1E338E#1E338E
#1E338E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.152 H 267.8°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).
Color values
| HEX | #1E338E |
|---|---|
| RGB | rgb(30, 51, 142) |
| HSL | hsl(229, 65%, 34%) |
| HSV | hsv(229, 79%, 56%) |
| CMYK | cmyk(78.9%, 64.1%, 0%, 44.3%) |
| CIE-LAB | lab(25.55, 26.41, -52.64) |
| CIE-LCH | lch(25.55, 58.89, 296.65°) |
| OKLab | oklab(36.84% -0.0058 -0.1522) |
| OKLCH | oklch(36.84% 0.152 267.8) |
| XYZ | xyz(6.6000, 4.5959, 26.1252) |
| Luminance | 0.0460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 4.32
Blueberry
#464196
ΔE00 6.24
Darkslateblue
#483D8B
ΔE00 6.61
Darkish Blue
#014182
ΔE00 7.40
Cobalt (survey)
#1E488F
ΔE00 7.47
Cobalt
#0047AB
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E338E #8E791E
analogous
#1E6B8E #1E338E #411E8E
triadic
#1E338E #8E1E33 #338E1E
tetradic
#1E338E #8E1E6B #8E791E #1E8E41
square
#1E338E #8E1E6B #8E791E #1E8E41
split-complementary
#1E338E #8E411E #6B8E1E
monochromatic
#090F29 #13215B #1E338E #2945C1 #4D67D9
Accessibility & contrast
On white
10.94
#1E338E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#1E338E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E338E
10.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E338E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E338E | 1.00 | 10.94 | 1.92 | 10.94 |
| #FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00378C
Tritanopia (blue-blind)
#004B5B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #1e338e; /* rgb */ color: rgb(30, 51, 142); /* oklch */ color: oklch(36.8% 0.152 267.8);
Tailwind
colors: {
custom: {
50: '#6d6ab0',
500: '#1e338e',
950: '#000000',
},
}SCSS
$custom: #1e338e; $custom-light: #6d6ab0; $custom-dark: #000000;
JSON
{
"hex": "#1e338e",
"rgb": {
"r": 30,
"g": 51,
"b": 142
},
"hsl": {
"h": 228.75,
"s": 65.116,
"l": 33.725
},
"oklch": {
"l": 0.36843,
"c": 0.15233,
"h": 267.8
},
"luminance": 0.04597
}Semantic roles & 50–950 ramp
primary
#1E338E
secondary
#BCA74C
accent
#C940E8
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80