#1E1C7F#1E1C7F
#1E1C7F is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.3% C 0.159 H 273.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1C7F |
|---|---|
| RGB | rgb(30, 28, 127) |
| HSL | hsl(241, 64%, 30%) |
| HSV | hsv(241, 78%, 50%) |
| CMYK | cmyk(76.4%, 78%, 0%, 50.2%) |
| CIE-LAB | lab(18.53, 35.71, -54.78) |
| CIE-LCH | lch(18.53, 65.39, 303.10°) |
| OKLab | oklab(31.3% 0.0088 -0.1585) |
| OKLCH | oklch(31.3% 0.159 273.2) |
| XYZ | xyz(4.7802, 2.6383, 20.3319) |
| Luminance | 0.0264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.44
Royal
#0C1793
ΔE00 3.27
Dark Royal Blue
#02066F
ΔE00 5.08
Darkblue
#00008B
ΔE00 5.24
Navy
#000080
ΔE00 5.25
Deep Blue
#040273
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1C7F #7D7F1C
analogous
#1C4B7F #1E1C7F #4F1C7F
triadic
#1E1C7F #7F1E1C #1C7F1E
tetradic
#1E1C7F #7F1C4B #7D7F1C #1C7F4F
square
#1E1C7F #7F1C4B #7D7F1C #1C7F4F
split-complementary
#1E1C7F #7F4F1C #4B7F1C
monochromatic
#06061B #12114D #1E1C7F #2A27B1 #4340D5
Accessibility & contrast
On white
13.75
#1E1C7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1E1C7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1C7F
13.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1C7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1C7F | 1.00 | 13.75 | 1.53 | 13.75 |
| #FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003282
Deuteranopia (green-blind)
#00287D
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1e1c7f; /* rgb */ color: rgb(30, 28, 127); /* oklch */ color: oklch(31.3% 0.159 273.2);
Tailwind
colors: {
custom: {
50: '#6b5aa5',
500: '#1e1c7f',
950: '#000000',
},
}SCSS
$custom: #1e1c7f; $custom-light: #6b5aa5; $custom-dark: #000000;
JSON
{
"hex": "#1e1c7f",
"rgb": {
"r": 30,
"g": 28,
"b": 127
},
"hsl": {
"h": 241.212,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.31301,
"c": 0.15874,
"h": 273.2
},
"luminance": 0.02639
}Semantic roles & 50–950 ramp
primary
#1E1C7F
secondary
#B0B344
accent
#E741E4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F