#4D56CD#4D56CD
#4D56CD is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.5% C 0.182 H 274.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #4D56CD |
|---|---|
| RGB | rgb(77, 86, 205) |
| HSL | hsl(236, 56%, 55%) |
| HSV | hsv(236, 62%, 80%) |
| CMYK | cmyk(62.4%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(42.22, 33.00, -62.93) |
| CIE-LCH | lch(42.22, 71.06, 297.67°) |
| OKLab | oklab(51.5% 0.0151 -0.181) |
| OKLCH | oklch(51.5% 0.182 274.8) |
| XYZ | xyz(17.4042, 12.6397, 59.2683) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.87
Iris
#6258C4
ΔE00 3.65
Dark Periwinkle
#665FD1
ΔE00 4.62
Slate Blue
#6A5ACD
ΔE00 4.84
Light Indigo
#6D5ACF
ΔE00 5.38
Azul
#1D5DEC
ΔE00 5.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D56CD #CDC44D
analogous
#4D96CD #4D56CD #844DCD
triadic
#4D56CD #CD4D56 #56CD4D
tetradic
#4D56CD #CD4D96 #CDC44D #4DCD84
square
#4D56CD #CD4D96 #CDC44D #4DCD84
split-complementary
#4D56CD #CD844D #96CD4D
monochromatic
#23297D #3039AC #4D56CD #7D83DA #ADB1E8
Accessibility & contrast
On white
5.95
#4D56CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#4D56CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D56CD
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D56CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D56CD | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#005ECB
Tritanopia (blue-blind)
#007389
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4d56cd; /* rgb */ color: rgb(77, 86, 205); /* oklch */ color: oklch(51.5% 0.182 274.8);
Tailwind
colors: {
custom: {
50: '#8c85dd',
500: '#4d56cd',
950: '#000000',
},
}SCSS
$custom: #4d56cd; $custom-light: #8c85dd; $custom-dark: #000000;
JSON
{
"hex": "#4d56cd",
"rgb": {
"r": 77,
"g": 86,
"b": 205
},
"hsl": {
"h": 235.781,
"s": 56.14,
"l": 55.294
},
"oklch": {
"l": 0.51496,
"c": 0.18159,
"h": 274.8
},
"luminance": 0.12641
}Semantic roles & 50–950 ramp
primary
#4D56CD
secondary
#D6D2A0
accent
#D548DF
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83