#4C52BE#4C52BE
#4C52BE is a mid, vivid blue. Relative luminance 0.113; OKLCH L 49.5% C 0.167 H 276.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).
Color values
| HEX | #4C52BE |
|---|---|
| RGB | rgb(76, 82, 190) |
| HSL | hsl(237, 47%, 52%) |
| HSV | hsv(237, 60%, 75%) |
| CMYK | cmyk(60%, 56.8%, 0%, 25.5%) |
| CIE-LAB | lab(40.06, 30.28, -57.72) |
| CIE-LCH | lch(40.06, 65.19, 297.68°) |
| OKLab | oklab(49.53% 0.0176 -0.1657) |
| OKLCH | oklch(49.53% 0.167 276.1) |
| XYZ | xyz(15.2890, 11.2876, 50.0783) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.01
Warm Blue
#4B57DB
ΔE00 4.22
Ocean Blue
#4F42B5
ΔE00 5.12
Blue Blue
#2242C7
ΔE00 5.80
Slate Blue
#6A5ACD
ΔE00 5.80
Dark Periwinkle
#665FD1
ΔE00 6.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C52BE #BEB84C
analogous
#4C8BBE #4C52BE #7F4CBE
triadic
#4C52BE #BE4C52 #52BE4C
tetradic
#4C52BE #BE4C8B #BEB84C #4CBE7F
square
#4C52BE #BE4C8B #BEB84C #4CBE7F
split-complementary
#4C52BE #BE7F4C #8BBE4C
monochromatic
#262A69 #373C96 #4C52BE #797DCE #A6A9DF
Accessibility & contrast
On white
6.45
#4C52BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#4C52BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C52BE
6.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C52BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C52BE | 1.00 | 6.45 | 3.26 | 6.45 |
| #FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#006C80
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4c52be; /* rgb */ color: rgb(76, 82, 190); /* oklch */ color: oklch(49.5% 0.167 276.1);
Tailwind
colors: {
custom: {
50: '#8982d2',
500: '#4c52be',
950: '#000000',
},
}SCSS
$custom: #4c52be; $custom-light: #8982d2; $custom-dark: #000000;
JSON
{
"hex": "#4c52be",
"rgb": {
"r": 76,
"g": 82,
"b": 190
},
"hsl": {
"h": 236.842,
"s": 46.721,
"l": 52.157
},
"oklch": {
"l": 0.49531,
"c": 0.16665,
"h": 276.1
},
"luminance": 0.11289
}Semantic roles & 50–950 ramp
primary
#4C52BE
secondary
#CCC99A
accent
#CF51D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0D0A14
muted
#7D7C83