#4E5FD4#4E5FD4
#4E5FD4 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.179 H 272.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5FD4 |
|---|---|
| RGB | rgb(78, 95, 212) |
| HSL | hsl(232, 61%, 57%) |
| HSV | hsv(232, 63%, 83%) |
| CMYK | cmyk(63.2%, 55.2%, 0%, 16.9%) |
| CIE-LAB | lab(45.02, 29.92, -62.39) |
| CIE-LCH | lch(45.02, 69.20, 295.62°) |
| OKLab | oklab(53.76% 0.0082 -0.1793) |
| OKLCH | oklch(53.76% 0.179 272.6) |
| XYZ | xyz(19.1138, 14.5559, 64.0769) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.67
Dark Periwinkle
#665FD1
ΔE00 4.01
Azul
#1D5DEC
ΔE00 4.29
Royal Blue
#4169E1
ΔE00 4.35
Iris
#6258C4
ΔE00 4.93
Slate Blue
#6A5ACD
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5FD4 #D4C34E
analogous
#4EA2D4 #4E5FD4 #804ED4
triadic
#4E5FD4 #D44E5F #5FD44E
tetradic
#4E5FD4 #D44EA2 #D4C34E #4ED480
square
#4E5FD4 #D44EA2 #D4C34E #4ED480
split-complementary
#4E5FD4 #D4804E #A2D44E
monochromatic
#212E87 #2D3EB8 #4E5FD4 #7F8CE0 #B0B8EC
Accessibility & contrast
On white
5.37
#4E5FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#4E5FD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5FD4
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5FD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5FD4 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#007B90
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4e5fd4; /* rgb */ color: rgb(78, 95, 212); /* oklch */ color: oklch(53.8% 0.179 272.6);
Tailwind
colors: {
custom: {
50: '#8d8ce2',
500: '#4e5fd4',
950: '#000000',
},
}SCSS
$custom: #4e5fd4; $custom-light: #8d8ce2; $custom-dark: #000000;
JSON
{
"hex": "#4e5fd4",
"rgb": {
"r": 78,
"g": 95,
"b": 212
},
"hsl": {
"h": 232.388,
"s": 60.909,
"l": 56.863
},
"oklch": {
"l": 0.53762,
"c": 0.17947,
"h": 272.6
},
"luminance": 0.14558
}Semantic roles & 50–950 ramp
primary
#4E5FD4
secondary
#DAD3A4
accent
#D044E4
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0D0C15
muted
#7E7D83