#4754C6#4754C6
#4754C6 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.2% C 0.176 H 273.3°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #4754C6 |
|---|---|
| RGB | rgb(71, 84, 198) |
| HSL | hsl(234, 53%, 53%) |
| HSV | hsv(234, 64%, 78%) |
| CMYK | cmyk(64.1%, 57.6%, 0%, 22.4%) |
| CIE-LAB | lab(40.83, 30.90, -61.15) |
| CIE-LCH | lch(40.83, 68.52, 296.81°) |
| OKLab | oklab(50.2% 0.0102 -0.1759) |
| OKLCH | oklch(50.2% 0.176 273.3) |
| XYZ | xyz(15.9585, 11.7561, 54.8433) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.08
Iris
#6258C4
ΔE00 4.43
Blue Blue
#2242C7
ΔE00 5.84
Dark Periwinkle
#665FD1
ΔE00 5.86
Slate Blue
#6A5ACD
ΔE00 5.95
Sapphire
#0F52BA
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4754C6 #C6B947
analogous
#4794C6 #4754C6 #7947C6
triadic
#4754C6 #C64754 #54C647
tetradic
#4754C6 #C64794 #C6B947 #47C679
square
#4754C6 #C64794 #C6B947 #47C679
split-complementary
#4754C6 #C67947 #94C647
monochromatic
#232B70 #313C9F #4754C6 #767FD4 #A4ABE3
Accessibility & contrast
On white
6.27
#4754C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#4754C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4754C6
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4754C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4754C6 | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CA
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4754c6; /* rgb */ color: rgb(71, 84, 198); /* oklch */ color: oklch(50.2% 0.176 273.3);
Tailwind
colors: {
custom: {
50: '#8884d8',
500: '#4754c6',
950: '#000000',
},
}SCSS
$custom: #4754c6; $custom-light: #8884d8; $custom-dark: #000000;
JSON
{
"hex": "#4754c6",
"rgb": {
"r": 71,
"g": 84,
"b": 198
},
"hsl": {
"h": 233.858,
"s": 52.697,
"l": 52.745
},
"oklch": {
"l": 0.50201,
"c": 0.17622,
"h": 273.3
},
"luminance": 0.11757
}Semantic roles & 50–950 ramp
primary
#4754C6
secondary
#D0CA99
accent
#CD4CDC
background
#F8F8FD
surface
#F0EFFA
border
#CBCAD3
text
#0D0A15
muted
#7D7C83