#4D58C8#4D58C8
#4D58C8 is a mid, vivid blue. Relative luminance 0.127; OKLCH L 51.5% C 0.172 H 274.4°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).
Color values
| HEX | #4D58C8 |
|---|---|
| RGB | rgb(77, 88, 200) |
| HSL | hsl(235, 53%, 54%) |
| HSV | hsv(235, 62%, 78%) |
| CMYK | cmyk(61.5%, 56%, 0%, 21.6%) |
| CIE-LAB | lab(42.35, 30.06, -59.83) |
| CIE-LCH | lch(42.35, 66.95, 296.68°) |
| OKLab | oklab(51.48% 0.0132 -0.1718) |
| OKLCH | oklch(51.48% 0.172 274.4) |
| XYZ | xyz(16.9722, 12.7260, 56.1944) |
| Luminance | 0.1273 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.55
Iris
#6258C4
ΔE00 3.68
Dark Periwinkle
#665FD1
ΔE00 4.63
Slate Blue
#6A5ACD
ΔE00 5.03
Light Indigo
#6D5ACF
ΔE00 5.61
Azul
#1D5DEC
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D58C8 #C8BD4D
analogous
#4D96C8 #4D58C8 #804DC8
triadic
#4D58C8 #C84D58 #58C84D
tetradic
#4D58C8 #C84D96 #C8BD4D #4DC880
square
#4D58C8 #C84D96 #C8BD4D #4DC880
split-complementary
#4D58C8 #C8804D #96C84D
monochromatic
#242C76 #333DA5 #4D58C8 #7C84D6 #ABB0E5
Accessibility & contrast
On white
5.92
#4D58C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.55
#4D58C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D58C8
5.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D58C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D58C8 | 1.00 | 5.92 | 3.55 | 5.92 |
| #FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CC
Deuteranopia (green-blind)
#005FC6
Tritanopia (blue-blind)
#007387
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4d58c8; /* rgb */ color: rgb(77, 88, 200); /* oklch */ color: oklch(51.5% 0.172 274.4);
Tailwind
colors: {
custom: {
50: '#8b87d9',
500: '#4d58c8',
950: '#000000',
},
}SCSS
$custom: #4d58c8; $custom-light: #8b87d9; $custom-dark: #000000;
JSON
{
"hex": "#4d58c8",
"rgb": {
"r": 77,
"g": 88,
"b": 200
},
"hsl": {
"h": 234.634,
"s": 52.79,
"l": 54.314
},
"oklch": {
"l": 0.5148,
"c": 0.17233,
"h": 274.4
},
"luminance": 0.12727
}Semantic roles & 50–950 ramp
primary
#4D58C8
secondary
#D2CE9E
accent
#CF4CDC
background
#F9F8FD
surface
#F1EFFB
border
#CBCAD4
text
#0D0B15
muted
#7E7C83