#1E2179#1E2179
#1E2179 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 31.4% C 0.145 H 272.8°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2179 |
|---|---|
| RGB | rgb(30, 33, 121) |
| HSL | hsl(238, 60%, 30%) |
| HSV | hsv(238, 75%, 47%) |
| CMYK | cmyk(75.2%, 72.7%, 0%, 52.5%) |
| CIE-LAB | lab(18.99, 30.47, -50.20) |
| CIE-LCH | lch(18.99, 58.72, 301.25°) |
| OKLab | oklab(31.43% 0.0072 -0.1452) |
| OKLCH | oklch(31.43% 0.145 272.8) |
| XYZ | xyz(4.5293, 2.7438, 18.3763) |
| Luminance | 0.0274 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.32
Royal
#0C1793
ΔE00 4.85
Dark Royal Blue
#02066F
ΔE00 6.15
Darkblue (survey)
#030764
ΔE00 6.54
Deep Blue
#040273
ΔE00 6.68
Navy
#000080
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2179 #79761E
analogous
#1E4F79 #1E2179 #491E79
triadic
#1E2179 #791E21 #21791E
tetradic
#1E2179 #791E4F #79761E #1E7949
square
#1E2179 #791E4F #79761E #1E7949
split-complementary
#1E2179 #79491E #4F791E
monochromatic
#060719 #121448 #1E2179 #2A2EAA #4146D0
Accessibility & contrast
On white
13.56
#1E2179 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1E2179 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2179
13.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2179 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2179 | 1.00 | 13.56 | 1.55 | 13.56 |
| #FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002A77
Tritanopia (blue-blind)
#00394A
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e2179; /* rgb */ color: rgb(30, 33, 121); /* oklch */ color: oklch(31.4% 0.145 272.8);
Tailwind
colors: {
custom: {
50: '#695da1',
500: '#1e2179',
950: '#000000',
},
}SCSS
$custom: #1e2179; $custom-light: #695da1; $custom-dark: #000000;
JSON
{
"hex": "#1e2179",
"rgb": {
"r": 30,
"g": 33,
"b": 121
},
"hsl": {
"h": 238.022,
"s": 60.265,
"l": 29.608
},
"oklch": {
"l": 0.31429,
"c": 0.14538,
"h": 272.8
},
"luminance": 0.02744
}Semantic roles & 50–950 ramp
primary
#1E2179
secondary
#ADA946
accent
#DE44E3
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F