#1E2296#1E2296
#1E2296 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.8% C 0.182 H 270.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2296 |
|---|---|
| RGB | rgb(30, 34, 150) |
| HSL | hsl(238, 67%, 35%) |
| HSV | hsv(238, 80%, 59%) |
| CMYK | cmyk(80%, 77.3%, 0%, 41.2%) |
| CIE-LAB | lab(22.38, 40.20, -62.80) |
| CIE-LCH | lch(22.38, 74.57, 302.62°) |
| OKLab | oklab(34.79% 0.0019 -0.1819) |
| OKLCH | oklch(34.79% 0.182 270.6) |
| XYZ | xyz(6.6106, 3.6213, 29.1988) |
| Luminance | 0.0362 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.53
Cobalt Blue
#030AA7
ΔE00 4.53
Royal Blue (survey)
#0504AA
ΔE00 5.13
Indigo Blue
#3A18B1
ΔE00 5.22
Ultramarine
#2000B1
ΔE00 5.72
Midnight Blue
#191970
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2296 #96921E
analogous
#1E5E96 #1E2296 #561E96
triadic
#1E2296 #961E22 #22961E
tetradic
#1E2296 #961E5E #96921E #1E9656
square
#1E2296 #961E5E #96921E #1E9656
split-complementary
#1E2296 #96561E #5E961E
monochromatic
#0A0B30 #141663 #1E2296 #282EC9 #5257DC
Accessibility & contrast
On white
12.18
#1E2296 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.72
#1E2296 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2296
12.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2296 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2296 | 1.00 | 12.18 | 1.72 | 12.18 |
| #FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B99
Deuteranopia (green-blind)
#002F94
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1e2296; /* rgb */ color: rgb(30, 34, 150); /* oklch */ color: oklch(34.8% 0.182 270.6);
Tailwind
colors: {
custom: {
50: '#715fb6',
500: '#1e2296',
950: '#000000',
},
}SCSS
$custom: #1e2296; $custom-light: #715fb6; $custom-dark: #000000;
JSON
{
"hex": "#1e2296",
"rgb": {
"r": 30,
"g": 34,
"b": 150
},
"hsl": {
"h": 238,
"s": 66.667,
"l": 35.294
},
"oklch": {
"l": 0.34791,
"c": 0.18189,
"h": 270.6
},
"luminance": 0.03622
}Semantic roles & 50–950 ramp
primary
#1E2296
secondary
#BFBC50
accent
#E43EEA
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980