#4C56D2#4C56D2
#4C56D2 is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.188 H 274.3°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4C56D2 |
|---|---|
| RGB | rgb(76, 86, 210) |
| HSL | hsl(236, 60%, 56%) |
| HSV | hsv(236, 64%, 82%) |
| CMYK | cmyk(63.8%, 59%, 0%, 17.6%) |
| CIE-LAB | lab(42.53, 34.53, -65.30) |
| CIE-LCH | lch(42.53, 73.87, 297.87°) |
| OKLab | oklab(51.83% 0.014 -0.188) |
| OKLCH | oklch(51.83% 0.188 274.3) |
| XYZ | xyz(17.9373, 12.8437, 62.4941) |
| Luminance | 0.1285 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.22
Iris
#6258C4
ΔE00 3.96
Dark Periwinkle
#665FD1
ΔE00 4.60
Slate Blue
#6A5ACD
ΔE00 4.90
Azul
#1D5DEC
ΔE00 5.30
Light Indigo
#6D5ACF
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C56D2 #D2C84C
analogous
#4C99D2 #4C56D2 #854CD2
triadic
#4C56D2 #D24C56 #56D24C
tetradic
#4C56D2 #D24C99 #D2C84C #4CD285
square
#4C56D2 #D24C99 #D2C84C #4CD285
split-complementary
#4C56D2 #D2854C #99D24C
monochromatic
#212883 #2D37B4 #4C56D2 #7D84DE #AEB2EB
Accessibility & contrast
On white
5.88
#4C56D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#4C56D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C56D2
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C56D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C56D2 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#005FD0
Tritanopia (blue-blind)
#00748C
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4c56d2; /* rgb */ color: rgb(76, 86, 210); /* oklch */ color: oklch(51.8% 0.188 274.3);
Tailwind
colors: {
custom: {
50: '#8c85e1',
500: '#4c56d2',
950: '#000000',
},
}SCSS
$custom: #4c56d2; $custom-light: #8c85e1; $custom-dark: #000000;
JSON
{
"hex": "#4c56d2",
"rgb": {
"r": 76,
"g": 86,
"b": 210
},
"hsl": {
"h": 235.522,
"s": 59.821,
"l": 56.078
},
"oklch": {
"l": 0.51828,
"c": 0.18849,
"h": 274.3
},
"luminance": 0.12845
}Semantic roles & 50–950 ramp
primary
#4C56D2
secondary
#D9D4A1
accent
#D745E3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0D0B15
muted
#7E7C83