#1E2F9D#1E2F9D
#1E2F9D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.177 H 268.6°. Best body text is #FFFFFF at 10.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2F9D |
|---|---|
| RGB | rgb(30, 47, 157) |
| HSL | hsl(232, 68%, 37%) |
| HSV | hsv(232, 81%, 62%) |
| CMYK | cmyk(80.9%, 70.1%, 0%, 38.4%) |
| CIE-LAB | lab(25.99, 34.76, -61.14) |
| CIE-LCH | lch(25.99, 70.33, 299.62°) |
| OKLab | oklab(37.6% -0.0044 -0.1771) |
| OKLCH | oklch(37.6% 0.177 268.6) |
| XYZ | xyz(7.6356, 4.7425, 32.4047) |
| Luminance | 0.0474 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Sapphire (survey)
#2138AB
ΔE00 3.04
Royal
#0C1793
ΔE00 5.91
Indigo Blue
#3A18B1
ΔE00 6.72
Blueberry
#464196
ΔE00 6.74
Darkslateblue
#483D8B
ΔE00 7.34
Cobalt Blue
#030AA7
ΔE00 7.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2F9D #9D8C1E
analogous
#1E6E9D #1E2F9D #4D1E9D
triadic
#1E2F9D #9D1E2F #2F9D1E
tetradic
#1E2F9D #9D1E6E #9D8C1E #1E9D4D
square
#1E2F9D #9D1E6E #9D8C1E #1E9D4D
split-complementary
#1E2F9D #9D4D1E #6E9D1E
monochromatic
#0A1036 #14206A #1E2F9D #283ED0 #5769DF
Accessibility & contrast
On white
10.78
#1E2F9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.95
#1E2F9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2F9D
10.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2F9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2F9D | 1.00 | 10.78 | 1.95 | 10.78 |
| #FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #1e2f9d; /* rgb */ color: rgb(30, 47, 157); /* oklch */ color: oklch(37.6% 0.177 268.6);
Tailwind
colors: {
custom: {
50: '#7168bb',
500: '#1e2f9d',
950: '#000000',
},
}SCSS
$custom: #1e2f9d; $custom-light: #7168bb; $custom-dark: #000000;
JSON
{
"hex": "#1e2f9d",
"rgb": {
"r": 30,
"g": 47,
"b": 157
},
"hsl": {
"h": 231.969,
"s": 67.914,
"l": 36.667
},
"oklch": {
"l": 0.376,
"c": 0.17715,
"h": 268.6
},
"luminance": 0.04743
}Semantic roles & 50–950 ramp
primary
#1E2F9D
secondary
#C2B454
accent
#D43DEB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090612
muted
#7B7A81