#4D57D9#4D57D9
#4D57D9 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.196 H 274.1°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #4D57D9 |
|---|---|
| RGB | rgb(77, 87, 217) |
| HSL | hsl(236, 65%, 58%) |
| HSV | hsv(236, 65%, 85%) |
| CMYK | cmyk(64.5%, 59.9%, 0%, 14.9%) |
| CIE-LAB | lab(43.36, 36.42, -67.95) |
| CIE-LCH | lch(43.36, 77.09, 298.19°) |
| OKLab | oklab(52.63% 0.0141 -0.1957) |
| OKLCH | oklch(52.63% 0.196 274.1) |
| XYZ | xyz(18.9890, 13.4023, 67.2184) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 0.33
Iris
#6258C4
ΔE00 4.28
Dark Periwinkle
#665FD1
ΔE00 4.32
Slate Blue
#6A5ACD
ΔE00 4.80
Azul
#1D5DEC
ΔE00 4.86
Electric Blue
#0652FF
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D57D9 #D9CF4D
analogous
#4D9DD9 #4D57D9 #894DD9
triadic
#4D57D9 #D94D57 #57D94D
tetradic
#4D57D9 #D94D9D #D9CF4D #4DD989
square
#4D57D9 #D94D9D #D9CF4D #4DD989
split-complementary
#4D57D9 #D9894D #9DD94D
monochromatic
#1E268D #2934C0 #4D57D9 #7F87E4 #B2B6EF
Accessibility & contrast
On white
5.71
#4D57D9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#4D57D9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D57D9
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D57D9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D57D9 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DDD
Deuteranopia (green-blind)
#0060D6
Tritanopia (blue-blind)
#007790
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4d57d9; /* rgb */ color: rgb(77, 87, 217); /* oklch */ color: oklch(52.6% 0.196 274.1);
Tailwind
colors: {
custom: {
50: '#8e86e6',
500: '#4d57d9',
950: '#000000',
},
}SCSS
$custom: #4d57d9; $custom-light: #8e86e6; $custom-dark: #000000;
JSON
{
"hex": "#4d57d9",
"rgb": {
"r": 77,
"g": 87,
"b": 217
},
"hsl": {
"h": 235.714,
"s": 64.815,
"l": 57.647
},
"oklch": {
"l": 0.5263,
"c": 0.19621,
"h": 274.1
},
"luminance": 0.13404
}Semantic roles & 50–950 ramp
primary
#4D57D9
secondary
#DDD9A5
accent
#DC40E8
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0B16
muted
#7E7C84