#4A5FCD#4A5FCD
#4A5FCD is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.171 H 271.2°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FCD |
|---|---|
| RGB | rgb(74, 95, 205) |
| HSL | hsl(230, 57%, 55%) |
| HSV | hsv(230, 64%, 80%) |
| CMYK | cmyk(63.9%, 53.7%, 0%, 19.6%) |
| CIE-LAB | lab(44.30, 26.86, -59.56) |
| CIE-LCH | lch(44.30, 65.33, 294.27°) |
| OKLab | oklab(53.01% 0.0037 -0.171) |
| OKLCH | oklch(53.01% 0.171 271.2) |
| XYZ | xyz(17.9320, 14.0465, 59.5120) |
| Luminance | 0.1405 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.33
Azul
#1D5DEC
ΔE00 4.41
Royal Blue
#4169E1
ΔE00 4.48
Dark Periwinkle
#665FD1
ΔE00 4.84
Iris
#6258C4
ΔE00 5.29
Cornflower Blue
#5170D7
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FCD #CDB84A
analogous
#4AA0CD #4A5FCD #774ACD
triadic
#4A5FCD #CD4A5F #5FCD4A
tetradic
#4A5FCD #CD4AA0 #CDB84A #4ACD77
square
#4A5FCD #CD4AA0 #CDB84A #4ACD77
split-complementary
#4A5FCD #CD774A #A0CD4A
monochromatic
#22307B #2F43AB #4A5FCD #7A89DA #AAB4E7
Accessibility & contrast
On white
5.51
#4A5FCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#4A5FCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FCD
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FCD | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#116FD1
Deuteranopia (green-blind)
#0063CB
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #4a5fcd; /* rgb */ color: rgb(74, 95, 205); /* oklch */ color: oklch(53.0% 0.171 271.2);
Tailwind
colors: {
custom: {
50: '#8a8cdd',
500: '#4a5fcd',
950: '#000000',
},
}SCSS
$custom: #4a5fcd; $custom-light: #8a8cdd; $custom-dark: #000000;
JSON
{
"hex": "#4a5fcd",
"rgb": {
"r": 74,
"g": 95,
"b": 205
},
"hsl": {
"h": 230.382,
"s": 56.71,
"l": 54.706
},
"oklch": {
"l": 0.53005,
"c": 0.17107,
"h": 271.2
},
"luminance": 0.14048
}Semantic roles & 50–950 ramp
primary
#4A5FCD
secondary
#D5CC9E
accent
#C848E0
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83