#1E2292#1E2292
#1E2292 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.3% C 0.177 H 270.8°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2292 |
|---|---|
| RGB | rgb(30, 34, 146) |
| HSL | hsl(238, 66%, 35%) |
| HSV | hsv(238, 79%, 57%) |
| CMYK | cmyk(79.5%, 76.7%, 0%, 42.7%) |
| CIE-LAB | lab(21.93, 38.82, -61.08) |
| CIE-LCH | lch(21.93, 72.37, 302.43°) |
| OKLab | oklab(34.34% 0.0026 -0.1769) |
| OKLCH | oklch(34.34% 0.177 270.8) |
| XYZ | xyz(6.2940, 3.4947, 27.5314) |
| Luminance | 0.0350 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal
#0C1793
ΔE00 2.53
Cobalt Blue
#030AA7
ΔE00 4.87
Midnight Blue
#191970
ΔE00 5.41
Royal Blue (survey)
#0504AA
ΔE00 5.48
Indigo Blue
#3A18B1
ΔE00 5.71
Darkblue
#00008B
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2292 #928E1E
analogous
#1E5C92 #1E2292 #541E92
triadic
#1E2292 #921E22 #22921E
tetradic
#1E2292 #921E5C #928E1E #1E9254
square
#1E2292 #921E5C #928E1E #1E9254
split-complementary
#1E2292 #92541E #5C921E
monochromatic
#090A2C #14165F #1E2292 #282EC5 #4F54DB
Accessibility & contrast
On white
12.36
#1E2292 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.70
#1E2292 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2292
12.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2292 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2292 | 1.00 | 12.36 | 1.70 | 12.36 |
| #FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#002F90
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1e2292; /* rgb */ color: rgb(30, 34, 146); /* oklch */ color: oklch(34.3% 0.177 270.8);
Tailwind
colors: {
custom: {
50: '#705fb3',
500: '#1e2292',
950: '#000000',
},
}SCSS
$custom: #1e2292; $custom-light: #705fb3; $custom-dark: #000000;
JSON
{
"hex": "#1e2292",
"rgb": {
"r": 30,
"g": 34,
"b": 146
},
"hsl": {
"h": 237.931,
"s": 65.909,
"l": 34.51
},
"oklch": {
"l": 0.34337,
"c": 0.1769,
"h": 270.8
},
"luminance": 0.03495
}Semantic roles & 50–950 ramp
primary
#1E2292
secondary
#BEBA4E
accent
#E33FE9
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090411
muted
#7B7980