#1E227A#1E227A
#1E227A is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.7% C 0.146 H 272.5°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1E227A |
|---|---|
| RGB | rgb(30, 34, 122) |
| HSL | hsl(237, 61%, 30%) |
| HSV | hsv(237, 75%, 48%) |
| CMYK | cmyk(75.4%, 72.1%, 0%, 52.2%) |
| CIE-LAB | lab(19.33, 30.19, -50.28) |
| CIE-LCH | lch(19.33, 58.65, 300.98°) |
| OKLab | oklab(31.71% 0.0064 -0.1454) |
| OKLCH | oklch(31.71% 0.146 272.5) |
| XYZ | xyz(4.6191, 2.8247, 18.7104) |
| Luminance | 0.0283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.61
Royal
#0C1793
ΔE00 4.88
Dark Royal Blue
#02066F
ΔE00 6.42
Darkblue (survey)
#030764
ΔE00 6.82
Deep Blue
#040273
ΔE00 6.94
Navy
#000080
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E227A #7A761E
analogous
#1E507A #1E227A #481E7A
triadic
#1E227A #7A1E22 #227A1E
tetradic
#1E227A #7A1E50 #7A761E #1E7A48
square
#1E227A #7A1E50 #7A761E #1E7A48
split-complementary
#1E227A #7A481E #507A1E
monochromatic
#060719 #121449 #1E227A #2A30AB #4248D0
Accessibility & contrast
On white
13.42
#1E227A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.57
#1E227A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E227A
13.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E227A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E227A | 1.00 | 13.42 | 1.57 | 13.42 |
| #FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337D
Deuteranopia (green-blind)
#002A78
Tritanopia (blue-blind)
#003A4B
Achromatopsia (no color)
#2F2F2F
Design tokens & code
CSS
--color: #1e227a; /* rgb */ color: rgb(30, 34, 122); /* oklch */ color: oklch(31.7% 0.146 272.5);
Tailwind
colors: {
custom: {
50: '#695da1',
500: '#1e227a',
950: '#000000',
},
}SCSS
$custom: #1e227a; $custom-light: #695da1; $custom-dark: #000000;
JSON
{
"hex": "#1e227a",
"rgb": {
"r": 30,
"g": 34,
"b": 122
},
"hsl": {
"h": 237.391,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.31706,
"c": 0.14557,
"h": 272.5
},
"luminance": 0.02825
}Semantic roles & 50–950 ramp
primary
#1E227A
secondary
#AEA946
accent
#DD44E4
background
#F6F5FA
surface
#ECE9F3
border
#C7C5CD
text
#07040F
muted
#7A797F