#1E227E#1E227E
#1E227E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 32.1% C 0.151 H 272.2°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).
Color values
| HEX | #1E227E |
|---|---|
| RGB | rgb(30, 34, 126) |
| HSL | hsl(238, 62%, 31%) |
| HSV | hsv(238, 76%, 49%) |
| CMYK | cmyk(76.2%, 73%, 0%, 50.6%) |
| CIE-LAB | lab(19.74, 31.66, -52.14) |
| CIE-LCH | lch(19.74, 61.00, 301.27°) |
| OKLab | oklab(32.13% 0.0059 -0.1509) |
| OKLCH | oklch(32.13% 0.151 272.2) |
| XYZ | xyz(4.8721, 2.9259, 20.0426) |
| Luminance | 0.0293 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.93
Royal
#0C1793
ΔE00 4.31
Dark Royal Blue
#02066F
ΔE00 6.44
Darkblue
#00008B
ΔE00 6.83
Navy
#000080
ΔE00 6.86
Deep Blue
#040273
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E227E #7E7A1E
analogous
#1E527E #1E227E #4A1E7E
triadic
#1E227E #7E1E22 #227E1E
tetradic
#1E227E #7E1E52 #7E7A1E #1E7E4A
square
#1E227E #7E1E52 #7E7A1E #1E7E4A
split-complementary
#1E227E #7E4A1E #527E1E
monochromatic
#06071B #12154D #1E227E #2A2FAF #444AD2
Accessibility & contrast
On white
13.25
#1E227E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.59
#1E227E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E227E
13.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E227E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E227E | 1.00 | 13.25 | 1.59 | 13.25 |
| #FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#002B7C
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030
Design tokens & code
CSS
--color: #1e227e; /* rgb */ color: rgb(30, 34, 126); /* oklch */ color: oklch(32.1% 0.151 272.2);
Tailwind
colors: {
custom: {
50: '#6a5ea4',
500: '#1e227e',
950: '#000000',
},
}SCSS
$custom: #1e227e; $custom-light: #6a5ea4; $custom-dark: #000000;
JSON
{
"hex": "#1e227e",
"rgb": {
"r": 30,
"g": 34,
"b": 126
},
"hsl": {
"h": 237.5,
"s": 61.538,
"l": 30.588
},
"oklch": {
"l": 0.32132,
"c": 0.15097,
"h": 272.2
},
"luminance": 0.02926
}Semantic roles & 50–950 ramp
primary
#1E227E
secondary
#B1AD47
accent
#DE43E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F