#4D56C8#4D56C8
#4D56C8 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.1% C 0.175 H 275.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4D56C8 |
|---|---|
| RGB | rgb(77, 86, 200) |
| HSL | hsl(236, 53%, 54%) |
| HSV | hsv(236, 62%, 78%) |
| CMYK | cmyk(61.5%, 57%, 0%, 21.6%) |
| CIE-LAB | lab(41.85, 31.32, -60.64) |
| CIE-LCH | lch(41.85, 68.25, 297.31°) |
| OKLab | oklab(51.11% 0.0151 -0.1742) |
| OKLCH | oklch(51.11% 0.175 275) |
| XYZ | xyz(16.8103, 12.4021, 56.1404) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.55
Iris
#6258C4
ΔE00 3.57
Dark Periwinkle
#665FD1
ΔE00 4.84
Slate Blue
#6A5ACD
ΔE00 4.99
Light Indigo
#6D5ACF
ΔE00 5.57
Azul
#1D5DEC
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D56C8 #C8BF4D
analogous
#4D94C8 #4D56C8 #824DC8
triadic
#4D56C8 #C84D56 #56C84D
tetradic
#4D56C8 #C84D94 #C8BF4D #4DC882
square
#4D56C8 #C84D94 #C8BF4D #4DC882
split-complementary
#4D56C8 #C8824D #94C84D
monochromatic
#242A76 #333BA5 #4D56C8 #7C82D6 #ABAFE5
Accessibility & contrast
On white
6.03
#4D56C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#4D56C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D56C8
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D56C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D56C8 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CC
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#007186
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4d56c8; /* rgb */ color: rgb(77, 86, 200); /* oklch */ color: oklch(51.1% 0.175 275.0);
Tailwind
colors: {
custom: {
50: '#8b85d9',
500: '#4d56c8',
950: '#000000',
},
}SCSS
$custom: #4d56c8; $custom-light: #8b85d9; $custom-dark: #000000;
JSON
{
"hex": "#4d56c8",
"rgb": {
"r": 77,
"g": 86,
"b": 200
},
"hsl": {
"h": 235.61,
"s": 52.79,
"l": 54.314
},
"oklch": {
"l": 0.51108,
"c": 0.17487,
"h": 275
},
"luminance": 0.12403
}Semantic roles & 50–950 ramp
primary
#4D56C8
secondary
#D2CF9E
accent
#D24CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83