#4856D4#4856D4
#4856D4 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.7% C 0.192 H 272.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4856D4 |
|---|---|
| RGB | rgb(72, 86, 212) |
| HSL | hsl(234, 62%, 56%) |
| HSV | hsv(234, 66%, 83%) |
| CMYK | cmyk(66%, 59.4%, 0%, 16.9%) |
| CIE-LAB | lab(42.44, 34.61, -66.61) |
| CIE-LCH | lch(42.44, 75.06, 297.46°) |
| OKLab | oklab(51.75% 0.0096 -0.1919) |
| OKLCH | oklch(51.75% 0.192 272.9) |
| XYZ | xyz(17.8800, 12.7851, 63.8001) |
| Luminance | 0.1279 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.11
Iris
#6258C4
ΔE00 4.50
Azul
#1D5DEC
ΔE00 4.82
Dark Periwinkle
#665FD1
ΔE00 5.00
Electric Blue
#0652FF
ΔE00 5.17
Slate Blue
#6A5ACD
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4856D4 #D4C648
analogous
#489CD4 #4856D4 #8048D4
triadic
#4856D4 #D44856 #56D448
tetradic
#4856D4 #D4489C #D4C648 #48D480
square
#4856D4 #D4489C #D4C648 #48D480
split-complementary
#4856D4 #D48048 #9CD448
monochromatic
#1F2983 #2A38B4 #4856D4 #7A84E0 #ABB2EB
Accessibility & contrast
On white
5.90
#4856D4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#4856D4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4856D4
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4856D4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4856D4 | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD8
Deuteranopia (green-blind)
#005ED2
Tritanopia (blue-blind)
#00758D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4856d4; /* rgb */ color: rgb(72, 86, 212); /* oklch */ color: oklch(51.7% 0.192 272.9);
Tailwind
colors: {
custom: {
50: '#8b85e2',
500: '#4856d4',
950: '#000000',
},
}SCSS
$custom: #4856d4; $custom-light: #8b85e2; $custom-dark: #000000;
JSON
{
"hex": "#4856d4",
"rgb": {
"r": 72,
"g": 86,
"b": 212
},
"hsl": {
"h": 234,
"s": 61.947,
"l": 55.686
},
"oklch": {
"l": 0.51746,
"c": 0.19214,
"h": 272.9
},
"luminance": 0.12787
}Semantic roles & 50–950 ramp
primary
#4856D4
secondary
#D9D39F
accent
#D543E5
background
#F9F8FE
surface
#F1EFFC
border
#CBCAD5
text
#0D0B15
muted
#7E7C84