#4E5FD5#4E5FD5
#4E5FD5 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.181 H 272.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5FD5 |
|---|---|
| RGB | rgb(78, 95, 213) |
| HSL | hsl(232, 62%, 57%) |
| HSV | hsv(232, 63%, 84%) |
| CMYK | cmyk(63.4%, 55.4%, 0%, 16.5%) |
| CIE-LAB | lab(45.09, 30.26, -62.85) |
| CIE-LCH | lch(45.09, 69.76, 295.71°) |
| OKLab | oklab(53.84% 0.0083 -0.1806) |
| OKLCH | oklch(53.84% 0.181 272.6) |
| XYZ | xyz(19.2403, 14.6066, 64.7433) |
| Luminance | 0.1461 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.63
Dark Periwinkle
#665FD1
ΔE00 3.99
Azul
#1D5DEC
ΔE00 4.23
Royal Blue
#4169E1
ΔE00 4.31
Iris
#6258C4
ΔE00 4.97
Slate Blue
#6A5ACD
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5FD5 #D5C44E
analogous
#4EA3D5 #4E5FD5 #804ED5
triadic
#4E5FD5 #D54E5F #5FD54E
tetradic
#4E5FD5 #D54EA3 #D5C44E #4ED580
square
#4E5FD5 #D54EA3 #D5C44E #4ED580
split-complementary
#4E5FD5 #D5804E #A3D54E
monochromatic
#202D88 #2C3EBA #4E5FD5 #7F8CE1 #B1B8EC
Accessibility & contrast
On white
5.35
#4E5FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#4E5FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5FD5
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5FD5 | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0065D3
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4e5fd5; /* rgb */ color: rgb(78, 95, 213); /* oklch */ color: oklch(53.8% 0.181 272.6);
Tailwind
colors: {
custom: {
50: '#8d8ce3',
500: '#4e5fd5',
950: '#000000',
},
}SCSS
$custom: #4e5fd5; $custom-light: #8d8ce3; $custom-dark: #000000;
JSON
{
"hex": "#4e5fd5",
"rgb": {
"r": 78,
"g": 95,
"b": 213
},
"hsl": {
"h": 232.444,
"s": 61.644,
"l": 57.059
},
"oklch": {
"l": 0.53837,
"c": 0.18081,
"h": 272.6
},
"luminance": 0.14608
}Semantic roles & 50–950 ramp
primary
#4E5FD5
secondary
#DBD4A4
accent
#D043E5
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C15
muted
#7E7D84