#4C52D6#4C52D6
#4C52D6 is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.4% C 0.199 H 275.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #4C52D6 |
|---|---|
| RGB | rgb(76, 82, 214) |
| HSL | hsl(237, 63%, 57%) |
| HSV | hsv(237, 64%, 84%) |
| CMYK | cmyk(64.5%, 61.7%, 0%, 16.1%) |
| CIE-LAB | lab(41.88, 38.33, -68.65) |
| CIE-LCH | lch(41.88, 78.62, 299.18°) |
| OKLab | oklab(51.45% 0.0172 -0.1978) |
| OKLCH | oklch(51.45% 0.199 275) |
| XYZ | xyz(18.1314, 12.4246, 65.0480) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.70
Iris
#6258C4
ΔE00 4.29
Slate Blue
#6A5ACD
ΔE00 5.09
Dark Periwinkle
#665FD1
ΔE00 5.19
Electric Blue
#0652FF
ΔE00 5.28
Light Indigo
#6D5ACF
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C52D6 #D6D04C
analogous
#4C97D6 #4C52D6 #8B4CD6
triadic
#4C52D6 #D64C52 #52D64C
tetradic
#4C52D6 #D64C97 #D6D04C #4CD68B
square
#4C52D6 #D64C97 #D6D04C #4CD68B
split-complementary
#4C52D6 #D68B4C #97D64C
monochromatic
#1F2488 #2B31BA #4C52D6 #7E82E1 #B0B2ED
Accessibility & contrast
On white
6.03
#4C52D6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#4C52D6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C52D6
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C52D6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C52D6 | 1.00 | 6.03 | 3.49 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069DA
Deuteranopia (green-blind)
#005DD3
Tritanopia (blue-blind)
#00738C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #4c52d6; /* rgb */ color: rgb(76, 82, 214); /* oklch */ color: oklch(51.4% 0.199 275.0);
Tailwind
colors: {
custom: {
50: '#8d83e4',
500: '#4c52d6',
950: '#000000',
},
}SCSS
$custom: #4c52d6; $custom-light: #8d83e4; $custom-dark: #000000;
JSON
{
"hex": "#4c52d6",
"rgb": {
"r": 76,
"g": 82,
"b": 214
},
"hsl": {
"h": 237.391,
"s": 62.727,
"l": 56.863
},
"oklch": {
"l": 0.5145,
"c": 0.19856,
"h": 275
},
"luminance": 0.12426
}Semantic roles & 50–950 ramp
primary
#4C52D6
secondary
#DBD9A3
accent
#DF42E6
background
#F9F8FE
surface
#F2EFFC
border
#CCCAD5
text
#0E0A16
muted
#7E7C84