#4D56C2#4D56C2
#4D56C2 is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.6% C 0.167 H 275.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4D56C2 |
|---|---|
| RGB | rgb(77, 86, 194) |
| HSL | hsl(235, 49%, 53%) |
| HSV | hsv(235, 60%, 76%) |
| CMYK | cmyk(60.3%, 55.7%, 0%, 23.9%) |
| CIE-LAB | lab(41.42, 29.29, -57.85) |
| CIE-LCH | lch(41.42, 64.85, 296.85°) |
| OKLab | oklab(50.65% 0.015 -0.166) |
| OKLCH | oklch(50.65% 0.167 275.1) |
| XYZ | xyz(16.1228, 12.1271, 52.5196) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.38
Iris
#6258C4
ΔE00 3.64
Dark Periwinkle
#665FD1
ΔE00 5.20
Slate Blue
#6A5ACD
ΔE00 5.29
Light Indigo
#6D5ACF
ΔE00 5.89
Ocean Blue
#4F42B5
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D56C2 #C2B94D
analogous
#4D90C2 #4D56C2 #7F4DC2
triadic
#4D56C2 #C24D56 #56C24D
tetradic
#4D56C2 #C24D90 #C2B94D #4DC27F
square
#4D56C2 #C24D90 #C2B94D #4DC27F
split-complementary
#4D56C2 #C27F4D #90C24D
monochromatic
#262C6F #363D9C #4D56C2 #7B81D2 #A8ADE1
Accessibility & contrast
On white
6.13
#4D56C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#4D56C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D56C2
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D56C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D56C2 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067C6
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#006F83
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #4d56c2; /* rgb */ color: rgb(77, 86, 194); /* oklch */ color: oklch(50.6% 0.167 275.1);
Tailwind
colors: {
custom: {
50: '#8a85d5',
500: '#4d56c2',
950: '#000000',
},
}SCSS
$custom: #4d56c2; $custom-light: #8a85d5; $custom-dark: #000000;
JSON
{
"hex": "#4d56c2",
"rgb": {
"r": 77,
"g": 86,
"b": 194
},
"hsl": {
"h": 235.385,
"s": 48.954,
"l": 53.137
},
"oklch": {
"l": 0.5065,
"c": 0.16671,
"h": 275.1
},
"luminance": 0.12128
}Semantic roles & 50–950 ramp
primary
#4D56C2
secondary
#CFCB9C
accent
#CE4FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83