#1E1381#1E1381
#1E1381 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.4% C 0.169 H 274.0°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1381 |
|---|---|
| RGB | rgb(30, 19, 129) |
| HSL | hsl(246, 74%, 29%) |
| HSV | hsv(246, 85%, 51%) |
| CMYK | cmyk(76.7%, 85.3%, 0%, 49.4%) |
| CIE-LAB | lab(17.11, 41.17, -58.39) |
| CIE-LCH | lch(17.11, 71.45, 305.19°) |
| OKLab | oklab(30.38% 0.0119 -0.1689) |
| OKLCH | oklch(30.38% 0.169 274) |
| XYZ | xyz(4.7294, 2.3263, 20.9644) |
| Luminance | 0.0233 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.84
Darkblue
#00008B
ΔE00 3.35
Midnight Blue
#191970
ΔE00 3.36
Navy
#000080
ΔE00 3.37
Deep Blue
#040273
ΔE00 3.85
Dark Royal Blue
#02066F
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1381 #768113
analogous
#133F81 #1E1381 #551381
triadic
#1E1381 #811E13 #13811E
tetradic
#1E1381 #81133F #768113 #138155
square
#1E1381 #81133F #768113 #138155
split-complementary
#1E1381 #815513 #3F8113
monochromatic
#06041B #120B4C #1E1381 #2A1BB6 #402EE0
Accessibility & contrast
On white
14.33
#1E1381 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.47
#1E1381 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1381
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1381 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1381 | 1.00 | 14.33 | 1.47 | 14.33 |
| #FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002F84
Deuteranopia (green-blind)
#00257F
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1e1381; /* rgb */ color: rgb(30, 19, 129); /* oklch */ color: oklch(30.4% 0.169 274.0);
Tailwind
colors: {
custom: {
50: '#6d55a7',
500: '#1e1381',
950: '#000000',
},
}SCSS
$custom: #1e1381; $custom-light: #6d55a7; $custom-dark: #000000;
JSON
{
"hex": "#1e1381",
"rgb": {
"r": 30,
"g": 19,
"b": 129
},
"hsl": {
"h": 246,
"s": 74.324,
"l": 29.02
},
"oklch": {
"l": 0.3038,
"c": 0.16929,
"h": 274
},
"luminance": 0.02327
}Semantic roles & 50–950 ramp
primary
#1E1381
secondary
#AAB63A
accent
#F137DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F