#4A5FD8#4A5FD8
#4A5FD8 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.186 H 271.3°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FD8 |
|---|---|
| RGB | rgb(74, 95, 216) |
| HSL | hsl(231, 65%, 57%) |
| HSV | hsv(231, 66%, 85%) |
| CMYK | cmyk(65.7%, 56%, 0%, 15.3%) |
| CIE-LAB | lab(45.08, 30.66, -64.60) |
| CIE-LCH | lch(45.08, 71.50, 295.39°) |
| OKLab | oklab(53.83% 0.0042 -0.1858) |
| OKLCH | oklch(53.83% 0.186 271.3) |
| XYZ | xyz(19.3067, 14.5964, 66.7524) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.67
Azul
#1D5DEC
ΔE00 3.63
Royal Blue
#4169E1
ΔE00 3.96
Dark Periwinkle
#665FD1
ΔE00 4.52
Iris
#6258C4
ΔE00 5.52
Bright Blue
#0165FC
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FD8 #D8C34A
analogous
#4AA6D8 #4A5FD8 #7C4AD8
triadic
#4A5FD8 #D84A5F #5FD84A
tetradic
#4A5FD8 #D84AA6 #D8C34A #4AD87C
square
#4A5FD8 #D84AA6 #D8C34A #4AD87C
split-complementary
#4A5FD8 #D87C4A #A6D84A
monochromatic
#1E2E8A #293EBC #4A5FD8 #7C8CE3 #AFB8EE
Accessibility & contrast
On white
5.36
#4A5FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#4A5FD8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FD8
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FD8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FD8 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DC
Deuteranopia (green-blind)
#0064D6
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4a5fd8; /* rgb */ color: rgb(74, 95, 216); /* oklch */ color: oklch(53.8% 0.186 271.3);
Tailwind
colors: {
custom: {
50: '#8c8ce5',
500: '#4a5fd8',
950: '#000000',
},
}SCSS
$custom: #4a5fd8; $custom-light: #8c8ce5; $custom-dark: #000000;
JSON
{
"hex": "#4a5fd8",
"rgb": {
"r": 74,
"g": 95,
"b": 216
},
"hsl": {
"h": 231.127,
"s": 64.545,
"l": 56.863
},
"oklch": {
"l": 0.53834,
"c": 0.1859,
"h": 271.3
},
"luminance": 0.14598
}Semantic roles & 50–950 ramp
primary
#4A5FD8
secondary
#DCD3A2
accent
#CF40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84