#4A5FC4#4A5FC4
#4A5FC4 is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.4% C 0.159 H 271.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FC4 |
|---|---|
| RGB | rgb(74, 95, 196) |
| HSL | hsl(230, 51%, 53%) |
| HSV | hsv(230, 62%, 77%) |
| CMYK | cmyk(62.2%, 51.5%, 0%, 23.1%) |
| CIE-LAB | lab(43.69, 23.75, -55.35) |
| CIE-LCH | lch(43.69, 60.23, 293.22°) |
| OKLab | oklab(52.35% 0.0031 -0.1587) |
| OKLCH | oklch(52.35% 0.159 271.1) |
| XYZ | xyz(16.8767, 13.6244, 53.9542) |
| Luminance | 0.1363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.24
Royal Blue
#4169E1
ΔE00 5.18
Azul
#1D5DEC
ΔE00 5.30
Dark Periwinkle
#665FD1
ΔE00 5.40
Iris
#6258C4
ΔE00 5.42
French Blue
#436BAD
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FC4 #C4AF4A
analogous
#4A9CC4 #4A5FC4 #724AC4
triadic
#4A5FC4 #C44A5F #5FC44A
tetradic
#4A5FC4 #C44A9C #C4AF4A #4AC472
square
#4A5FC4 #C44A9C #C4AF4A #4AC472
split-complementary
#4A5FC4 #C4724A #9CC44A
monochromatic
#24316F #33469D #4A5FC4 #7888D3 #A6B1E2
Accessibility & contrast
On white
5.64
#4A5FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#4A5FC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FC4
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FC4 | 1.00 | 5.64 | 3.73 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#246DC8
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#007688
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4a5fc4; /* rgb */ color: rgb(74, 95, 196); /* oklch */ color: oklch(52.4% 0.159 271.1);
Tailwind
colors: {
custom: {
50: '#888cd6',
500: '#4a5fc4',
950: '#000000',
},
}SCSS
$custom: #4a5fc4; $custom-light: #888cd6; $custom-dark: #000000;
JSON
{
"hex": "#4a5fc4",
"rgb": {
"r": 74,
"g": 95,
"b": 196
},
"hsl": {
"h": 229.672,
"s": 50.833,
"l": 52.941
},
"oklch": {
"l": 0.52351,
"c": 0.15868,
"h": 271.1
},
"luminance": 0.13626
}Semantic roles & 50–950 ramp
primary
#4A5FC4
secondary
#CFC69B
accent
#C24DDA
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83