#1E2A7C#1E2A7C
#1E2A7C is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.139 H 270.4°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2A7C |
|---|---|
| RGB | rgb(30, 42, 124) |
| HSL | hsl(232, 61%, 30%) |
| HSV | hsv(232, 76%, 49%) |
| CMYK | cmyk(75.8%, 66.1%, 0%, 51.4%) |
| CIE-LAB | lab(21.53, 25.58, -47.94) |
| CIE-LCH | lch(21.53, 54.34, 298.08°) |
| OKLab | oklab(33.37% 0.0009 -0.1385) |
| OKLCH | oklch(33.37% 0.139 270.4) |
| XYZ | xyz(5.0002, 3.3867, 19.4550) |
| Luminance | 0.0339 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.89
Royal
#0C1793
ΔE00 6.50
Marine
#042E60
ΔE00 7.03
Sapphire (survey)
#2138AB
ΔE00 7.51
Darkslateblue
#483D8B
ΔE00 7.63
Blueberry
#464196
ΔE00 8.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2A7C #7C701E
analogous
#1E597C #1E2A7C #411E7C
triadic
#1E2A7C #7C1E2A #2A7C1E
tetradic
#1E2A7C #7C1E59 #7C701E #1E7C41
square
#1E2A7C #7C1E59 #7C701E #1E7C41
split-complementary
#1E2A7C #7C411E #597C1E
monochromatic
#060919 #12194B #1E2A7C #2A3BAD #4355D1
Accessibility & contrast
On white
12.52
#1E2A7C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#1E2A7C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2A7C
12.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2A7C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2A7C | 1.00 | 12.52 | 1.68 | 12.52 |
| #FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387F
Deuteranopia (green-blind)
#002F7A
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #1e2a7c; /* rgb */ color: rgb(30, 42, 124); /* oklch */ color: oklch(33.4% 0.139 270.4);
Tailwind
colors: {
custom: {
50: '#6963a3',
500: '#1e2a7c',
950: '#000000',
},
}SCSS
$custom: #1e2a7c; $custom-light: #6963a3; $custom-dark: #000000;
JSON
{
"hex": "#1e2a7c",
"rgb": {
"r": 30,
"g": 42,
"b": 124
},
"hsl": {
"h": 232.34,
"s": 61.039,
"l": 30.196
},
"oklch": {
"l": 0.3337,
"c": 0.13855,
"h": 270.4
},
"luminance": 0.03387
}Semantic roles & 50–950 ramp
primary
#1E2A7C
secondary
#AFA246
accent
#D044E4
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F