#1E1B94#1E1B94
#1E1B94 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.6% C 0.186 H 271.4°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1B94 |
|---|---|
| RGB | rgb(30, 27, 148) |
| HSL | hsl(241, 69%, 34%) |
| HSV | hsv(241, 82%, 58%) |
| CMYK | cmyk(79.7%, 81.8%, 0%, 42%) |
| CIE-LAB | lab(20.82, 43.34, -64.15) |
| CIE-LCH | lch(20.82, 77.42, 304.04°) |
| OKLab | oklab(33.63% 0.0046 -0.1857) |
| OKLCH | oklch(33.63% 0.186 271.4) |
| XYZ | xyz(6.2708, 3.1973, 28.2979) |
| Luminance | 0.0320 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 1.27
Cobalt Blue
#030AA7
ΔE00 3.46
Royal Blue (survey)
#0504AA
ΔE00 4.05
Darkblue
#00008B
ΔE00 4.65
Ultramarine
#2000B1
ΔE00 4.81
Indigo Blue
#3A18B1
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1B94 #91941B
analogous
#1B5494 #1E1B94 #5B1B94
triadic
#1E1B94 #941E1B #1B941E
tetradic
#1E1B94 #941B54 #91941B #1B945B
square
#1E1B94 #941B54 #91941B #1B945B
split-complementary
#1E1B94 #945B1B #54941B
monochromatic
#09082C #141260 #1E1B94 #2824C8 #4F4BDE
Accessibility & contrast
On white
12.81
#1E1B94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.64
#1E1B94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1B94
12.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1B94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1B94 | 1.00 | 12.81 | 1.64 | 12.81 |
| #FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003897
Deuteranopia (green-blind)
#002C92
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#323232
Design tokens & code
CSS
--color: #1e1b94; /* rgb */ color: rgb(30, 27, 148); /* oklch */ color: oklch(33.6% 0.186 271.4);
Tailwind
colors: {
custom: {
50: '#715bb5',
500: '#1e1b94',
950: '#000000',
},
}SCSS
$custom: #1e1b94; $custom-light: #715bb5; $custom-dark: #000000;
JSON
{
"hex": "#1e1b94",
"rgb": {
"r": 30,
"g": 27,
"b": 148
},
"hsl": {
"h": 241.488,
"s": 69.143,
"l": 34.314
},
"oklch": {
"l": 0.33627,
"c": 0.18576,
"h": 271.4
},
"luminance": 0.03198
}Semantic roles & 50–950 ramp
primary
#1E1B94
secondary
#BDC04B
accent
#EC3CE8
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980