#4C56D9#4C56D9
#4C56D9 is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.4% C 0.198 H 274.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #4C56D9 |
|---|---|
| RGB | rgb(76, 86, 217) |
| HSL | hsl(236, 65%, 57%) |
| HSV | hsv(236, 65%, 85%) |
| CMYK | cmyk(65%, 60.4%, 0%, 14.9%) |
| CIE-LAB | lab(43.06, 36.89, -68.44) |
| CIE-LCH | lch(43.06, 77.75, 298.32°) |
| OKLab | oklab(52.39% 0.0138 -0.1972) |
| OKLCH | oklch(52.39% 0.198 274) |
| XYZ | xyz(18.8285, 13.2002, 67.1878) |
| Luminance | 0.1320 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.43
Iris
#6258C4
ΔE00 4.35
Dark Periwinkle
#665FD1
ΔE00 4.55
Electric Blue
#0652FF
ΔE00 4.89
Slate Blue
#6A5ACD
ΔE00 4.92
Azul
#1D5DEC
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C56D9 #D9CF4C
analogous
#4C9CD9 #4C56D9 #894CD9
triadic
#4C56D9 #D94C56 #56D94C
tetradic
#4C56D9 #D94C9C #D9CF4C #4CD989
square
#4C56D9 #D94C9C #D9CF4C #4CD989
split-complementary
#4C56D9 #D9894C #9CD94C
monochromatic
#1E268D #2933BF #4C56D9 #7E86E4 #B1B5EE
Accessibility & contrast
On white
5.77
#4C56D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#4C56D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C56D9
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C56D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C56D9 | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#00778F
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4c56d9; /* rgb */ color: rgb(76, 86, 217); /* oklch */ color: oklch(52.4% 0.198 274.0);
Tailwind
colors: {
custom: {
50: '#8d85e6',
500: '#4c56d9',
950: '#000000',
},
}SCSS
$custom: #4c56d9; $custom-light: #8d85e6; $custom-dark: #000000;
JSON
{
"hex": "#4c56d9",
"rgb": {
"r": 76,
"g": 86,
"b": 217
},
"hsl": {
"h": 235.745,
"s": 64.977,
"l": 57.451
},
"oklch": {
"l": 0.52393,
"c": 0.19766,
"h": 274
},
"luminance": 0.13202
}Semantic roles & 50–950 ramp
primary
#4C56D9
secondary
#DDD9A4
accent
#DC40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84