#1E1F7C#1E1F7C
#1E1F7C is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.152 H 273.0°. Best body text is #FFFFFF at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1F7C |
|---|---|
| RGB | rgb(30, 31, 124) |
| HSL | hsl(239, 61%, 30%) |
| HSV | hsv(239, 76%, 49%) |
| CMYK | cmyk(75.8%, 75%, 0%, 51.4%) |
| CIE-LAB | lab(18.85, 32.83, -52.35) |
| CIE-LCH | lch(18.85, 61.79, 302.09°) |
| OKLab | oklab(31.42% 0.0079 -0.1515) |
| OKLCH | oklch(31.42% 0.152 273) |
| XYZ | xyz(4.6623, 2.7108, 19.3424) |
| Luminance | 0.0271 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.24
Royal
#0C1793
ΔE00 4.08
Dark Royal Blue
#02066F
ΔE00 5.65
Deep Blue
#040273
ΔE00 6.09
Navy
#000080
ΔE00 6.14
Darkblue
#00008B
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1F7C #7C7B1E
analogous
#1E4E7C #1E1F7C #4C1E7C
triadic
#1E1F7C #7C1E1F #1F7C1E
tetradic
#1E1F7C #7C1E4E #7C7B1E #1E7C4C
square
#1E1F7C #7C1E4E #7C7B1E #1E7C4C
split-complementary
#1E1F7C #7C4C1E #4E7C1E
monochromatic
#060619 #12134B #1E1F7C #2A2BAD #4344D1
Accessibility & contrast
On white
13.62
#1E1F7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.54
#1E1F7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1F7C
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1F7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1F7C | 1.00 | 13.62 | 1.54 | 13.62 |
| #FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327F
Deuteranopia (green-blind)
#00297A
Tritanopia (blue-blind)
#00394B
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e1f7c; /* rgb */ color: rgb(30, 31, 124); /* oklch */ color: oklch(31.4% 0.152 273.0);
Tailwind
colors: {
custom: {
50: '#6a5ba3',
500: '#1e1f7c',
950: '#000000',
},
}SCSS
$custom: #1e1f7c; $custom-light: #6a5ba3; $custom-dark: #000000;
JSON
{
"hex": "#1e1f7c",
"rgb": {
"r": 30,
"g": 31,
"b": 124
},
"hsl": {
"h": 239.362,
"s": 61.039,
"l": 30.196
},
"oklch": {
"l": 0.31424,
"c": 0.15166,
"h": 273
},
"luminance": 0.02711
}Semantic roles & 50–950 ramp
primary
#1E1F7C
secondary
#AFAE46
accent
#E244E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F