#1E2A7A#1E2A7A
#1E2A7A is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.136 H 270.4°. Best body text is #FFFFFF at 12.59:1 contrast (WCAG AA passes).
Color values
| HEX | #1E2A7A |
|---|---|
| RGB | rgb(30, 42, 122) |
| HSL | hsl(232, 61%, 30%) |
| HSV | hsv(232, 75%, 48%) |
| CMYK | cmyk(75.4%, 65.6%, 0%, 52.2%) |
| CIE-LAB | lab(21.34, 24.81, -46.97) |
| CIE-LCH | lch(21.34, 53.12, 297.84°) |
| OKLab | oklab(33.18% 0.001 -0.1357) |
| OKLCH | oklch(33.18% 0.136 270.4) |
| XYZ | xyz(4.8750, 3.3366, 18.7957) |
| Luminance | 0.0334 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Midnight Blue
#191970
ΔE00 4.89
Royal
#0C1793
ΔE00 6.76
Marine
#042E60
ΔE00 6.79
Darkslateblue
#483D8B
ΔE00 7.70
Sapphire (survey)
#2138AB
ΔE00 7.78
Blueberry
#464196
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E2A7A #7A6E1E
analogous
#1E587A #1E2A7A #401E7A
triadic
#1E2A7A #7A1E2A #2A7A1E
tetradic
#1E2A7A #7A1E58 #7A6E1E #1E7A40
square
#1E2A7A #7A1E58 #7A6E1E #1E7A40
split-complementary
#1E2A7A #7A401E #587A1E
monochromatic
#060819 #121949 #1E2A7A #2A3BAB #4255D0
Accessibility & contrast
On white
12.59
#1E2A7A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#1E2A7A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E2A7A
12.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E2A7A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E2A7A | 1.00 | 12.59 | 1.67 | 12.59 |
| #FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00387D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #1e2a7a; /* rgb */ color: rgb(30, 42, 122); /* oklch */ color: oklch(33.2% 0.136 270.4);
Tailwind
colors: {
custom: {
50: '#6963a1',
500: '#1e2a7a',
950: '#000000',
},
}SCSS
$custom: #1e2a7a; $custom-light: #6963a1; $custom-dark: #000000;
JSON
{
"hex": "#1e2a7a",
"rgb": {
"r": 30,
"g": 42,
"b": 122
},
"hsl": {
"h": 232.174,
"s": 60.526,
"l": 29.804
},
"oklch": {
"l": 0.33176,
"c": 0.13571,
"h": 270.4
},
"luminance": 0.03337
}Semantic roles & 50–950 ramp
primary
#1E2A7A
secondary
#AEA046
accent
#CF44E4
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F