#4D52E1#4D52E1
#4D52E1 is a mid, highly saturated blue. Relative luminance 0.130; OKLCH L 52.4% C 0.212 H 274.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4D52E1 |
|---|---|
| RGB | rgb(77, 82, 225) |
| HSL | hsl(238, 71%, 59%) |
| HSV | hsv(238, 66%, 88%) |
| CMYK | cmyk(65.8%, 63.6%, 0%, 11.8%) |
| CIE-LAB | lab(42.83, 42.13, -73.37) |
| CIE-LCH | lch(42.83, 84.60, 299.86°) |
| OKLab | oklab(52.44% 0.0177 -0.2117) |
| OKLCH | oklch(52.44% 0.212 274.8) |
| XYZ | xyz(19.6640, 13.0469, 72.7016) |
| Luminance | 0.1305 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.75
Electric Blue
#0652FF
ΔE00 4.39
Iris
#6258C4
ΔE00 4.97
Dark Periwinkle
#665FD1
ΔE00 5.21
Slate Blue
#6A5ACD
ΔE00 5.22
Purpleish Blue
#6140EF
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D52E1 #E1DC4D
analogous
#4D9CE1 #4D52E1 #924DE1
triadic
#4D52E1 #E14D52 #52E14D
tetradic
#4D52E1 #E14D9C #E1DC4D #4DE192
square
#4D52E1 #E14D9C #E1DC4D #4DE192
split-complementary
#4D52E1 #E1924D #9CE14D
monochromatic
#1A1E9A #2329CE #4D52E1 #8185EA #B6B8F3
Accessibility & contrast
On white
5.82
#4D52E1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#4D52E1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4D52E1
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D52E1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D52E1 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE6
Deuteranopia (green-blind)
#005FDE
Tritanopia (blue-blind)
#007792
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4d52e1; /* rgb */ color: rgb(77, 82, 225); /* oklch */ color: oklch(52.4% 0.212 274.8);
Tailwind
colors: {
custom: {
50: '#9083eb',
500: '#4d52e1',
950: '#000000',
},
}SCSS
$custom: #4d52e1; $custom-light: #9083eb; $custom-dark: #000000;
JSON
{
"hex": "#4d52e1",
"rgb": {
"r": 77,
"g": 82,
"b": 225
},
"hsl": {
"h": 237.973,
"s": 71.154,
"l": 59.216
},
"oklch": {
"l": 0.52439,
"c": 0.21239,
"h": 274.8
},
"luminance": 0.13049
}Semantic roles & 50–950 ramp
primary
#4D52E1
secondary
#E2E0A8
accent
#E83AEE
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84