#1E2B7F#1E2B7F
#1E2B7F is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.9% C 0.141 H 270.0°. Best body text is #FFFFFF at 12.30:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2B7F |
|---|---|
| RGB | rgb(30, 43, 127) |
| HSL | hsl(232, 62%, 31%) |
| HSV | hsv(232, 76%, 50%) |
| CMYK | cmyk(76.4%, 66.1%, 0%, 50.2%) |
| CIE-LAB | lab(22.07, 26.06, -48.95) |
| CIE-LCH | lch(22.07, 55.46, 298.03°) |
| OKLab | oklab(33.85% 0.0001 -0.1415) |
| OKLCH | oklch(33.85% 0.142 270) |
| XYZ | xyz(5.2288, 3.5355, 20.4814) |
| Luminance | 0.0354 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.24
Royal
#0C1793
ΔE00 6.40
Sapphire (survey)
#2138AB
ΔE00 7.00
Marine
#042E60
ΔE00 7.18
Darkslateblue
#483D8B
ΔE00 7.42
Blueberry
#464196
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2B7F #7F721E
analogous
#1E5B7F #1E2B7F #411E7F
triadic
#1E2B7F #7F1E2B #2B7F1E
tetradic
#1E2B7F #7F1E5B #7F721E #1E7F41
square
#1E2B7F #7F1E5B #7F721E #1E7F41
split-complementary
#1E2B7F #7F411E #5B7F1E
monochromatic
#07091C #121A4D #1E2B7F #2A3CB1 #4458D3
Accessibility & contrast
On white
12.30
#1E2B7F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.71
#1E2B7F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2B7F
12.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2B7F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2B7F | 1.00 | 12.30 | 1.71 | 12.30 |
| #FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003982
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#004151
Achromatopsia (no color)
#353535
Design tokens & code
CSS
--color: #1e2b7f; /* rgb */ color: rgb(30, 43, 127); /* oklch */ color: oklch(33.9% 0.141 270.0);
Tailwind
colors: {
custom: {
50: '#6a64a5',
500: '#1e2b7f',
950: '#000000',
},
}SCSS
$custom: #1e2b7f; $custom-light: #6a64a5; $custom-dark: #000000;
JSON
{
"hex": "#1e2b7f",
"rgb": {
"r": 30,
"g": 43,
"b": 127
},
"hsl": {
"h": 231.959,
"s": 61.783,
"l": 30.784
},
"oklch": {
"l": 0.33854,
"c": 0.1415,
"h": 270
},
"luminance": 0.03536
}Semantic roles & 50–950 ramp
primary
#1E2B7F
secondary
#B2A447
accent
#CF43E5
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07050F
muted
#7A7A7F