#4C52BD#4C52BD
#4C52BD is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.5% C 0.165 H 276.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).
Color values
| HEX | #4C52BD |
|---|---|
| RGB | rgb(76, 82, 189) |
| HSL | hsl(237, 46%, 52%) |
| HSV | hsv(237, 60%, 74%) |
| CMYK | cmyk(59.8%, 56.6%, 0%, 25.9%) |
| CIE-LAB | lab(39.99, 29.95, -57.26) |
| CIE-LCH | lch(39.99, 64.62, 297.61°) |
| OKLab | oklab(49.45% 0.0176 -0.1643) |
| OKLCH | oklch(49.45% 0.165 276.1) |
| XYZ | xyz(15.1801, 11.2441, 49.5046) |
| Luminance | 0.1124 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.05
Warm Blue
#4B57DB
ΔE00 4.35
Ocean Blue
#4F42B5
ΔE00 5.10
Blue Blue
#2242C7
ΔE00 5.83
Slate Blue
#6A5ACD
ΔE00 5.87
Dark Periwinkle
#665FD1
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C52BD #BDB74C
analogous
#4C8BBD #4C52BD #7F4CBD
triadic
#4C52BD #BD4C52 #52BD4C
tetradic
#4C52BD #BD4C8B #BDB74C #4CBD7F
square
#4C52BD #BD4C8B #BDB74C #4CBD7F
split-complementary
#4C52BD #BD7F4C #8BBD4C
monochromatic
#262A68 #373C95 #4C52BD #797DCD #A5A8DE
Accessibility & contrast
On white
6.46
#4C52BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#4C52BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C52BD
6.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C52BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C52BD | 1.00 | 6.46 | 3.25 | 6.46 |
| #FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#006B7F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4c52bd; /* rgb */ color: rgb(76, 82, 189); /* oklch */ color: oklch(49.5% 0.165 276.1);
Tailwind
colors: {
custom: {
50: '#8982d2',
500: '#4c52bd',
950: '#000000',
},
}SCSS
$custom: #4c52bd; $custom-light: #8982d2; $custom-dark: #000000;
JSON
{
"hex": "#4c52bd",
"rgb": {
"r": 76,
"g": 82,
"b": 189
},
"hsl": {
"h": 236.814,
"s": 46.122,
"l": 51.961
},
"oklch": {
"l": 0.49454,
"c": 0.16529,
"h": 276.1
},
"luminance": 0.11245
}Semantic roles & 50–950 ramp
primary
#4C52BD
secondary
#CBC99A
accent
#CF52D6
background
#F8F7FD
surface
#F0EEFA
border
#CBC9D3
text
#0C0A14
muted
#7D7C83