#1E1F7E#1E1F7E
#1E1F7E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.6% C 0.154 H 272.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1F7E |
|---|---|
| RGB | rgb(30, 31, 126) |
| HSL | hsl(239, 62%, 31%) |
| HSV | hsv(239, 76%, 49%) |
| CMYK | cmyk(76.2%, 75.4%, 0%, 50.6%) |
| CIE-LAB | lab(19.06, 33.55, -53.26) |
| CIE-LCH | lch(19.06, 62.95, 302.21°) |
| OKLab | oklab(31.65% 0.0075 -0.1541) |
| OKLCH | oklch(31.65% 0.154 272.8) |
| XYZ | xyz(4.7900, 2.7619, 20.0153) |
| Luminance | 0.0276 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.48
Royal
#0C1793
ΔE00 3.79
Dark Royal Blue
#02066F
ΔE00 5.70
Darkblue
#00008B
ΔE00 6.04
Navy
#000080
ΔE00 6.04
Deep Blue
#040273
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1F7E #7E7D1E
analogous
#1E4F7E #1E1F7E #4D1E7E
triadic
#1E1F7E #7E1E1F #1F7E1E
tetradic
#1E1F7E #7E1E4F #7E7D1E #1E7E4D
square
#1E1F7E #7E1E4F #7E7D1E #1E7E4D
split-complementary
#1E1F7E #7E4D1E #4F7E1E
monochromatic
#06071B #12134D #1E1F7E #2A2BAF #4445D2
Accessibility & contrast
On white
13.53
#1E1F7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1E1F7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1F7E
13.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1F7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1F7E | 1.00 | 13.53 | 1.55 | 13.53 |
| #FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003A4C
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e1f7e; /* rgb */ color: rgb(30, 31, 126); /* oklch */ color: oklch(31.6% 0.154 272.8);
Tailwind
colors: {
custom: {
50: '#6b5ca4',
500: '#1e1f7e',
950: '#000000',
},
}SCSS
$custom: #1e1f7e; $custom-light: #6b5ca4; $custom-dark: #000000;
JSON
{
"hex": "#1e1f7e",
"rgb": {
"r": 30,
"g": 31,
"b": 126
},
"hsl": {
"h": 239.375,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.31645,
"c": 0.1543,
"h": 272.8
},
"luminance": 0.02762
}Semantic roles & 50–950 ramp
primary
#1E1F7E
secondary
#B1B047
accent
#E343E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F