#4C5FAC#4C5FAC
#4C5FAC is a mid, vivid blue. Relative luminance 0.127; OKLCH L 50.8% C 0.124 H 271.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #4C5FAC |
|---|---|
| RGB | rgb(76, 95, 172) |
| HSL | hsl(228, 39%, 49%) |
| HSV | hsv(228, 56%, 67%) |
| CMYK | cmyk(55.8%, 44.8%, 0%, 32.5%) |
| CIE-LAB | lab(42.31, 15.95, -43.55) |
| CIE-LCH | lch(42.31, 46.38, 290.12°) |
| OKLab | oklab(50.85% 0.0022 -0.1239) |
| OKLCH | oklch(50.85% 0.124 271) |
| XYZ | xyz(14.5166, 12.6984, 40.7078) |
| Luminance | 0.1270 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dusky Blue
#475F94
ΔE00 3.75
Denim Blue
#3B5B92
ΔE00 4.94
French Blue
#436BAD
ΔE00 5.49
Denim
#1560BD
ΔE00 6.66
Denim (survey)
#3B638C
ΔE00 6.71
Iris
#6258C4
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C5FAC #AC994C
analogous
#4C8FAC #4C5FAC #694CAC
triadic
#4C5FAC #AC4C5F #5FAC4C
tetradic
#4C5FAC #AC4C8F #AC994C #4CAC69
square
#4C5FAC #AC4C8F #AC994C #4CAC69
split-complementary
#4C5FAC #AC694C #8FAC4C
monochromatic
#263057 #394882 #4C5FAC #7483C1 #9EA9D4
Accessibility & contrast
On white
5.93
#4C5FAC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.54
#4C5FAC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4C5FAC
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C5FAC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C5FAC | 1.00 | 5.93 | 3.54 | 5.93 |
| #FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D68AF
Deuteranopia (green-blind)
#3160AA
Tritanopia (blue-blind)
#16707D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #4c5fac; /* rgb */ color: rgb(76, 95, 172); /* oklch */ color: oklch(50.8% 0.124 271.0);
Tailwind
colors: {
custom: {
50: '#858cc5',
500: '#4c5fac',
950: '#000000',
},
}SCSS
$custom: #4c5fac; $custom-light: #858cc5; $custom-dark: #000000;
JSON
{
"hex": "#4c5fac",
"rgb": {
"r": 76,
"g": 95,
"b": 172
},
"hsl": {
"h": 228.125,
"s": 38.71,
"l": 48.627
},
"oklch": {
"l": 0.50848,
"c": 0.12394,
"h": 271
},
"luminance": 0.12699
}Semantic roles & 50–950 ramp
primary
#4C5FAC
secondary
#C1B893
accent
#B759CF
background
#F8F8FC
surface
#F0F0F8
border
#CBCBD1
text
#0C0C13
muted
#7D7D82