#4956D8#4956D8
#4956D8 is a mid, vivid blue. Relative luminance 0.130; OKLCH L 52.1% C 0.197 H 273.1°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4956D8 |
|---|---|
| RGB | rgb(73, 86, 216) |
| HSL | hsl(235, 65%, 57%) |
| HSV | hsv(235, 66%, 85%) |
| CMYK | cmyk(66.2%, 60.2%, 0%, 15.3%) |
| CIE-LAB | lab(42.81, 36.12, -68.29) |
| CIE-LCH | lch(42.81, 77.26, 297.87°) |
| OKLab | oklab(52.13% 0.0106 -0.1968) |
| OKLCH | oklch(52.13% 0.197 273.1) |
| XYZ | xyz(18.4660, 13.0282, 66.4940) |
| Luminance | 0.1303 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.58
Iris
#6258C4
ΔE00 4.58
Azul
#1D5DEC
ΔE00 4.70
Electric Blue
#0652FF
ΔE00 4.81
Dark Periwinkle
#665FD1
ΔE00 4.85
Slate Blue
#6A5ACD
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4956D8 #D8CB49
analogous
#499ED8 #4956D8 #8349D8
triadic
#4956D8 #D84956 #56D849
tetradic
#4956D8 #D8499E #D8CB49 #49D883
square
#4956D8 #D8499E #D8CB49 #49D883
split-complementary
#4956D8 #D88349 #9ED849
monochromatic
#1D2789 #2836BC #4956D8 #7B85E3 #AEB4EE
Accessibility & contrast
On white
5.82
#4956D8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#4956D8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4956D8
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4956D8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4956D8 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDC
Deuteranopia (green-blind)
#005FD5
Tritanopia (blue-blind)
#00768F
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4956d8; /* rgb */ color: rgb(73, 86, 216); /* oklch */ color: oklch(52.1% 0.197 273.1);
Tailwind
colors: {
custom: {
50: '#8c85e5',
500: '#4956d8',
950: '#000000',
},
}SCSS
$custom: #4956d8; $custom-light: #8c85e5; $custom-dark: #000000;
JSON
{
"hex": "#4956d8",
"rgb": {
"r": 73,
"g": 86,
"b": 216
},
"hsl": {
"h": 234.545,
"s": 64.706,
"l": 56.667
},
"oklch": {
"l": 0.52131,
"c": 0.19712,
"h": 273.1
},
"luminance": 0.1303
}Semantic roles & 50–950 ramp
primary
#4956D8
secondary
#DCD6A1
accent
#D840E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0D0B16
muted
#7E7C84