#4856C6#4856C6
#4856C6 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.173 H 273.2°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #4856C6 |
|---|---|
| RGB | rgb(72, 86, 198) |
| HSL | hsl(233, 53%, 53%) |
| HSV | hsv(233, 64%, 78%) |
| CMYK | cmyk(63.6%, 56.6%, 0%, 22.4%) |
| CIE-LAB | lab(41.39, 29.80, -60.24) |
| CIE-LCH | lch(41.39, 67.20, 296.32°) |
| OKLab | oklab(50.64% 0.0095 -0.1732) |
| OKLCH | oklch(50.64% 0.173 273.2) |
| XYZ | xyz(16.1899, 12.1091, 54.8992) |
| Luminance | 0.1211 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.95
Iris
#6258C4
ΔE00 4.33
Dark Periwinkle
#665FD1
ΔE00 5.54
Slate Blue
#6A5ACD
ΔE00 5.81
Azul
#1D5DEC
ΔE00 5.88
Sapphire
#0F52BA
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4856C6 #C6B848
analogous
#4895C6 #4856C6 #7948C6
triadic
#4856C6 #C64856 #56C648
tetradic
#4856C6 #C64895 #C6B848 #48C679
square
#4856C6 #C64895 #C6B848 #48C679
split-complementary
#4856C6 #C67948 #95C648
monochromatic
#232C71 #323E9F #4856C6 #7781D5 #A5ACE3
Accessibility & contrast
On white
6.14
#4856C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#4856C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4856C6
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4856C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4856C6 | 1.00 | 6.14 | 3.42 | 6.14 |
| #FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CA
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#007185
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4856c6; /* rgb */ color: rgb(72, 86, 198); /* oklch */ color: oklch(50.6% 0.173 273.2);
Tailwind
colors: {
custom: {
50: '#8885d8',
500: '#4856c6',
950: '#000000',
},
}SCSS
$custom: #4856c6; $custom-light: #8885d8; $custom-dark: #000000;
JSON
{
"hex": "#4856c6",
"rgb": {
"r": 72,
"g": 86,
"b": 198
},
"hsl": {
"h": 233.333,
"s": 52.5,
"l": 52.941
},
"oklch": {
"l": 0.50637,
"c": 0.17344,
"h": 273.2
},
"luminance": 0.12111
}Semantic roles & 50–950 ramp
primary
#4856C6
secondary
#D0CA9A
accent
#CC4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0B15
muted
#7D7C83