#1E1A7C#1E1A7C
#1E1A7C is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.7% C 0.157 H 273.8°. Best body text is #FFFFFF at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1A7C |
|---|---|
| RGB | rgb(30, 26, 124) |
| HSL | hsl(242, 65%, 29%) |
| HSV | hsv(242, 79%, 49%) |
| CMYK | cmyk(75.8%, 79%, 0%, 51.4%) |
| CIE-LAB | lab(17.78, 35.83, -54.11) |
| CIE-LCH | lch(17.78, 64.90, 303.51°) |
| OKLab | oklab(30.67% 0.0104 -0.1565) |
| OKLCH | oklch(30.67% 0.157 273.8) |
| XYZ | xyz(4.5417, 2.4696, 19.3022) |
| Luminance | 0.0247 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.01
Royal
#0C1793
ΔE00 3.56
Dark Royal Blue
#02066F
ΔE00 4.54
Deep Blue
#040273
ΔE00 4.88
Navy
#000080
ΔE00 4.89
Darkblue
#00008B
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1A7C #787C1A
analogous
#1A477C #1E1A7C #4F1A7C
triadic
#1E1A7C #7C1E1A #1A7C1E
tetradic
#1E1A7C #7C1A47 #787C1A #1A7C4F
square
#1E1A7C #7C1A47 #787C1A #1A7C4F
split-complementary
#1E1A7C #7C4F1A #477C1A
monochromatic
#060519 #120F49 #1E1A7C #2A25AF #413BD6
Accessibility & contrast
On white
14.06
#1E1A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.49
#1E1A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1A7C
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1A7C | 1.00 | 14.06 | 1.49 | 14.06 |
| #FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00307F
Deuteranopia (green-blind)
#00277A
Tritanopia (blue-blind)
#00374A
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1e1a7c; /* rgb */ color: rgb(30, 26, 124); /* oklch */ color: oklch(30.7% 0.157 273.8);
Tailwind
colors: {
custom: {
50: '#6b58a3',
500: '#1e1a7c',
950: '#000000',
},
}SCSS
$custom: #1e1a7c; $custom-light: #6b58a3; $custom-dark: #000000;
JSON
{
"hex": "#1e1a7c",
"rgb": {
"r": 30,
"g": 26,
"b": 124
},
"hsl": {
"h": 242.449,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.30669,
"c": 0.15689,
"h": 273.8
},
"luminance": 0.0247
}Semantic roles & 50–950 ramp
primary
#1E1A7C
secondary
#ACB042
accent
#E840E1
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08030F
muted
#7A787F