#4D52C5#4D52C5
#4D52C5 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.1% C 0.176 H 276.1°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #4D52C5 |
|---|---|
| RGB | rgb(77, 82, 197) |
| HSL | hsl(238, 51%, 54%) |
| HSV | hsv(238, 61%, 77%) |
| CMYK | cmyk(60.9%, 58.4%, 0%, 22.7%) |
| CIE-LAB | lab(40.64, 32.81, -60.85) |
| CIE-LCH | lch(40.64, 69.13, 298.33°) |
| OKLab | oklab(50.14% 0.0188 -0.1749) |
| OKLCH | oklch(50.14% 0.176 276.1) |
| XYZ | xyz(16.1526, 11.6423, 54.2085) |
| Luminance | 0.1164 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.34
Iris
#6258C4
ΔE00 3.71
Slate Blue
#6A5ACD
ΔE00 5.29
Ocean Blue
#4F42B5
ΔE00 5.31
Dark Periwinkle
#665FD1
ΔE00 5.59
Blue Blue
#2242C7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D52C5 #C5C04D
analogous
#4D8EC5 #4D52C5 #844DC5
triadic
#4D52C5 #C54D52 #52C54D
tetradic
#4D52C5 #C54D8E #C5C04D #4DC584
square
#4D52C5 #C54D8E #C5C04D #4DC584
split-complementary
#4D52C5 #C5844D #8EC54D
monochromatic
#252872 #3439A0 #4D52C5 #7B7FD4 #A9ACE3
Accessibility & contrast
On white
6.31
#4D52C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#4D52C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D52C5
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D52C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D52C5 | 1.00 | 6.31 | 3.33 | 6.31 |
| #FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0065C9
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#006E83
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4d52c5; /* rgb */ color: rgb(77, 82, 197); /* oklch */ color: oklch(50.1% 0.176 276.1);
Tailwind
colors: {
custom: {
50: '#8b82d7',
500: '#4d52c5',
950: '#000000',
},
}SCSS
$custom: #4d52c5; $custom-light: #8b82d7; $custom-dark: #000000;
JSON
{
"hex": "#4d52c5",
"rgb": {
"r": 77,
"g": 82,
"b": 197
},
"hsl": {
"h": 237.5,
"s": 50.847,
"l": 53.725
},
"oklch": {
"l": 0.50142,
"c": 0.17591,
"h": 276.1
},
"luminance": 0.11644
}Semantic roles & 50–950 ramp
primary
#4D52C5
secondary
#D1CE9D
accent
#D44DDA
background
#F9F8FD
surface
#F1EFFA
border
#CBCAD3
text
#0D0A14
muted
#7E7C83