#1E339C#1E339C
#1E339C is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.2% C 0.171 H 267.9°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1E339C |
|---|---|
| RGB | rgb(30, 51, 156) |
| HSL | hsl(230, 68%, 36%) |
| HSV | hsv(230, 81%, 61%) |
| CMYK | cmyk(80.8%, 67.3%, 0%, 38.8%) |
| CIE-LAB | lab(26.86, 31.79, -59.10) |
| CIE-LCH | lch(26.86, 67.10, 298.27°) |
| OKLab | oklab(38.2% -0.0063 -0.1711) |
| OKLCH | oklch(38.2% 0.171 267.9) |
| XYZ | xyz(7.7179, 5.0431, 32.0127) |
| Luminance | 0.0504 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 2.43
Blueberry
#464196
ΔE00 6.12
Darkslateblue
#483D8B
ΔE00 6.95
Blue Blue
#2242C7
ΔE00 6.99
Royal
#0C1793
ΔE00 7.07
Cobalt
#0047AB
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E339C #9C871E
analogous
#1E729C #1E339C #481E9C
triadic
#1E339C #9C1E33 #339C1E
tetradic
#1E339C #9C1E72 #9C871E #1E9C48
square
#1E339C #9C1E72 #9C871E #1E9C48
split-complementary
#1E339C #9C481E #729C1E
monochromatic
#0A1135 #142269 #1E339C #2844CF #566DDE
Accessibility & contrast
On white
10.45
#1E339C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#1E339C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E339C
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E339C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E339C | 1.00 | 10.45 | 2.01 | 10.45 |
| #FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#003A9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #1e339c; /* rgb */ color: rgb(30, 51, 156); /* oklch */ color: oklch(38.2% 0.171 267.9);
Tailwind
colors: {
custom: {
50: '#716aba',
500: '#1e339c',
950: '#000000',
},
}SCSS
$custom: #1e339c; $custom-light: #716aba; $custom-dark: #000000;
JSON
{
"hex": "#1e339c",
"rgb": {
"r": 30,
"g": 51,
"b": 156
},
"hsl": {
"h": 230,
"s": 67.742,
"l": 36.471
},
"oklch": {
"l": 0.38203,
"c": 0.17124,
"h": 267.9
},
"luminance": 0.05044
}Semantic roles & 50–950 ramp
primary
#1E339C
secondary
#C2B054
accent
#CE3DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81