#4C52E2#4C52E2
#4C52E2 is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 52.5% C 0.214 H 274.4°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #4C52E2 |
|---|---|
| RGB | rgb(76, 82, 226) |
| HSL | hsl(238, 72%, 59%) |
| HSV | hsv(238, 66%, 89%) |
| CMYK | cmyk(66.4%, 63.7%, 0%, 11.4%) |
| CIE-LAB | lab(42.85, 42.32, -73.91) |
| CIE-LCH | lch(42.85, 85.17, 299.80°) |
| OKLab | oklab(52.46% 0.0165 -0.2133) |
| OKLCH | oklch(52.46% 0.214 274.4) |
| XYZ | xyz(19.7207, 13.0603, 73.4184) |
| Luminance | 0.1306 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.76
Electric Blue
#0652FF
ΔE00 4.24
Iris
#6258C4
ΔE00 5.11
Dark Periwinkle
#665FD1
ΔE00 5.31
Slate Blue
#6A5ACD
ΔE00 5.35
Purpleish Blue
#6140EF
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C52E2 #E2DC4C
analogous
#4C9DE2 #4C52E2 #914CE2
triadic
#4C52E2 #E24C52 #52E24C
tetradic
#4C52E2 #E24C9D #E2DC4C #4CE291
square
#4C52E2 #E24C9D #E2DC4C #4CE291
split-complementary
#4C52E2 #E2914C #9DE24C
monochromatic
#191E9B #2229CF #4C52E2 #8185EB #B5B8F3
Accessibility & contrast
On white
5.81
#4C52E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#4C52E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C52E2
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C52E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C52E2 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007793
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #4c52e2; /* rgb */ color: rgb(76, 82, 226); /* oklch */ color: oklch(52.5% 0.214 274.4);
Tailwind
colors: {
custom: {
50: '#8f83ec',
500: '#4c52e2',
950: '#000000',
},
}SCSS
$custom: #4c52e2; $custom-light: #8f83ec; $custom-dark: #000000;
JSON
{
"hex": "#4c52e2",
"rgb": {
"r": 76,
"g": 82,
"b": 226
},
"hsl": {
"h": 237.6,
"s": 72.115,
"l": 59.216
},
"oklch": {
"l": 0.52463,
"c": 0.21389,
"h": 274.4
},
"luminance": 0.13062
}Semantic roles & 50–950 ramp
primary
#4C52E2
secondary
#E2E0A8
accent
#E839EF
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0A16
muted
#7E7C84