#4C5FC5#4C5FC5
#4C5FC5 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.5% C 0.160 H 271.9°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5FC5 |
|---|---|
| RGB | rgb(76, 95, 197) |
| HSL | hsl(231, 51%, 54%) |
| HSV | hsv(231, 61%, 77%) |
| CMYK | cmyk(61.4%, 51.8%, 0%, 22.7%) |
| CIE-LAB | lab(43.87, 24.45, -55.63) |
| CIE-LCH | lch(43.87, 60.76, 293.73°) |
| OKLab | oklab(52.54% 0.0052 -0.1594) |
| OKLCH | oklch(52.54% 0.16 271.9) |
| XYZ | xyz(17.1474, 13.7507, 54.5630) |
| Luminance | 0.1375 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.03
Dark Periwinkle
#665FD1
ΔE00 5.02
Iris
#6258C4
ΔE00 5.09
Royal Blue
#4169E1
ΔE00 5.19
Azul
#1D5DEC
ΔE00 5.35
Slate Blue
#6A5ACD
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5FC5 #C5B24C
analogous
#4C9BC5 #4C5FC5 #754CC5
triadic
#4C5FC5 #C54C5F #5FC54C
tetradic
#4C5FC5 #C54C9B #C5B24C #4CC575
square
#4C5FC5 #C54C9B #C5B24C #4CC575
split-complementary
#4C5FC5 #C5754C #9BC54C
monochromatic
#253172 #3445A0 #4C5FC5 #7A88D4 #A8B2E3
Accessibility & contrast
On white
5.60
#4C5FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#4C5FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5FC5
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5FC5 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#236DC9
Deuteranopia (green-blind)
#0063C3
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4c5fc5; /* rgb */ color: rgb(76, 95, 197); /* oklch */ color: oklch(52.5% 0.160 271.9);
Tailwind
colors: {
custom: {
50: '#898cd7',
500: '#4c5fc5',
950: '#000000',
},
}SCSS
$custom: #4c5fc5; $custom-light: #898cd7; $custom-dark: #000000;
JSON
{
"hex": "#4c5fc5",
"rgb": {
"r": 76,
"g": 95,
"b": 197
},
"hsl": {
"h": 230.579,
"s": 51.055,
"l": 53.529
},
"oklch": {
"l": 0.52542,
"c": 0.15951,
"h": 271.9
},
"luminance": 0.13752
}Semantic roles & 50–950 ramp
primary
#4C5FC5
secondary
#D0C89C
accent
#C44DDB
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83