#1E207E#1E207E
#1E207E is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.8% C 0.153 H 272.6°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).
Color values
| HEX | #1E207E |
|---|---|
| RGB | rgb(30, 32, 126) |
| HSL | hsl(239, 62%, 31%) |
| HSV | hsv(239, 76%, 49%) |
| CMYK | cmyk(76.2%, 74.6%, 0%, 50.6%) |
| CIE-LAB | lab(19.29, 32.93, -52.90) |
| CIE-LCH | lch(19.29, 62.31, 301.90°) |
| OKLab | oklab(31.8% 0.007 -0.153) |
| OKLCH | oklch(31.8% 0.153 272.6) |
| XYZ | xyz(4.8166, 2.8149, 20.0241) |
| Luminance | 0.0282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.60
Royal
#0C1793
ΔE00 3.95
Dark Royal Blue
#02066F
ΔE00 5.94
Darkblue
#00008B
ΔE00 6.30
Navy
#000080
ΔE00 6.31
Deep Blue
#040273
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E207E #7E7C1E
analogous
#1E507E #1E207E #4C1E7E
triadic
#1E207E #7E1E20 #207E1E
tetradic
#1E207E #7E1E50 #7E7C1E #1E7E4C
square
#1E207E #7E1E50 #7E7C1E #1E7E4C
split-complementary
#1E207E #7E4C1E #507E1E
monochromatic
#06071B #12134D #1E207E #2A2DAF #4447D2
Accessibility & contrast
On white
13.44
#1E207E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.56
#1E207E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E207E
13.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E207E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E207E | 1.00 | 13.44 | 1.56 | 13.44 |
| #FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003381
Deuteranopia (green-blind)
#002A7C
Tritanopia (blue-blind)
#003B4D
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1e207e; /* rgb */ color: rgb(30, 32, 126); /* oklch */ color: oklch(31.8% 0.153 272.6);
Tailwind
colors: {
custom: {
50: '#6b5ca4',
500: '#1e207e',
950: '#000000',
},
}SCSS
$custom: #1e207e; $custom-light: #6b5ca4; $custom-dark: #000000;
JSON
{
"hex": "#1e207e",
"rgb": {
"r": 30,
"g": 32,
"b": 126
},
"hsl": {
"h": 238.75,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.31804,
"c": 0.15321,
"h": 272.6
},
"luminance": 0.02815
}Semantic roles & 50–950 ramp
primary
#1E207E
secondary
#B1AF47
accent
#E143E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F