#4754C7#4754C7
#4754C7 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.3% C 0.178 H 273.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #4754C7 |
|---|---|
| RGB | rgb(71, 84, 199) |
| HSL | hsl(234, 53%, 53%) |
| HSV | hsv(234, 64%, 78%) |
| CMYK | cmyk(64.3%, 57.8%, 0%, 22%) |
| CIE-LAB | lab(40.90, 31.24, -61.61) |
| CIE-LCH | lch(40.90, 69.08, 296.89°) |
| OKLab | oklab(50.28% 0.0103 -0.1773) |
| OKLCH | oklch(50.28% 0.178 273.3) |
| XYZ | xyz(16.0742, 11.8024, 55.4528) |
| Luminance | 0.1180 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.95
Iris
#6258C4
ΔE00 4.42
Dark Periwinkle
#665FD1
ΔE00 5.81
Blue Blue
#2242C7
ΔE00 5.85
Slate Blue
#6A5ACD
ΔE00 5.91
Blue (survey)
#0343DF
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4754C7 #C7BA47
analogous
#4794C7 #4754C7 #7A47C7
triadic
#4754C7 #C74754 #54C747
tetradic
#4754C7 #C74794 #C7BA47 #47C77A
square
#4754C7 #C74794 #C7BA47 #47C77A
split-complementary
#4754C7 #C77A47 #94C747
monochromatic
#222A71 #313CA0 #4754C7 #7680D5 #A5ABE4
Accessibility & contrast
On white
6.25
#4754C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#4754C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4754C7
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4754C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4754C7 | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CB
Deuteranopia (green-blind)
#005BC5
Tritanopia (blue-blind)
#007085
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #4754c7; /* rgb */ color: rgb(71, 84, 199); /* oklch */ color: oklch(50.3% 0.178 273.3);
Tailwind
colors: {
custom: {
50: '#8884d9',
500: '#4754c7',
950: '#000000',
},
}SCSS
$custom: #4754c7; $custom-light: #8884d9; $custom-dark: #000000;
JSON
{
"hex": "#4754c7",
"rgb": {
"r": 71,
"g": 84,
"b": 199
},
"hsl": {
"h": 233.906,
"s": 53.333,
"l": 52.941
},
"oklch": {
"l": 0.5028,
"c": 0.17757,
"h": 273.3
},
"luminance": 0.11804
}Semantic roles & 50–950 ramp
primary
#4754C7
secondary
#D1CB99
accent
#CE4BDD
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0D0A15
muted
#7D7C83