#4C52BB#4C52BB
#4C52BB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.3% C 0.163 H 276.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).
Color values
| HEX | #4C52BB |
|---|---|
| RGB | rgb(76, 82, 187) |
| HSL | hsl(237, 45%, 52%) |
| HSV | hsv(237, 59%, 73%) |
| CMYK | cmyk(59.4%, 56.1%, 0%, 26.7%) |
| CIE-LAB | lab(39.84, 29.28, -56.32) |
| CIE-LCH | lch(39.84, 63.47, 297.47°) |
| OKLab | oklab(49.3% 0.0175 -0.1616) |
| OKLCH | oklch(49.3% 0.163 276.2) |
| XYZ | xyz(14.9645, 11.1578, 48.3692) |
| Luminance | 0.1116 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 4.15
Warm Blue
#4B57DB
ΔE00 4.62
Ocean Blue
#4F42B5
ΔE00 5.08
Blue Blue
#2242C7
ΔE00 5.90
Slate Blue
#6A5ACD
ΔE00 6.01
Dark Periwinkle
#665FD1
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C52BB #BBB54C
analogous
#4C8ABB #4C52BB #7E4CBB
triadic
#4C52BB #BB4C52 #52BB4C
tetradic
#4C52BB #BB4C8A #BBB54C #4CBB7E
square
#4C52BB #BB4C8A #BBB54C #4CBB7E
split-complementary
#4C52BB #BB7E4C #8ABB4C
monochromatic
#272A66 #383C92 #4C52BB #787DCC #A5A8DD
Accessibility & contrast
On white
6.50
#4C52BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#4C52BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C52BB
6.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C52BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C52BB | 1.00 | 6.50 | 3.23 | 6.50 |
| #FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#0059B9
Tritanopia (blue-blind)
#006B7E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #4c52bb; /* rgb */ color: rgb(76, 82, 187); /* oklch */ color: oklch(49.3% 0.163 276.2);
Tailwind
colors: {
custom: {
50: '#8882d0',
500: '#4c52bb',
950: '#000000',
},
}SCSS
$custom: #4c52bb; $custom-light: #8882d0; $custom-dark: #000000;
JSON
{
"hex": "#4c52bb",
"rgb": {
"r": 76,
"g": 82,
"b": 187
},
"hsl": {
"h": 236.757,
"s": 44.939,
"l": 51.569
},
"oklch": {
"l": 0.49302,
"c": 0.16254,
"h": 276.2
},
"luminance": 0.11159
}Semantic roles & 50–950 ramp
primary
#4C52BB
secondary
#CAC799
accent
#CE53D5
background
#F8F7FC
surface
#F0EEF9
border
#CBC9D2
text
#0C0A14
muted
#7D7C82