#4A5FC0#4A5FC0
#4A5FC0 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.1% C 0.153 H 271.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FC0 |
|---|---|
| RGB | rgb(74, 95, 192) |
| HSL | hsl(229, 48%, 52%) |
| HSV | hsv(229, 61%, 75%) |
| CMYK | cmyk(61.5%, 50.5%, 0%, 24.7%) |
| CIE-LAB | lab(43.43, 22.37, -53.46) |
| CIE-LCH | lch(43.43, 57.95, 292.71°) |
| OKLab | oklab(52.07% 0.0027 -0.1531) |
| OKLCH | oklch(52.07% 0.153 271) |
| XYZ | xyz(16.4275, 13.4447, 51.5883) |
| Luminance | 0.1345 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.71
Royal Blue
#4169E1
ΔE00 5.55
Iris
#6258C4
ΔE00 5.57
Dark Periwinkle
#665FD1
ΔE00 5.72
Azul
#1D5DEC
ΔE00 5.74
French Blue
#436BAD
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FC0 #C0AB4A
analogous
#4A9AC0 #4A5FC0 #704AC0
triadic
#4A5FC0 #C04A5F #5FC04A
tetradic
#4A5FC0 #C04A9A #C0AB4A #4AC070
square
#4A5FC0 #C04A9A #C0AB4A #4AC070
split-complementary
#4A5FC0 #C0704A #9AC04A
monochromatic
#25316B #354798 #4A5FC0 #7787D0 #A5AFE0
Accessibility & contrast
On white
5.69
#4A5FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#4A5FC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FC0
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FC0 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A6CC3
Deuteranopia (green-blind)
#0B62BE
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #4a5fc0; /* rgb */ color: rgb(74, 95, 192); /* oklch */ color: oklch(52.1% 0.153 271.0);
Tailwind
colors: {
custom: {
50: '#878cd4',
500: '#4a5fc0',
950: '#000000',
},
}SCSS
$custom: #4a5fc0; $custom-light: #878cd4; $custom-dark: #000000;
JSON
{
"hex": "#4a5fc0",
"rgb": {
"r": 74,
"g": 95,
"b": 192
},
"hsl": {
"h": 229.322,
"s": 48.361,
"l": 52.157
},
"oklch": {
"l": 0.52068,
"c": 0.1531,
"h": 271
},
"luminance": 0.13446
}Semantic roles & 50–950 ramp
primary
#4A5FC0
secondary
#CDC399
accent
#C050D8
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0C0C14
muted
#7D7D83