#4D58C2#4D58C2
#4D58C2 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 51.0% C 0.164 H 274.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #4D58C2 |
|---|---|
| RGB | rgb(77, 88, 194) |
| HSL | hsl(234, 49%, 53%) |
| HSV | hsv(234, 60%, 76%) |
| CMYK | cmyk(60.3%, 54.6%, 0%, 23.9%) |
| CIE-LAB | lab(41.92, 28.03, -57.03) |
| CIE-LCH | lch(41.92, 63.55, 296.17°) |
| OKLab | oklab(51.03% 0.013 -0.1636) |
| OKLCH | oklch(51.03% 0.164 274.5) |
| XYZ | xyz(16.2847, 12.4510, 52.5736) |
| Luminance | 0.1245 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.39
Iris
#6258C4
ΔE00 3.77
Dark Periwinkle
#665FD1
ΔE00 5.02
Slate Blue
#6A5ACD
ΔE00 5.34
Light Indigo
#6D5ACF
ΔE00 5.95
Azul
#1D5DEC
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D58C2 #C2B74D
analogous
#4D92C2 #4D58C2 #7C4DC2
triadic
#4D58C2 #C24D58 #58C24D
tetradic
#4D58C2 #C24D92 #C2B74D #4DC27C
square
#4D58C2 #C24D92 #C2B74D #4DC27C
split-complementary
#4D58C2 #C27C4D #92C24D
monochromatic
#262D6F #363F9C #4D58C2 #7B83D2 #A8AEE1
Accessibility & contrast
On white
6.02
#4D58C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#4D58C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D58C2
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D58C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D58C2 | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B68C6
Deuteranopia (green-blind)
#005EC0
Tritanopia (blue-blind)
#007184
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4d58c2; /* rgb */ color: rgb(77, 88, 194); /* oklch */ color: oklch(51.0% 0.164 274.5);
Tailwind
colors: {
custom: {
50: '#8a87d5',
500: '#4d58c2',
950: '#000000',
},
}SCSS
$custom: #4d58c2; $custom-light: #8a87d5; $custom-dark: #000000;
JSON
{
"hex": "#4d58c2",
"rgb": {
"r": 77,
"g": 88,
"b": 194
},
"hsl": {
"h": 234.359,
"s": 48.954,
"l": 53.137
},
"oklch": {
"l": 0.51029,
"c": 0.16413,
"h": 274.5
},
"luminance": 0.12452
}Semantic roles & 50–950 ramp
primary
#4D58C2
secondary
#CFCA9C
accent
#CC4FD9
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0B14
muted
#7E7C83