#4A5FD7#4A5FD7
#4A5FD7 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.8% C 0.185 H 271.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FD7 |
|---|---|
| RGB | rgb(74, 95, 215) |
| HSL | hsl(231, 64%, 57%) |
| HSV | hsv(231, 66%, 84%) |
| CMYK | cmyk(65.6%, 55.8%, 0%, 15.7%) |
| CIE-LAB | lab(45.00, 30.31, -64.14) |
| CIE-LCH | lch(45.00, 70.95, 295.29°) |
| OKLab | oklab(53.76% 0.0042 -0.1845) |
| OKLCH | oklch(53.76% 0.185 271.3) |
| XYZ | xyz(19.1779, 14.5448, 66.0736) |
| Luminance | 0.1455 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.70
Azul
#1D5DEC
ΔE00 3.68
Royal Blue
#4169E1
ΔE00 3.99
Dark Periwinkle
#665FD1
ΔE00 4.53
Iris
#6258C4
ΔE00 5.48
Bright Blue
#0165FC
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FD7 #D7C24A
analogous
#4AA6D7 #4A5FD7 #7C4AD7
triadic
#4A5FD7 #D74A5F #5FD74A
tetradic
#4A5FD7 #D74AA6 #D7C24A #4AD77C
square
#4A5FD7 #D74AA6 #D7C24A #4AD77C
split-complementary
#4A5FD7 #D77C4A #A6D74A
monochromatic
#1E2E88 #293FBB #4A5FD7 #7C8BE2 #AEB8ED
Accessibility & contrast
On white
5.37
#4A5FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#4A5FD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FD7
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FD7 | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DB
Deuteranopia (green-blind)
#0064D5
Tritanopia (blue-blind)
#007C92
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #4a5fd7; /* rgb */ color: rgb(74, 95, 215); /* oklch */ color: oklch(53.8% 0.185 271.3);
Tailwind
colors: {
custom: {
50: '#8c8ce4',
500: '#4a5fd7',
950: '#000000',
},
}SCSS
$custom: #4a5fd7; $custom-light: #8c8ce4; $custom-dark: #000000;
JSON
{
"hex": "#4a5fd7",
"rgb": {
"r": 74,
"g": 95,
"b": 215
},
"hsl": {
"h": 231.064,
"s": 63.801,
"l": 56.667
},
"oklch": {
"l": 0.53757,
"c": 0.18457,
"h": 271.3
},
"luminance": 0.14547
}Semantic roles & 50–950 ramp
primary
#4A5FD7
secondary
#DBD3A2
accent
#CE41E7
background
#F9F8FE
surface
#F1F0FC
border
#CBCBD5
text
#0D0C16
muted
#7E7D84