#1E1281#1E1281
#1E1281 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.3% C 0.170 H 274.1°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1281 |
|---|---|
| RGB | rgb(30, 18, 129) |
| HSL | hsl(246, 76%, 29%) |
| HSV | hsv(246, 86%, 51%) |
| CMYK | cmyk(76.7%, 86%, 0%, 49.4%) |
| CIE-LAB | lab(16.96, 41.64, -58.66) |
| CIE-LCH | lch(16.96, 71.93, 305.37°) |
| OKLab | oklab(30.27% 0.0122 -0.1696) |
| OKLCH | oklch(30.27% 0.17 274.1) |
| XYZ | xyz(4.7129, 2.2931, 20.9589) |
| Luminance | 0.0229 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.90
Darkblue
#00008B
ΔE00 3.20
Navy
#000080
ΔE00 3.21
Midnight Blue
#191970
ΔE00 3.48
Deep Blue
#040273
ΔE00 3.72
Dark Royal Blue
#02066F
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1281 #758112
analogous
#123E81 #1E1281 #561281
triadic
#1E1281 #811E12 #12811E
tetradic
#1E1281 #81123E #758112 #128156
square
#1E1281 #81123E #758112 #128156
split-complementary
#1E1281 #815612 #3E8112
monochromatic
#06041B #120B4B #1E1281 #2A19B7 #402CE2
Accessibility & contrast
On white
14.40
#1E1281 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1E1281 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1281
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1281 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1281 | 1.00 | 14.40 | 1.46 | 14.40 |
| #FFFFFF | 14.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.40 | 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: #1e1281; /* rgb */ color: rgb(30, 18, 129); /* oklch */ color: oklch(30.3% 0.170 274.1);
Tailwind
colors: {
custom: {
50: '#6d54a7',
500: '#1e1281',
950: '#000000',
},
}SCSS
$custom: #1e1281; $custom-light: #6d54a7; $custom-dark: #000000;
JSON
{
"hex": "#1e1281",
"rgb": {
"r": 30,
"g": 18,
"b": 129
},
"hsl": {
"h": 246.486,
"s": 75.51,
"l": 28.824
},
"oklch": {
"l": 0.30271,
"c": 0.17005,
"h": 274.1
},
"luminance": 0.02294
}Semantic roles & 50–950 ramp
primary
#1E1281
secondary
#A9B738
accent
#F236DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F