#1E2A88#1E2A88
#1E2A88 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.6% C 0.155 H 270.0°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2A88 |
|---|---|
| RGB | rgb(30, 42, 136) |
| HSL | hsl(233, 64%, 33%) |
| HSV | hsv(233, 78%, 53%) |
| CMYK | cmyk(77.9%, 69.1%, 0%, 46.7%) |
| CIE-LAB | lab(22.68, 30.17, -53.61) |
| CIE-LCH | lch(22.68, 61.51, 299.37°) |
| OKLab | oklab(34.57% 0.0001 -0.1551) |
| OKLCH | oklch(34.57% 0.155 270) |
| XYZ | xyz(5.8058, 3.7089, 23.6977) |
| Luminance | 0.0371 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 5.19
Midnight Blue
#191970
ΔE00 5.42
Sapphire (survey)
#2138AB
ΔE00 6.00
Darkslateblue
#483D8B
ΔE00 7.45
Blueberry
#464196
ΔE00 7.74
Cobalt Blue
#030AA7
ΔE00 7.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2A88 #887C1E
analogous
#1E5F88 #1E2A88 #471E88
triadic
#1E2A88 #881E2A #2A881E
tetradic
#1E2A88 #881E5F #887C1E #1E8847
square
#1E2A88 #881E5F #887C1E #1E8847
split-complementary
#1E2A88 #88471E #5F881E
monochromatic
#080B24 #131B56 #1E2A88 #2939BA #4959D7
Accessibility & contrast
On white
12.06
#1E2A88 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#1E2A88 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2A88
12.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2A88 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2A88 | 1.00 | 12.06 | 1.74 | 12.06 |
| #FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B8B
Deuteranopia (green-blind)
#003186
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #1e2a88; /* rgb */ color: rgb(30, 42, 136); /* oklch */ color: oklch(34.6% 0.155 270.0);
Tailwind
colors: {
custom: {
50: '#6c63ac',
500: '#1e2a88',
950: '#000000',
},
}SCSS
$custom: #1e2a88; $custom-light: #6c63ac; $custom-dark: #000000;
JSON
{
"hex": "#1e2a88",
"rgb": {
"r": 30,
"g": 42,
"b": 136
},
"hsl": {
"h": 233.208,
"s": 63.855,
"l": 32.549
},
"oklch": {
"l": 0.34567,
"c": 0.15512,
"h": 270
},
"luminance": 0.0371
}Semantic roles & 50–950 ramp
primary
#1E2A88
secondary
#B9AD49
accent
#D441E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F