#4E62E2#4E62E2
#4E62E2 is a mid, vivid blue. Relative luminance 0.158; OKLCH L 55.4% C 0.194 H 271.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #4E62E2 |
|---|---|
| RGB | rgb(78, 98, 226) |
| HSL | hsl(232, 72%, 60%) |
| HSV | hsv(232, 65%, 89%) |
| CMYK | cmyk(65.5%, 56.6%, 0%, 11.4%) |
| CIE-LAB | lab(46.77, 32.83, -67.52) |
| CIE-LCH | lch(46.77, 75.08, 295.93°) |
| OKLab | oklab(55.39% 0.006 -0.1943) |
| OKLCH | oklch(55.39% 0.194 271.8) |
| XYZ | xyz(21.2324, 15.8441, 73.8760) |
| Luminance | 0.1585 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Royal Blue
#4169E1
ΔE00 3.29
Warm Blue
#4B57DB
ΔE00 3.64
Azul
#1D5DEC
ΔE00 3.90
Dark Periwinkle
#665FD1
ΔE00 4.51
Bright Blue
#0165FC
ΔE00 4.86
Cornflower Blue
#5170D7
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E62E2 #E2CE4E
analogous
#4EACE2 #4E62E2 #844EE2
triadic
#4E62E2 #E24E62 #62E24E
tetradic
#4E62E2 #E24EAC #E2CE4E #4EE284
square
#4E62E2 #E24EAC #E2CE4E #4EE284
split-complementary
#4E62E2 #E2844E #ACE24E
monochromatic
#1A2B9C #223AD1 #4E62E2 #8391EB #B7BFF3
Accessibility & contrast
On white
5.04
#4E62E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#4E62E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E62E2
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E62E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E62E2 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076E6
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#008198
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #4e62e2; /* rgb */ color: rgb(78, 98, 226); /* oklch */ color: oklch(55.4% 0.194 271.8);
Tailwind
colors: {
custom: {
50: '#8f8eec',
500: '#4e62e2',
950: '#000000',
},
}SCSS
$custom: #4e62e2; $custom-light: #8f8eec; $custom-dark: #000000;
JSON
{
"hex": "#4e62e2",
"rgb": {
"r": 78,
"g": 98,
"b": 226
},
"hsl": {
"h": 231.892,
"s": 71.845,
"l": 59.608
},
"oklch": {
"l": 0.55385,
"c": 0.19441,
"h": 271.8
},
"luminance": 0.15846
}Semantic roles & 50–950 ramp
primary
#4E62E2
secondary
#E3DBA9
accent
#D639EF
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84