#4E62E1#4E62E1
#4E62E1 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.3% C 0.193 H 271.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #4E62E1 |
|---|---|
| RGB | rgb(78, 98, 225) |
| HSL | hsl(232, 71%, 59%) |
| HSV | hsv(232, 65%, 88%) |
| CMYK | cmyk(65.3%, 56.4%, 0%, 11.8%) |
| CIE-LAB | lab(46.70, 32.48, -67.07) |
| CIE-LCH | lch(46.70, 74.52, 295.84°) |
| OKLab | oklab(55.31% 0.006 -0.193) |
| OKLCH | oklch(55.31% 0.193 271.8) |
| XYZ | xyz(21.0956, 15.7894, 73.1555) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.27
Warm Blue
#4B57DB
ΔE00 3.60
Azul
#1D5DEC
ΔE00 3.90
Dark Periwinkle
#665FD1
ΔE00 4.47
Bright Blue
#0165FC
ΔE00 4.91
Cornflower Blue
#5170D7
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E62E1 #E1CD4E
analogous
#4EABE1 #4E62E1 #844EE1
triadic
#4E62E1 #E14E62 #62E14E
tetradic
#4E62E1 #E14EAB #E1CD4E #4EE184
square
#4E62E1 #E14EAB #E1CD4E #4EE184
split-complementary
#4E62E1 #E1844E #ABE14E
monochromatic
#1A2C9A #233ACF #4E62E1 #8290EA #B7BFF3
Accessibility & contrast
On white
5.05
#4E62E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#4E62E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E62E1
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E62E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E62E1 | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#0068DE
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #4e62e1; /* rgb */ color: rgb(78, 98, 225); /* oklch */ color: oklch(55.3% 0.193 271.8);
Tailwind
colors: {
custom: {
50: '#8f8eeb',
500: '#4e62e1',
950: '#000000',
},
}SCSS
$custom: #4e62e1; $custom-light: #8f8eeb; $custom-dark: #000000;
JSON
{
"hex": "#4e62e1",
"rgb": {
"r": 78,
"g": 98,
"b": 225
},
"hsl": {
"h": 231.837,
"s": 71.014,
"l": 59.412
},
"oklch": {
"l": 0.55309,
"c": 0.19309,
"h": 271.8
},
"luminance": 0.15791
}Semantic roles & 50–950 ramp
primary
#4E62E1
secondary
#E2DAA9
accent
#D53AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84