#1E339E#1E339E
#1E339E is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.4% C 0.174 H 267.9°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #1E339E |
|---|---|
| RGB | rgb(30, 51, 158) |
| HSL | hsl(230, 68%, 37%) |
| HSV | hsv(230, 81%, 62%) |
| CMYK | cmyk(81%, 67.7%, 0%, 38%) |
| CIE-LAB | lab(27.05, 32.54, -60.00) |
| CIE-LCH | lch(27.05, 68.26, 298.47°) |
| OKLab | oklab(38.4% -0.0065 -0.1737) |
| OKLCH | oklch(38.4% 0.174 267.9) |
| XYZ | xyz(7.8887, 5.1114, 32.9120) |
| Luminance | 0.0511 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.20
Blueberry
#464196
ΔE00 6.15
Blue Blue
#2242C7
ΔE00 6.77
Darkslateblue
#483D8B
ΔE00 7.04
Royal
#0C1793
ΔE00 7.07
Cobalt
#0047AB
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E339E #9E891E
analogous
#1E739E #1E339E #491E9E
triadic
#1E339E #9E1E33 #339E1E
tetradic
#1E339E #9E1E73 #9E891E #1E9E49
square
#1E339E #9E1E73 #9E891E #1E9E49
split-complementary
#1E339E #9E491E #739E1E
monochromatic
#0A1237 #14226B #1E339E #2844D1 #576EDF
Accessibility & contrast
On white
10.38
#1E339E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#1E339E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E339E
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E339E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E339E | 1.00 | 10.38 | 2.02 | 10.38 |
| #FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003A9C
Tritanopia (blue-blind)
#005064
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #1e339e; /* rgb */ color: rgb(30, 51, 158); /* oklch */ color: oklch(38.4% 0.174 267.9);
Tailwind
colors: {
custom: {
50: '#716abc',
500: '#1e339e',
950: '#000000',
},
}SCSS
$custom: #1e339e; $custom-light: #716abc; $custom-dark: #000000;
JSON
{
"hex": "#1e339e",
"rgb": {
"r": 30,
"g": 51,
"b": 158
},
"hsl": {
"h": 230.156,
"s": 68.085,
"l": 36.863
},
"oklch": {
"l": 0.38403,
"c": 0.17387,
"h": 267.9
},
"luminance": 0.05112
}Semantic roles & 50–950 ramp
primary
#1E339E
secondary
#C3B155
accent
#CE3DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81