#4E5FC7#4E5FC7
#4E5FC7 is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.162 H 272.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5FC7 |
|---|---|
| RGB | rgb(78, 95, 199) |
| HSL | hsl(232, 52%, 54%) |
| HSV | hsv(232, 61%, 78%) |
| CMYK | cmyk(60.8%, 52.3%, 0%, 22%) |
| CIE-LAB | lab(44.13, 25.49, -56.37) |
| CIE-LCH | lch(44.13, 61.87, 294.34°) |
| OKLab | oklab(52.81% 0.0075 -0.1615) |
| OKLCH | oklch(52.81% 0.162 272.7) |
| XYZ | xyz(17.5395, 13.9262, 55.7855) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.73
Dark Periwinkle
#665FD1
ΔE00 4.57
Iris
#6258C4
ΔE00 4.75
Royal Blue
#4169E1
ΔE00 5.14
Azul
#1D5DEC
ΔE00 5.33
Slate Blue
#6A5ACD
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5FC7 #C7B64E
analogous
#4E9CC7 #4E5FC7 #7A4EC7
triadic
#4E5FC7 #C74E5F #5FC74E
tetradic
#4E5FC7 #C74E9C #C7B64E #4EC77A
square
#4E5FC7 #C74E9C #C7B64E #4EC77A
split-complementary
#4E5FC7 #C77A4E #9CC74E
monochromatic
#253075 #3444A4 #4E5FC7 #7C89D6 #ABB3E4
Accessibility & contrast
On white
5.55
#4E5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#4E5FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5FC7
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5FC7 | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216ECB
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4e5fc7; /* rgb */ color: rgb(78, 95, 199); /* oklch */ color: oklch(52.8% 0.162 272.7);
Tailwind
colors: {
custom: {
50: '#8b8cd9',
500: '#4e5fc7',
950: '#000000',
},
}SCSS
$custom: #4e5fc7; $custom-light: #8b8cd9; $custom-dark: #000000;
JSON
{
"hex": "#4e5fc7",
"rgb": {
"r": 78,
"g": 95,
"b": 199
},
"hsl": {
"h": 231.57,
"s": 51.931,
"l": 54.314
},
"oklch": {
"l": 0.52808,
"c": 0.16172,
"h": 272.7
},
"luminance": 0.13928
}Semantic roles & 50–950 ramp
primary
#4E5FC7
secondary
#D2CB9F
accent
#C74CDB
background
#F9F8FD
surface
#F1F0FA
border
#CBCBD3
text
#0D0C15
muted
#7E7D83