#1E42BC#1E42BC
#1E42BC is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.195 H 265.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1E42BC |
|---|---|
| RGB | rgb(30, 66, 188) |
| HSL | hsl(226, 72%, 43%) |
| HSV | hsv(226, 84%, 74%) |
| CMYK | cmyk(84%, 64.9%, 0%, 26.3%) |
| CIE-LAB | lab(33.57, 34.06, -67.24) |
| CIE-LCH | lch(33.57, 75.38, 296.86°) |
| OKLab | oklab(44.04% -0.015 -0.1948) |
| OKLCH | oklch(44.04% 0.195 265.6) |
| XYZ | xyz(11.5575, 7.8019, 48.4640) |
| Luminance | 0.0780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Blue Blue
#2242C7
ΔE00 1.63
Sapphire (survey)
#2138AB
ΔE00 3.58
Cobalt
#0047AB
ΔE00 4.22
Blue (survey)
#0343DF
ΔE00 4.33
Ocean Blue
#4F42B5
ΔE00 5.63
Sapphire
#0F52BA
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1E42BC #BC981E
analogous
#1E91BC #1E42BC #491EBC
triadic
#1E42BC #BC1E42 #42BC1E
tetradic
#1E42BC #BC1E91 #BC981E #1EBC49
square
#1E42BC #BC1E91 #BC981E #1EBC49
split-complementary
#1E42BC #BC491E #91BC1E
monochromatic
#0D1D52 #162F87 #1E42BC #385EDF #6D89E8
Accessibility & contrast
On white
8.20
#1E42BC on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#1E42BC on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #1E42BC
8.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1E42BC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1E42BC | 1.00 | 8.20 | 2.56 | 8.20 |
| #FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0048BA
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #1e42bc; /* rgb */ color: rgb(30, 66, 188); /* oklch */ color: oklch(44.0% 0.195 265.6);
Tailwind
colors: {
custom: {
50: '#7876d1',
500: '#1e42bc',
950: '#000000',
},
}SCSS
$custom: #1e42bc; $custom-light: #7876d1; $custom-dark: #000000;
JSON
{
"hex": "#1e42bc",
"rgb": {
"r": 30,
"g": 66,
"b": 188
},
"hsl": {
"h": 226.329,
"s": 72.477,
"l": 42.745
},
"oklch": {
"l": 0.44041,
"c": 0.19537,
"h": 265.6
},
"luminance": 0.07803
}Semantic roles & 50–950 ramp
primary
#1E42BC
secondary
#CEB768
accent
#C639EF
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83