#1E1E7C#1E1E7C
#1E1E7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.3% C 0.153 H 273.2°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1E7C |
|---|---|
| RGB | rgb(30, 30, 124) |
| HSL | hsl(240, 61%, 30%) |
| HSV | hsv(240, 76%, 49%) |
| CMYK | cmyk(75.8%, 75.8%, 0%, 51.4%) |
| CIE-LAB | lab(18.62, 33.45, -52.72) |
| CIE-LCH | lch(18.62, 62.43, 302.40°) |
| OKLab | oklab(31.27% 0.0084 -0.1525) |
| OKLCH | oklch(31.27% 0.153 273.2) |
| XYZ | xyz(4.6366, 2.6593, 19.3338) |
| Luminance | 0.0266 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.12
Royal
#0C1793
ΔE00 3.94
Dark Royal Blue
#02066F
ΔE00 5.41
Deep Blue
#040273
ΔE00 5.84
Navy
#000080
ΔE00 5.87
Darkblue
#00008B
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1E7C #7C7C1E
analogous
#1E4D7C #1E1E7C #4D1E7C
triadic
#1E1E7C #7C1E1E #1E7C1E
tetradic
#1E1E7C #7C1E4D #7C7C1E #1E7C4D
square
#1E1E7C #7C1E4D #7C7C1E #1E7C4D
split-complementary
#1E1E7C #7C4D1E #4D7C1E
monochromatic
#060619 #12124B #1E1E7C #2A2AAD #4343D1
Accessibility & contrast
On white
13.71
#1E1E7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.53
#1E1E7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1E7C
13.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1E7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1E7C | 1.00 | 13.71 | 1.53 | 13.71 |
| #FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2D2D2D
Design tokens & code
CSS
--color: #1e1e7c; /* rgb */ color: rgb(30, 30, 124); /* oklch */ color: oklch(31.3% 0.153 273.2);
Tailwind
colors: {
custom: {
50: '#6a5ba3',
500: '#1e1e7c',
950: '#000000',
},
}SCSS
$custom: #1e1e7c; $custom-light: #6a5ba3; $custom-dark: #000000;
JSON
{
"hex": "#1e1e7c",
"rgb": {
"r": 30,
"g": 30,
"b": 124
},
"hsl": {
"h": 240,
"s": 61.039,
"l": 30.196
},
"oklch": {
"l": 0.31266,
"c": 0.15275,
"h": 273.2
},
"luminance": 0.0266
}Semantic roles & 50–950 ramp
primary
#1E1E7C
secondary
#AFAF46
accent
#E444E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F