#4E5FC2#4E5FC2
#4E5FC2 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.155 H 272.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #4E5FC2 |
|---|---|
| RGB | rgb(78, 95, 194) |
| HSL | hsl(231, 49%, 53%) |
| HSV | hsv(231, 60%, 76%) |
| CMYK | cmyk(59.8%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(43.80, 23.80, -54.01) |
| CIE-LCH | lch(43.80, 59.02, 293.78°) |
| OKLab | oklab(52.45% 0.0071 -0.1546) |
| OKLCH | oklch(52.45% 0.155 272.6) |
| XYZ | xyz(16.9685, 13.6978, 52.7782) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.29
Iris
#6258C4
ΔE00 4.87
Dark Periwinkle
#665FD1
ΔE00 4.94
Royal Blue
#4169E1
ΔE00 5.56
Azul
#1D5DEC
ΔE00 5.84
Slate Blue
#6A5ACD
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4E5FC2 #C2B14E
analogous
#4E99C2 #4E5FC2 #774EC2
triadic
#4E5FC2 #C24E5F #5FC24E
tetradic
#4E5FC2 #C24E99 #C2B14E #4EC277
square
#4E5FC2 #C24E99 #C2B14E #4EC277
split-complementary
#4E5FC2 #C2774E #99C24E
monochromatic
#26316F #36459D #4E5FC2 #7C88D2 #A9B1E1
Accessibility & contrast
On white
5.62
#4E5FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#4E5FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4E5FC2
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4E5FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4E5FC2 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286DC6
Deuteranopia (green-blind)
#0B63C0
Tritanopia (blue-blind)
#007687
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4e5fc2; /* rgb */ color: rgb(78, 95, 194); /* oklch */ color: oklch(52.5% 0.155 272.6);
Tailwind
colors: {
custom: {
50: '#8a8cd5',
500: '#4e5fc2',
950: '#000000',
},
}SCSS
$custom: #4e5fc2; $custom-light: #8a8cd5; $custom-dark: #000000;
JSON
{
"hex": "#4e5fc2",
"rgb": {
"r": 78,
"g": 95,
"b": 194
},
"hsl": {
"h": 231.207,
"s": 48.739,
"l": 53.333
},
"oklch": {
"l": 0.52453,
"c": 0.15477,
"h": 272.6
},
"luminance": 0.13699
}Semantic roles & 50–950 ramp
primary
#4E5FC2
secondary
#CFC89D
accent
#C450D8
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83