#1E1C7D#1E1C7D
#1E1C7D is a dark, vivid blue. Relative luminance 0.026; OKLCH L 31.1% C 0.156 H 273.4°. Best body text is #FFFFFF at 13.84:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1C7D |
|---|---|
| RGB | rgb(30, 28, 125) |
| HSL | hsl(241, 63%, 30%) |
| HSV | hsv(241, 78%, 49%) |
| CMYK | cmyk(76%, 77.6%, 0%, 51%) |
| CIE-LAB | lab(18.31, 35.01, -53.88) |
| CIE-LCH | lch(18.31, 64.25, 303.02°) |
| OKLab | oklab(31.07% 0.0092 -0.1559) |
| OKLCH | oklch(31.07% 0.156 273.4) |
| XYZ | xyz(4.6511, 2.5867, 19.6522) |
| Luminance | 0.0259 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.14
Royal
#0C1793
ΔE00 3.56
Dark Royal Blue
#02066F
ΔE00 4.99
Navy
#000080
ΔE00 5.32
Deep Blue
#040273
ΔE00 5.36
Darkblue
#00008B
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1C7D #7B7D1C
analogous
#1C4B7D #1E1C7D #4E1C7D
triadic
#1E1C7D #7D1E1C #1C7D1E
tetradic
#1E1C7D #7D1C4B #7B7D1C #1C7D4E
square
#1E1C7D #7D1C4B #7B7D1C #1C7D4E
split-complementary
#1E1C7D #7D4E1C #4B7D1C
monochromatic
#060619 #12114B #1E1C7D #2A27AF #423FD4
Accessibility & contrast
On white
13.84
#1E1C7D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.52
#1E1C7D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1C7D
13.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1C7D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1C7D | 1.00 | 13.84 | 1.52 | 13.84 |
| #FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003180
Deuteranopia (green-blind)
#00287B
Tritanopia (blue-blind)
#00384B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1e1c7d; /* rgb */ color: rgb(30, 28, 125); /* oklch */ color: oklch(31.1% 0.156 273.4);
Tailwind
colors: {
custom: {
50: '#6b5aa4',
500: '#1e1c7d',
950: '#000000',
},
}SCSS
$custom: #1e1c7d; $custom-light: #6b5aa4; $custom-dark: #000000;
JSON
{
"hex": "#1e1c7d",
"rgb": {
"r": 30,
"g": 28,
"b": 125
},
"hsl": {
"h": 241.237,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.31074,
"c": 0.15615,
"h": 273.4
},
"luminance": 0.02587
}Semantic roles & 50–950 ramp
primary
#1E1C7D
secondary
#AEB144
accent
#E641E3
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F