#1E42A4#1E42A4
#1E42A4 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 41.8% C 0.164 H 264.7°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #1E42A4 |
|---|---|
| RGB | rgb(30, 66, 164) |
| HSL | hsl(224, 69%, 38%) |
| HSV | hsv(224, 82%, 64%) |
| CMYK | cmyk(81.7%, 59.8%, 0%, 35.7%) |
| CIE-LAB | lab(31.47, 24.82, -56.40) |
| CIE-LCH | lch(31.47, 61.62, 293.76°) |
| OKLab | oklab(41.84% -0.0151 -0.163) |
| OKLCH | oklch(41.84% 0.164 264.7) |
| XYZ | xyz(9.1821, 6.8517, 35.9533) |
| Luminance | 0.0685 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Cobalt
#0047AB
ΔE00 2.57
Sapphire (survey)
#2138AB
ΔE00 3.75
Cobalt (survey)
#1E488F
ΔE00 4.32
Blue Blue
#2242C7
ΔE00 5.07
Sapphire
#0F52BA
ΔE00 5.89
Blueberry
#464196
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E42A4 #A4801E
analogous
#1E85A4 #1E42A4 #3D1EA4
triadic
#1E42A4 #A41E42 #42A41E
tetradic
#1E42A4 #A41E85 #A4801E #1EA43D
square
#1E42A4 #A41E85 #A4801E #1EA43D
split-complementary
#1E42A4 #A43D1E #85A41E
monochromatic
#0B183D #152D70 #1E42A4 #2857D8 #5B7FE1
Accessibility & contrast
On white
8.86
#1E42A4 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#1E42A4 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E42A4
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E42A4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E42A4 | 1.00 | 8.86 | 2.37 | 8.86 |
| #FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0050A7
Deuteranopia (green-blind)
#0044A2
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #1e42a4; /* rgb */ color: rgb(30, 66, 164); /* oklch */ color: oklch(41.8% 0.164 264.7);
Tailwind
colors: {
custom: {
50: '#7275c0',
500: '#1e42a4',
950: '#000000',
},
}SCSS
$custom: #1e42a4; $custom-light: #7275c0; $custom-dark: #000000;
JSON
{
"hex": "#1e42a4",
"rgb": {
"r": 30,
"g": 66,
"b": 164
},
"hsl": {
"h": 223.881,
"s": 69.072,
"l": 38.039
},
"oklch": {
"l": 0.41836,
"c": 0.16373,
"h": 264.7
},
"luminance": 0.06853
}Semantic roles & 50–950 ramp
primary
#1E42A4
secondary
#C5A859
accent
#BD3CEC
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090812
muted
#7B7B81