#4951E7#4951E7
#4951E7 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.6% C 0.222 H 273.5°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4951E7 |
|---|---|
| RGB | rgb(73, 81, 231) |
| HSL | hsl(237, 77%, 60%) |
| HSV | hsv(237, 68%, 91%) |
| CMYK | cmyk(68.4%, 64.9%, 0%, 9.4%) |
| CIE-LAB | lab(42.87, 44.20, -76.73) |
| CIE-LCH | lch(42.87, 88.55, 299.94°) |
| OKLab | oklab(52.55% 0.0135 -0.2216) |
| OKLCH | oklch(52.55% 0.222 273.5) |
| XYZ | xyz(20.1091, 13.0689, 77.0486) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.23
Electric Blue
#0652FF
ΔE00 3.75
Purpleish Blue
#6140EF
ΔE00 5.21
Azul
#1D5DEC
ΔE00 5.51
Iris
#6258C4
ΔE00 5.72
Blue (survey)
#0343DF
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4951E7 #E7DF49
analogous
#49A0E7 #4951E7 #9049E7
triadic
#4951E7 #E74951 #51E749
tetradic
#4951E7 #E749A0 #E7DF49 #49E790
square
#4951E7 #E749A0 #E7DF49 #49E790
split-complementary
#4951E7 #E79049 #A0E749
monochromatic
#151CA0 #1C26D7 #4951E7 #7F85EE #B5B8F5
Accessibility & contrast
On white
5.81
#4951E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#4951E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4951E7
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4951E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4951E7 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#005EE4
Tritanopia (blue-blind)
#007895
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4951e7; /* rgb */ color: rgb(73, 81, 231); /* oklch */ color: oklch(52.6% 0.222 273.5);
Tailwind
colors: {
custom: {
50: '#8f82f0',
500: '#4951e7',
950: '#000000',
},
}SCSS
$custom: #4951e7; $custom-light: #8f82f0; $custom-dark: #000000;
JSON
{
"hex": "#4951e7",
"rgb": {
"r": 73,
"g": 81,
"b": 231
},
"hsl": {
"h": 236.962,
"s": 76.699,
"l": 59.608
},
"oklch": {
"l": 0.52553,
"c": 0.22201,
"h": 273.5
},
"luminance": 0.13071
}Semantic roles & 50–950 ramp
primary
#4951E7
secondary
#E5E1A7
accent
#EA35F3
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A17
muted
#7E7C85