#1E1981#1E1981
#1E1981 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.164 H 273.4°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1981 |
|---|---|
| RGB | rgb(30, 25, 129) |
| HSL | hsl(243, 68%, 30%) |
| HSV | hsv(243, 81%, 51%) |
| CMYK | cmyk(76.7%, 80.6%, 0%, 49.4%) |
| CIE-LAB | lab(18.17, 38.10, -56.65) |
| CIE-LCH | lch(18.17, 68.27, 303.92°) |
| OKLab | oklab(31.11% 0.0097 -0.1639) |
| OKLCH | oklch(31.11% 0.164 273.4) |
| XYZ | xyz(4.8442, 2.5558, 21.0026) |
| Luminance | 0.0256 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.77
Midnight Blue
#191970
ΔE00 2.82
Darkblue
#00008B
ΔE00 4.45
Navy
#000080
ΔE00 4.52
Dark Royal Blue
#02066F
ΔE00 4.66
Deep Blue
#040273
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1981 #7C8119
analogous
#194881 #1E1981 #521981
triadic
#1E1981 #811E19 #19811E
tetradic
#1E1981 #811948 #7C8119 #198152
square
#1E1981 #811948 #7C8119 #198152
split-complementary
#1E1981 #815219 #488119
monochromatic
#06051A #120F4E #1E1981 #2A23B4 #433BD9
Accessibility & contrast
On white
13.90
#1E1981 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.51
#1E1981 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1981
13.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1981 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1981 | 1.00 | 13.90 | 1.51 | 13.90 |
| #FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#00277F
Tritanopia (blue-blind)
#00394D
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1e1981; /* rgb */ color: rgb(30, 25, 129); /* oklch */ color: oklch(31.1% 0.164 273.4);
Tailwind
colors: {
custom: {
50: '#6c58a7',
500: '#1e1981',
950: '#000000',
},
}SCSS
$custom: #1e1981; $custom-light: #6c58a7; $custom-dark: #000000;
JSON
{
"hex": "#1e1981",
"rgb": {
"r": 30,
"g": 25,
"b": 129
},
"hsl": {
"h": 242.885,
"s": 67.532,
"l": 30.196
},
"oklch": {
"l": 0.31113,
"c": 0.16418,
"h": 273.4
},
"luminance": 0.02556
}Semantic roles & 50–950 ramp
primary
#1E1981
secondary
#AFB541
accent
#EA3DE2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080310
muted
#7B787F