#4754C5#4754C5
#4754C5 is a mid, vivid blue. Relative luminance 0.117; OKLCH L 50.1% C 0.175 H 273.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #4754C5 |
|---|---|
| RGB | rgb(71, 84, 197) |
| HSL | hsl(234, 52%, 53%) |
| HSV | hsv(234, 64%, 77%) |
| CMYK | cmyk(64%, 57.4%, 0%, 22.7%) |
| CIE-LAB | lab(40.75, 30.56, -60.69) |
| CIE-LCH | lch(40.75, 67.95, 296.72°) |
| OKLab | oklab(50.12% 0.0102 -0.1746) |
| OKLCH | oklch(50.12% 0.175 273.4) |
| XYZ | xyz(15.8436, 11.7101, 54.2378) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.21
Iris
#6258C4
ΔE00 4.45
Blue Blue
#2242C7
ΔE00 5.84
Dark Periwinkle
#665FD1
ΔE00 5.92
Slate Blue
#6A5ACD
ΔE00 6.00
Sapphire
#0F52BA
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4754C5 #C5B847
analogous
#4793C5 #4754C5 #7947C5
triadic
#4754C5 #C54754 #54C547
tetradic
#4754C5 #C54793 #C5B847 #47C579
square
#4754C5 #C54793 #C5B847 #47C579
split-complementary
#4754C5 #C57947 #93C547
monochromatic
#232B6F #323D9D #4754C5 #767FD4 #A4AAE2
Accessibility & contrast
On white
6.28
#4754C5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#4754C5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4754C5
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4754C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4754C5 | 1.00 | 6.28 | 3.34 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066C9
Deuteranopia (green-blind)
#005BC3
Tritanopia (blue-blind)
#006F84
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4754c5; /* rgb */ color: rgb(71, 84, 197); /* oklch */ color: oklch(50.1% 0.175 273.4);
Tailwind
colors: {
custom: {
50: '#8884d7',
500: '#4754c5',
950: '#000000',
},
}SCSS
$custom: #4754c5; $custom-light: #8884d7; $custom-dark: #000000;
JSON
{
"hex": "#4754c5",
"rgb": {
"r": 71,
"g": 84,
"b": 197
},
"hsl": {
"h": 233.81,
"s": 52.066,
"l": 52.549
},
"oklch": {
"l": 0.50123,
"c": 0.17487,
"h": 273.4
},
"luminance": 0.11711
}Semantic roles & 50–950 ramp
primary
#4754C5
secondary
#CFCA99
accent
#CD4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0A14
muted
#7D7C83