#4E5FF2#4E5FF2
#4E5FF2 is a mid, highly saturated blue. Relative luminance 0.162; OKLCH L 56.1% C 0.219 H 272.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5FF2 |
|---|---|
| RGB | rgb(78, 95, 242) |
| HSL | hsl(234, 86%, 63%) |
| HSV | hsv(234, 68%, 95%) |
| CMYK | cmyk(67.8%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(47.25, 40.09, -75.74) |
| CIE-LCH | lch(47.25, 85.70, 297.89°) |
| OKLab | oklab(56.12% 0.0083 -0.2185) |
| OKLCH | oklch(56.12% 0.219 272.2) |
| XYZ | xyz(23.2557, 16.2127, 85.8910) |
| Luminance | 0.1621 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.03
Azul
#1D5DEC
ΔE00 4.42
Royal Blue
#4169E1
ΔE00 4.80
Electric Blue
#0652FF
ΔE00 4.89
Bright Blue
#0165FC
ΔE00 5.04
Dark Periwinkle
#665FD1
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5FF2 #F2E14E
analogous
#4EB1F2 #4E5FF2 #8F4EF2
triadic
#4E5FF2 #F24E5F #5FF24E
tetradic
#4E5FF2 #F24EB1 #F2E14E #4EF28F
square
#4E5FF2 #F24EB1 #F2E14E #4EF28F
split-complementary
#4E5FF2 #F28F4E #B1F24E
monochromatic
#0E1FB8 #152BEE #4E5FF2 #8793F6 #C0C6FA
Accessibility & contrast
On white
4.95
#4E5FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#4E5FF2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5FF2
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5FF2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5FF2 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0069EF
Tritanopia (blue-blind)
#0084A0
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #4e5ff2; /* rgb */ color: rgb(78, 95, 242); /* oklch */ color: oklch(56.1% 0.219 272.2);
Tailwind
colors: {
custom: {
50: '#928cf7',
500: '#4e5ff2',
950: '#000000',
},
}SCSS
$custom: #4e5ff2; $custom-light: #928cf7; $custom-dark: #000000;
JSON
{
"hex": "#4e5ff2",
"rgb": {
"r": 78,
"g": 95,
"b": 242
},
"hsl": {
"h": 233.78,
"s": 86.316,
"l": 62.745
},
"oklch": {
"l": 0.56121,
"c": 0.21866,
"h": 272.2
},
"luminance": 0.16215
}Semantic roles & 50–950 ramp
primary
#4E5FF2
secondary
#ECE5B0
accent
#CC03E3
background
#F9F8FF
surface
#F2F0FF
border
#CCCBD7
text
#0F0C17
muted
#7E7D85