#4D56D7#4D56D7
#4D56D7 is a mid, vivid blue. Relative luminance 0.131; OKLCH L 52.3% C 0.195 H 274.4°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #4D56D7 |
|---|---|
| RGB | rgb(77, 86, 215) |
| HSL | hsl(236, 63%, 57%) |
| HSV | hsv(236, 64%, 84%) |
| CMYK | cmyk(64.2%, 60%, 0%, 15.7%) |
| CIE-LAB | lab(42.97, 36.36, -67.44) |
| CIE-LCH | lch(42.97, 76.62, 298.33°) |
| OKLab | oklab(52.29% 0.015 -0.1942) |
| OKLCH | oklch(52.29% 0.195 274.4) |
| XYZ | xyz(18.6500, 13.1381, 65.8299) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.65
Iris
#6258C4
ΔE00 4.12
Dark Periwinkle
#665FD1
ΔE00 4.44
Slate Blue
#6A5ACD
ΔE00 4.78
Azul
#1D5DEC
ΔE00 5.13
Electric Blue
#0652FF
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D56D7 #D7CE4D
analogous
#4D9BD7 #4D56D7 #894DD7
triadic
#4D56D7 #D74D56 #56D74D
tetradic
#4D56D7 #D74D9B #D7CE4D #4DD789
square
#4D56D7 #D74D9B #D7CE4D #4DD789
split-complementary
#4D56D7 #D7894D #9BD74D
monochromatic
#1F268A #2A34BC #4D56D7 #7F85E2 #B1B5ED
Accessibility & contrast
On white
5.79
#4D56D7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#4D56D7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D56D7
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D56D7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D56D7 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#005FD4
Tritanopia (blue-blind)
#00768E
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4d56d7; /* rgb */ color: rgb(77, 86, 215); /* oklch */ color: oklch(52.3% 0.195 274.4);
Tailwind
colors: {
custom: {
50: '#8e85e4',
500: '#4d56d7',
950: '#000000',
},
}SCSS
$custom: #4d56d7; $custom-light: #8e85e4; $custom-dark: #000000;
JSON
{
"hex": "#4d56d7",
"rgb": {
"r": 77,
"g": 86,
"b": 215
},
"hsl": {
"h": 236.087,
"s": 63.303,
"l": 57.255
},
"oklch": {
"l": 0.52292,
"c": 0.19481,
"h": 274.4
},
"luminance": 0.1314
}Semantic roles & 50–950 ramp
primary
#4D56D7
secondary
#DCD8A4
accent
#DC41E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84