#4956D5#4956D5
#4956D5 is a mid, vivid blue. Relative luminance 0.129; OKLCH L 51.9% C 0.193 H 273.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4956D5 |
|---|---|
| RGB | rgb(73, 86, 213) |
| HSL | hsl(234, 63%, 56%) |
| HSV | hsv(234, 66%, 84%) |
| CMYK | cmyk(65.7%, 59.6%, 0%, 16.5%) |
| CIE-LAB | lab(42.57, 35.09, -66.95) |
| CIE-LCH | lch(42.57, 75.59, 297.66°) |
| OKLab | oklab(51.89% 0.0107 -0.1929) |
| OKLCH | oklch(51.89% 0.193 273.2) |
| XYZ | xyz(18.0817, 12.8745, 64.4700) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.93
Iris
#6258C4
ΔE00 4.43
Azul
#1D5DEC
ΔE00 4.85
Dark Periwinkle
#665FD1
ΔE00 4.88
Electric Blue
#0652FF
ΔE00 5.11
Slate Blue
#6A5ACD
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4956D5 #D5C849
analogous
#499CD5 #4956D5 #8249D5
triadic
#4956D5 #D54956 #56D549
tetradic
#4956D5 #D5499C #D5C849 #49D582
square
#4956D5 #D5499C #D5C849 #49D582
split-complementary
#4956D5 #D58249 #9CD549
monochromatic
#1F2885 #2A37B7 #4956D5 #7B84E0 #ACB2EC
Accessibility & contrast
On white
5.87
#4956D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#4956D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4956D5
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4956D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4956D5 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#00768D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4956d5; /* rgb */ color: rgb(73, 86, 213); /* oklch */ color: oklch(51.9% 0.193 273.2);
Tailwind
colors: {
custom: {
50: '#8b85e3',
500: '#4956d5',
950: '#000000',
},
}SCSS
$custom: #4956d5; $custom-light: #8b85e3; $custom-dark: #000000;
JSON
{
"hex": "#4956d5",
"rgb": {
"r": 73,
"g": 86,
"b": 213
},
"hsl": {
"h": 234.429,
"s": 62.5,
"l": 56.078
},
"oklch": {
"l": 0.51886,
"c": 0.19319,
"h": 273.2
},
"luminance": 0.12876
}Semantic roles & 50–950 ramp
primary
#4956D5
secondary
#DAD4A0
accent
#D642E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84