#1E2B7C#1E2B7C
#1E2B7C is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.6% C 0.137 H 270.1°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2B7C |
|---|---|
| RGB | rgb(30, 43, 124) |
| HSL | hsl(232, 61%, 30%) |
| HSV | hsv(232, 76%, 49%) |
| CMYK | cmyk(75.8%, 65.3%, 0%, 51.4%) |
| CIE-LAB | lab(21.79, 24.89, -47.51) |
| CIE-LCH | lch(21.79, 53.63, 297.65°) |
| OKLab | oklab(33.56% 0.0002 -0.1373) |
| OKLCH | oklch(33.56% 0.137 270.1) |
| XYZ | xyz(5.0361, 3.4585, 19.4670) |
| Luminance | 0.0346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 5.21
Royal
#0C1793
ΔE00 6.78
Marine
#042E60
ΔE00 6.81
Sapphire (survey)
#2138AB
ΔE00 7.41
Darkslateblue
#483D8B
ΔE00 7.52
Blueberry
#464196
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2B7C #7C6F1E
analogous
#1E5A7C #1E2B7C #401E7C
triadic
#1E2B7C #7C1E2B #2B7C1E
tetradic
#1E2B7C #7C1E5A #7C6F1E #1E7C40
square
#1E2B7C #7C1E5A #7C6F1E #1E7C40
split-complementary
#1E2B7C #7C401E #5A7C1E
monochromatic
#060919 #121A4B #1E2B7C #2A3CAD #4357D1
Accessibility & contrast
On white
12.41
#1E2B7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.69
#1E2B7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2B7C
12.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2B7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2B7C | 1.00 | 12.41 | 1.69 | 12.41 |
| #FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00397F
Deuteranopia (green-blind)
#00307A
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1e2b7c; /* rgb */ color: rgb(30, 43, 124); /* oklch */ color: oklch(33.6% 0.137 270.1);
Tailwind
colors: {
custom: {
50: '#6964a3',
500: '#1e2b7c',
950: '#000000',
},
}SCSS
$custom: #1e2b7c; $custom-light: #6964a3; $custom-dark: #000000;
JSON
{
"hex": "#1e2b7c",
"rgb": {
"r": 30,
"g": 43,
"b": 124
},
"hsl": {
"h": 231.702,
"s": 61.039,
"l": 30.196
},
"oklch": {
"l": 0.33563,
"c": 0.13727,
"h": 270.1
},
"luminance": 0.03459
}Semantic roles & 50–950 ramp
primary
#1E2B7C
secondary
#AFA146
accent
#CE44E4
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F