#4E5FE1#4E5FE1
#4E5FE1 is a mid, vivid blue. Relative luminance 0.152; OKLCH L 54.8% C 0.197 H 272.5°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5FE1 |
|---|---|
| RGB | rgb(78, 95, 225) |
| HSL | hsl(233, 71%, 59%) |
| HSV | hsv(233, 65%, 88%) |
| CMYK | cmyk(65.3%, 57.8%, 0%, 11.8%) |
| CIE-LAB | lab(45.96, 34.34, -68.27) |
| CIE-LCH | lch(45.96, 76.42, 296.70°) |
| OKLab | oklab(54.76% 0.0085 -0.1966) |
| OKLCH | oklch(54.76% 0.197 272.5) |
| XYZ | xyz(20.8202, 15.2385, 73.0637) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.66
Azul
#1D5DEC
ΔE00 3.86
Dark Periwinkle
#665FD1
ΔE00 4.15
Royal Blue
#4169E1
ΔE00 4.16
Electric Blue
#0652FF
ΔE00 5.28
Bright Blue
#0165FC
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5FE1 #E1D04E
analogous
#4EA9E1 #4E5FE1 #874EE1
triadic
#4E5FE1 #E14E5F #5FE14E
tetradic
#4E5FE1 #E14EA9 #E1D04E #4EE187
square
#4E5FE1 #E14EA9 #E1D04E #4EE187
split-complementary
#4E5FE1 #E1874E #A9E14E
monochromatic
#1A299A #2337CF #4E5FE1 #828EEA #B7BEF3
Accessibility & contrast
On white
5.19
#4E5FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#4E5FE1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5FE1
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5FE1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5FE1 | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0074E5
Deuteranopia (green-blind)
#0066DE
Tritanopia (blue-blind)
#007F97
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #4e5fe1; /* rgb */ color: rgb(78, 95, 225); /* oklch */ color: oklch(54.8% 0.197 272.5);
Tailwind
colors: {
custom: {
50: '#8f8ceb',
500: '#4e5fe1',
950: '#000000',
},
}SCSS
$custom: #4e5fe1; $custom-light: #8f8ceb; $custom-dark: #000000;
JSON
{
"hex": "#4e5fe1",
"rgb": {
"r": 78,
"g": 95,
"b": 225
},
"hsl": {
"h": 233.061,
"s": 71.014,
"l": 59.412
},
"oklch": {
"l": 0.54759,
"c": 0.19674,
"h": 272.5
},
"luminance": 0.1524
}Semantic roles & 50–950 ramp
primary
#4E5FE1
secondary
#E2DBA9
accent
#D93AEE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84