#1E2277#1E2277
#1E2277 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.4% C 0.141 H 272.8°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2277 |
|---|---|
| RGB | rgb(30, 34, 119) |
| HSL | hsl(237, 60%, 29%) |
| HSV | hsv(237, 75%, 47%) |
| CMYK | cmyk(74.8%, 71.4%, 0%, 53.3%) |
| CIE-LAB | lab(19.02, 29.07, -48.87) |
| CIE-LCH | lch(19.02, 56.86, 300.75°) |
| OKLab | oklab(31.39% 0.0068 -0.1413) |
| OKLCH | oklch(31.39% 0.141 272.8) |
| XYZ | xyz(4.4361, 2.7515, 17.7465) |
| Luminance | 0.0275 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 2.47
Royal
#0C1793
ΔE00 5.34
Dark Royal Blue
#02066F
ΔE00 6.45
Darkblue (survey)
#030764
ΔE00 6.73
Deep Blue
#040273
ΔE00 7.03
Navy
#000080
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2277 #77731E
analogous
#1E4F77 #1E2277 #471E77
triadic
#1E2277 #771E22 #22771E
tetradic
#1E2277 #771E4F #77731E #1E7747
square
#1E2277 #771E4F #77731E #1E7747
split-complementary
#1E2277 #77471E #4F771E
monochromatic
#060718 #121446 #1E2277 #2A30A8 #4047CF
Accessibility & contrast
On white
13.54
#1E2277 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.55
#1E2277 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2277
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2277 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2277 | 1.00 | 13.54 | 1.55 | 13.54 |
| #FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00327A
Deuteranopia (green-blind)
#002A75
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#2E2E2E
Design tokens & code
CSS
--color: #1e2277; /* rgb */ color: rgb(30, 34, 119); /* oklch */ color: oklch(31.4% 0.141 272.8);
Tailwind
colors: {
custom: {
50: '#695d9f',
500: '#1e2277',
950: '#000000',
},
}SCSS
$custom: #1e2277; $custom-light: #695d9f; $custom-dark: #000000;
JSON
{
"hex": "#1e2277",
"rgb": {
"r": 30,
"g": 34,
"b": 119
},
"hsl": {
"h": 237.303,
"s": 59.732,
"l": 29.216
},
"oklch": {
"l": 0.31391,
"c": 0.14146,
"h": 272.8
},
"luminance": 0.02752
}Semantic roles & 50–950 ramp
primary
#1E2277
secondary
#ABA646
accent
#DC45E3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040F
muted
#7A797E