#4856D5#4856D5
#4856D5 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.193 H 272.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4856D5 |
|---|---|
| RGB | rgb(72, 86, 213) |
| HSL | hsl(234, 63%, 56%) |
| HSV | hsv(234, 66%, 84%) |
| CMYK | cmyk(66.2%, 59.6%, 0%, 16.5%) |
| CIE-LAB | lab(42.51, 34.95, -67.05) |
| CIE-LCH | lch(42.51, 75.61, 297.53°) |
| OKLab | oklab(51.83% 0.0096 -0.1932) |
| OKLCH | oklch(51.83% 0.193 272.8) |
| XYZ | xyz(18.0065, 12.8358, 64.4665) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.99
Iris
#6258C4
ΔE00 4.54
Azul
#1D5DEC
ΔE00 4.76
Dark Periwinkle
#665FD1
ΔE00 4.99
Electric Blue
#0652FF
ΔE00 5.06
Slate Blue
#6A5ACD
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4856D5 #D5C748
analogous
#489CD5 #4856D5 #8048D5
triadic
#4856D5 #D54856 #56D548
tetradic
#4856D5 #D5489C #D5C748 #48D580
square
#4856D5 #D5489C #D5C748 #48D580
split-complementary
#4856D5 #D58048 #9CD548
monochromatic
#1E2884 #2A38B6 #4856D5 #7A84E0 #ACB2EC
Accessibility & contrast
On white
5.89
#4856D5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#4856D5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4856D5
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4856D5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4856D5 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 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: #4856d5; /* rgb */ color: rgb(72, 86, 213); /* oklch */ color: oklch(51.8% 0.193 272.8);
Tailwind
colors: {
custom: {
50: '#8b85e3',
500: '#4856d5',
950: '#000000',
},
}SCSS
$custom: #4856d5; $custom-light: #8b85e3; $custom-dark: #000000;
JSON
{
"hex": "#4856d5",
"rgb": {
"r": 72,
"g": 86,
"b": 213
},
"hsl": {
"h": 234.043,
"s": 62.667,
"l": 55.882
},
"oklch": {
"l": 0.51827,
"c": 0.19345,
"h": 272.8
},
"luminance": 0.12837
}Semantic roles & 50–950 ramp
primary
#4856D5
secondary
#DAD49F
accent
#D542E6
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B16
muted
#7E7C84