#4C52BF#4C52BF
#4C52BF is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.6% C 0.168 H 276.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).
Color values
| HEX | #4C52BF |
|---|---|
| RGB | rgb(76, 82, 191) |
| HSL | hsl(237, 47%, 52%) |
| HSV | hsv(237, 60%, 75%) |
| CMYK | cmyk(60.2%, 57.1%, 0%, 25.1%) |
| CIE-LAB | lab(40.13, 30.62, -58.19) |
| CIE-LCH | lch(40.13, 65.76, 297.75°) |
| OKLab | oklab(49.61% 0.0176 -0.1671) |
| OKLCH | oklch(49.61% 0.168 276) |
| XYZ | xyz(15.3987, 11.3315, 50.6558) |
| Luminance | 0.1133 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.97
Warm Blue
#4B57DB
ΔE00 4.09
Ocean Blue
#4F42B5
ΔE00 5.14
Slate Blue
#6A5ACD
ΔE00 5.74
Blue Blue
#2242C7
ΔE00 5.78
Dark Periwinkle
#665FD1
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C52BF #BFB94C
analogous
#4C8BBF #4C52BF #804CBF
triadic
#4C52BF #BF4C52 #52BF4C
tetradic
#4C52BF #BF4C8B #BFB94C #4CBF80
square
#4C52BF #BF4C8B #BFB94C #4CBF80
split-complementary
#4C52BF #BF804C #8BBF4C
monochromatic
#262A6B #363B98 #4C52BF #797ECF #A6A9DF
Accessibility & contrast
On white
6.43
#4C52BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#4C52BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C52BF
6.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C52BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C52BF | 1.00 | 6.43 | 3.27 | 6.43 |
| #FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #4c52bf; /* rgb */ color: rgb(76, 82, 191); /* oklch */ color: oklch(49.6% 0.168 276.0);
Tailwind
colors: {
custom: {
50: '#8982d3',
500: '#4c52bf',
950: '#000000',
},
}SCSS
$custom: #4c52bf; $custom-light: #8982d3; $custom-dark: #000000;
JSON
{
"hex": "#4c52bf",
"rgb": {
"r": 76,
"g": 82,
"b": 191
},
"hsl": {
"h": 236.87,
"s": 47.325,
"l": 52.353
},
"oklch": {
"l": 0.49608,
"c": 0.16802,
"h": 276
},
"luminance": 0.11333
}Semantic roles & 50–950 ramp
primary
#4C52BF
secondary
#CCCA9A
accent
#D051D7
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83