#1E1879#1E1879
#1E1879 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.155 H 274.5°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1E1879 |
|---|---|
| RGB | rgb(30, 24, 121) |
| HSL | hsl(244, 67%, 28%) |
| HSV | hsv(244, 80%, 47%) |
| CMYK | cmyk(75.2%, 80.2%, 0%, 52.5%) |
| CIE-LAB | lab(17.03, 35.94, -53.43) |
| CIE-LCH | lch(17.03, 64.39, 303.93°) |
| OKLab | oklab(30.04% 0.0121 -0.1545) |
| OKLCH | oklch(30.04% 0.155 274.5) |
| XYZ | xyz(4.3121, 2.3093, 18.3039) |
| Luminance | 0.0231 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 1.70
Royal
#0C1793
ΔE00 3.93
Dark Royal Blue
#02066F
ΔE00 4.03
Deep Blue
#040273
ΔE00 4.41
Navy
#000080
ΔE00 4.59
Darkblue (survey)
#030764
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E1879 #737918
analogous
#184279 #1E1879 #4E1879
triadic
#1E1879 #791E18 #18791E
tetradic
#1E1879 #791842 #737918 #18794E
square
#1E1879 #791842 #737918 #18794E
split-complementary
#1E1879 #794E18 #427918
monochromatic
#06051A #110E46 #1E1879 #2B22AC #3F35D7
Accessibility & contrast
On white
14.36
#1E1879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.46
#1E1879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E1879
14.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E1879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E1879 | 1.00 | 14.36 | 1.46 | 14.36 |
| #FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 14.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002577
Tritanopia (blue-blind)
#003548
Achromatopsia (no color)
#2A2A2A
Design tokens & code
CSS
--color: #1e1879; /* rgb */ color: rgb(30, 24, 121); /* oklch */ color: oklch(30.0% 0.155 274.5);
Tailwind
colors: {
custom: {
50: '#6a57a1',
500: '#1e1879',
950: '#000000',
},
}SCSS
$custom: #1e1879; $custom-light: #6a57a1; $custom-dark: #000000;
JSON
{
"hex": "#1e1879",
"rgb": {
"r": 30,
"g": 24,
"b": 121
},
"hsl": {
"h": 243.711,
"s": 66.897,
"l": 28.431
},
"oklch": {
"l": 0.3004,
"c": 0.155,
"h": 274.5
},
"luminance": 0.0231
}Semantic roles & 50–950 ramp
primary
#1E1879
secondary
#A7AE3F
accent
#EA3EDF
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#08030F
muted
#7A787F