#4E54E6#4E54E6
#4E54E6 is a mid, highly saturated blue. Relative luminance 0.137; OKLCH L 53.3% C 0.216 H 274.5°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4E54E6 |
|---|---|
| RGB | rgb(78, 84, 230) |
| HSL | hsl(238, 75%, 60%) |
| HSV | hsv(238, 66%, 90%) |
| CMYK | cmyk(66.1%, 63.5%, 0%, 9.8%) |
| CIE-LAB | lab(43.76, 42.71, -74.69) |
| CIE-LCH | lch(43.76, 86.04, 299.76°) |
| OKLab | oklab(53.26% 0.0169 -0.2155) |
| OKLCH | oklch(53.26% 0.216 274.5) |
| XYZ | xyz(20.5904, 13.6717, 76.4014) |
| Luminance | 0.1367 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.80
Electric Blue
#0652FF
ΔE00 4.08
Dark Periwinkle
#665FD1
ΔE00 4.98
Slate Blue
#6A5ACD
ΔE00 5.23
Iris
#6258C4
ΔE00 5.26
Azul
#1D5DEC
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E54E6 #E6E04E
analogous
#4EA0E6 #4E54E6 #944EE6
triadic
#4E54E6 #E64E54 #54E64E
tetradic
#4E54E6 #E64EA0 #E6E04E #4EE694
square
#4E54E6 #E64EA0 #E6E04E #4EE694
split-complementary
#4E54E6 #E6944E #A0E64E
monochromatic
#171CA3 #1F26D8 #4E54E6 #8488EE #B9BCF5
Accessibility & contrast
On white
5.62
#4E54E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#4E54E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E54E6
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E54E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E54E6 | 1.00 | 5.62 | 3.73 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006EEB
Deuteranopia (green-blind)
#0061E3
Tritanopia (blue-blind)
#007A95
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4e54e6; /* rgb */ color: rgb(78, 84, 230); /* oklch */ color: oklch(53.3% 0.216 274.5);
Tailwind
colors: {
custom: {
50: '#9184ef',
500: '#4e54e6',
950: '#000000',
},
}SCSS
$custom: #4e54e6; $custom-light: #9184ef; $custom-dark: #000000;
JSON
{
"hex": "#4e54e6",
"rgb": {
"r": 78,
"g": 84,
"b": 230
},
"hsl": {
"h": 237.632,
"s": 75.248,
"l": 60.392
},
"oklch": {
"l": 0.53257,
"c": 0.21616,
"h": 274.5
},
"luminance": 0.13674
}Semantic roles & 50–950 ramp
primary
#4E54E6
secondary
#E5E3AB
accent
#CF0ED7
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85