#1E1F74#1E1F74
#1E1F74 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.6% C 0.141 H 273.7°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1F74 |
|---|---|
| RGB | rgb(30, 31, 116) |
| HSL | hsl(239, 59%, 29%) |
| HSV | hsv(239, 74%, 45%) |
| CMYK | cmyk(74.1%, 73.3%, 0%, 54.5%) |
| CIE-LAB | lab(17.99, 29.92, -48.63) |
| CIE-LCH | lch(17.99, 57.10, 301.60°) |
| OKLab | oklab(30.56% 0.0092 -0.1406) |
| OKLCH | oklch(30.56% 0.141 273.7) |
| XYZ | xyz(4.1767, 2.5165, 16.7852) |
| Luminance | 0.0252 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.60
Royal
#0C1793
ΔE00 5.33
Dark Royal Blue
#02066F
ΔE00 5.67
Darkblue (survey)
#030764
ΔE00 5.88
Deep Blue
#040273
ΔE00 6.29
Navy
#000080
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1F74 #74731E
analogous
#1E4A74 #1E1F74 #481E74
triadic
#1E1F74 #741E1F #1F741E
tetradic
#1E1F74 #741E4A #74731E #1E7448
square
#1E1F74 #741E4A #74731E #1E7448
split-complementary
#1E1F74 #74481E #4A741E
monochromatic
#060618 #111243 #1E1F74 #2B2CA5 #3F41CD
Accessibility & contrast
On white
13.97
#1E1F74 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.50
#1E1F74 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1F74
13.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1F74 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1F74 | 1.00 | 13.97 | 1.50 | 13.97 |
| #FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002872
Tritanopia (blue-blind)
#003647
Achromatopsia (no color)
#2C2C2C
Design tokens & code
CSS
--color: #1e1f74; /* rgb */ color: rgb(30, 31, 116); /* oklch */ color: oklch(30.6% 0.141 273.7);
Tailwind
colors: {
custom: {
50: '#685b9d',
500: '#1e1f74',
950: '#000000',
},
}SCSS
$custom: #1e1f74; $custom-light: #685b9d; $custom-dark: #000000;
JSON
{
"hex": "#1e1f74",
"rgb": {
"r": 30,
"g": 31,
"b": 116
},
"hsl": {
"h": 239.302,
"s": 58.904,
"l": 28.627
},
"oklch": {
"l": 0.30557,
"c": 0.14091,
"h": 273.7
},
"luminance": 0.02517
}Semantic roles & 50–950 ramp
primary
#1E1F74
secondary
#A8A746
accent
#E046E2
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E