#1E42B2#1E42B2
#1E42B2 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.182 H 265.3°. Best body text is #FFFFFF at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #1E42B2 |
|---|---|
| RGB | rgb(30, 66, 178) |
| HSL | hsl(225, 71%, 41%) |
| HSV | hsv(225, 83%, 70%) |
| CMYK | cmyk(83.1%, 62.9%, 0%, 30.2%) |
| CIE-LAB | lab(32.67, 30.26, -62.80) |
| CIE-LCH | lch(32.67, 69.71, 295.73°) |
| OKLab | oklab(43.1% -0.0148 -0.1818) |
| OKLCH | oklch(43.1% 0.182 265.3) |
| XYZ | xyz(10.5167, 7.3855, 42.9821) |
| Luminance | 0.0739 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 3.03
Sapphire (survey)
#2138AB
ΔE00 3.18
Cobalt
#0047AB
ΔE00 3.25
Sapphire
#0F52BA
ΔE00 5.67
Blue (survey)
#0343DF
ΔE00 5.70
Cobalt (survey)
#1E488F
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E42B2 #B28E1E
analogous
#1E8CB2 #1E42B2 #441EB2
triadic
#1E42B2 #B21E42 #42B21E
tetradic
#1E42B2 #B21E8C #B28E1E #1EB244
square
#1E42B2 #B21E8C #B28E1E #1EB244
split-complementary
#1E42B2 #B2441E #8CB21E
monochromatic
#0C1B49 #152F7E #1E42B2 #315BDC #6584E5
Accessibility & contrast
On white
8.48
#1E42B2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.48
#1E42B2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E42B2
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E42B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E42B2 | 1.00 | 8.48 | 2.48 | 8.48 |
| #FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0046B0
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #1e42b2; /* rgb */ color: rgb(30, 66, 178); /* oklch */ color: oklch(43.1% 0.182 265.3);
Tailwind
colors: {
custom: {
50: '#7576ca',
500: '#1e42b2',
950: '#000000',
},
}SCSS
$custom: #1e42b2; $custom-light: #7576ca; $custom-dark: #000000;
JSON
{
"hex": "#1e42b2",
"rgb": {
"r": 30,
"g": 66,
"b": 178
},
"hsl": {
"h": 225.405,
"s": 71.154,
"l": 40.784
},
"oklch": {
"l": 0.43103,
"c": 0.18241,
"h": 265.3
},
"luminance": 0.07387
}Semantic roles & 50–950 ramp
primary
#1E42B2
secondary
#CAB162
accent
#C23AEE
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82