#4A5FD5#4A5FD5
#4A5FD5 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.6% C 0.182 H 271.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FD5 |
|---|---|
| RGB | rgb(74, 95, 213) |
| HSL | hsl(231, 62%, 56%) |
| HSV | hsv(231, 65%, 84%) |
| CMYK | cmyk(65.3%, 55.4%, 0%, 16.5%) |
| CIE-LAB | lab(44.86, 29.62, -63.23) |
| CIE-LCH | lch(44.86, 69.83, 295.10°) |
| OKLab | oklab(53.61% 0.0041 -0.1818) |
| OKLCH | oklch(53.61% 0.182 271.3) |
| XYZ | xyz(18.9224, 14.4426, 64.7284) |
| Luminance | 0.1444 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.78
Azul
#1D5DEC
ΔE00 3.80
Royal Blue
#4169E1
ΔE00 4.06
Dark Periwinkle
#665FD1
ΔE00 4.57
Iris
#6258C4
ΔE00 5.42
Cornflower Blue
#5170D7
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FD5 #D5C04A
analogous
#4AA5D5 #4A5FD5 #7B4AD5
triadic
#4A5FD5 #D54A5F #5FD54A
tetradic
#4A5FD5 #D54AA5 #D5C04A #4AD57B
square
#4A5FD5 #D54AA5 #D5C04A #4AD57B
split-complementary
#4A5FD5 #D57B4A #A5D54A
monochromatic
#1F2F86 #2B40B7 #4A5FD5 #7C8BE1 #ADB7EC
Accessibility & contrast
On white
5.40
#4A5FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#4A5FD5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FD5
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FD5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FD5 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071D9
Deuteranopia (green-blind)
#0064D3
Tritanopia (blue-blind)
#007B91
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4a5fd5; /* rgb */ color: rgb(74, 95, 213); /* oklch */ color: oklch(53.6% 0.182 271.3);
Tailwind
colors: {
custom: {
50: '#8b8ce3',
500: '#4a5fd5',
950: '#000000',
},
}SCSS
$custom: #4a5fd5; $custom-light: #8b8ce3; $custom-dark: #000000;
JSON
{
"hex": "#4a5fd5",
"rgb": {
"r": 74,
"g": 95,
"b": 213
},
"hsl": {
"h": 230.935,
"s": 62.332,
"l": 56.275
},
"oklch": {
"l": 0.53605,
"c": 0.18189,
"h": 271.3
},
"luminance": 0.14444
}Semantic roles & 50–950 ramp
primary
#4A5FD5
secondary
#DAD1A1
accent
#CD42E5
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C15
muted
#7E7D84