#4E5FDF#4E5FDF
#4E5FDF is a mid, vivid blue. Relative luminance 0.151; OKLCH L 54.6% C 0.194 H 272.5°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5FDF |
|---|---|
| RGB | rgb(78, 95, 223) |
| HSL | hsl(233, 69%, 59%) |
| HSV | hsv(233, 65%, 87%) |
| CMYK | cmyk(65%, 57.4%, 0%, 12.5%) |
| CIE-LAB | lab(45.81, 33.66, -67.38) |
| CIE-LCH | lch(45.81, 75.32, 296.55°) |
| OKLab | oklab(54.6% 0.0085 -0.1939) |
| OKLCH | oklch(54.6% 0.194 272.5) |
| XYZ | xyz(20.5489, 15.1300, 71.6352) |
| Luminance | 0.1513 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.58
Azul
#1D5DEC
ΔE00 3.88
Dark Periwinkle
#665FD1
ΔE00 4.08
Royal Blue
#4169E1
ΔE00 4.15
Electric Blue
#0652FF
ΔE00 5.39
Bright Blue
#0165FC
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5FDF #DFCE4E
analogous
#4EA7DF #4E5FDF #864EDF
triadic
#4E5FDF #DF4E5F #5FDF4E
tetradic
#4E5FDF #DF4EA7 #DFCE4E #4EDF86
square
#4E5FDF #DF4EA7 #DFCE4E #4EDF86
split-complementary
#4E5FDF #DF864E #A7DF4E
monochromatic
#1B2A97 #2538CB #4E5FDF #828EE8 #B6BDF2
Accessibility & contrast
On white
5.22
#4E5FDF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#4E5FDF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5FDF
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5FDF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5FDF | 1.00 | 5.22 | 4.03 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#007E96
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #4e5fdf; /* rgb */ color: rgb(78, 95, 223); /* oklch */ color: oklch(54.6% 0.194 272.5);
Tailwind
colors: {
custom: {
50: '#8f8cea',
500: '#4e5fdf',
950: '#000000',
},
}SCSS
$custom: #4e5fdf; $custom-light: #8f8cea; $custom-dark: #000000;
JSON
{
"hex": "#4e5fdf",
"rgb": {
"r": 78,
"g": 95,
"b": 223
},
"hsl": {
"h": 232.966,
"s": 69.378,
"l": 59.02
},
"oklch": {
"l": 0.54603,
"c": 0.19412,
"h": 272.5
},
"luminance": 0.15132
}Semantic roles & 50–950 ramp
primary
#4E5FDF
secondary
#E1DAA8
accent
#D73CEC
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84