#1E1280#1E1280
#1E1280 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.1% C 0.169 H 274.2°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1280 |
|---|---|
| RGB | rgb(30, 18, 128) |
| HSL | hsl(247, 75%, 29%) |
| HSV | hsv(247, 86%, 50%) |
| CMYK | cmyk(76.6%, 85.9%, 0%, 49.8%) |
| CIE-LAB | lab(16.83, 41.32, -58.23) |
| CIE-LCH | lch(16.83, 71.40, 305.36°) |
| OKLab | oklab(30.15% 0.0125 -0.1684) |
| OKLCH | oklch(30.15% 0.169 274.2) |
| XYZ | xyz(4.6467, 2.2667, 20.6105) |
| Luminance | 0.0227 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 3.02
Navy
#000080
ΔE00 3.21
Darkblue
#00008B
ΔE00 3.27
Midnight Blue
#191970
ΔE00 3.36
Deep Blue
#040273
ΔE00 3.64
Dark Royal Blue
#02066F
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1280 #748012
analogous
#123D80 #1E1280 #551280
triadic
#1E1280 #801E12 #12801E
tetradic
#1E1280 #80123D #748012 #128055
square
#1E1280 #80123D #748012 #128055
split-complementary
#1E1280 #805512 #3D8012
monochromatic
#06041B #110A4A #1E1280 #2B1AB6 #3F2BE1
Accessibility & contrast
On white
14.45
#1E1280 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.45
#1E1280 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1280
14.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1280 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1280 | 1.00 | 14.45 | 1.45 | 14.45 |
| #FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E83
Deuteranopia (green-blind)
#00247E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1e1280; /* rgb */ color: rgb(30, 18, 128); /* oklch */ color: oklch(30.1% 0.169 274.2);
Tailwind
colors: {
custom: {
50: '#6d54a6',
500: '#1e1280',
950: '#000000',
},
}SCSS
$custom: #1e1280; $custom-light: #6d54a6; $custom-dark: #000000;
JSON
{
"hex": "#1e1280",
"rgb": {
"r": 30,
"g": 18,
"b": 128
},
"hsl": {
"h": 246.545,
"s": 75.342,
"l": 28.627
},
"oklch": {
"l": 0.30147,
"c": 0.16884,
"h": 274.2
},
"luminance": 0.02267
}Semantic roles & 50–950 ramp
primary
#1E1280
secondary
#A8B638
accent
#F236DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F