#4A5DC7#4A5DC7
#4A5DC7 is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.2% C 0.165 H 271.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5DC7 |
|---|---|
| RGB | rgb(74, 93, 199) |
| HSL | hsl(231, 53%, 54%) |
| HSV | hsv(231, 63%, 78%) |
| CMYK | cmyk(62.8%, 53.3%, 0%, 22%) |
| CIE-LAB | lab(43.37, 26.05, -57.60) |
| CIE-LCH | lch(43.37, 63.22, 294.33°) |
| OKLab | oklab(52.18% 0.0052 -0.1653) |
| OKLCH | oklch(52.18% 0.165 271.8) |
| XYZ | xyz(17.0437, 13.4066, 55.7113) |
| Luminance | 0.1341 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.46
Iris
#6258C4
ΔE00 4.90
Dark Periwinkle
#665FD1
ΔE00 5.04
Azul
#1D5DEC
ΔE00 5.07
Royal Blue
#4169E1
ΔE00 5.46
Slate Blue
#6A5ACD
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5DC7 #C7B44A
analogous
#4A9BC7 #4A5DC7 #754AC7
triadic
#4A5DC7 #C74A5D #5DC74A
tetradic
#4A5DC7 #C74A9B #C7B44A #4AC775
square
#4A5DC7 #C74A9B #C7B44A #4AC775
split-complementary
#4A5DC7 #C7754A #9BC74A
monochromatic
#243073 #3243A2 #4A5DC7 #7987D5 #A7B1E4
Accessibility & contrast
On white
5.70
#4A5DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#4A5DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5DC7
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5DC7 | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176CCB
Deuteranopia (green-blind)
#0061C5
Tritanopia (blue-blind)
#007689
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #4a5dc7; /* rgb */ color: rgb(74, 93, 199); /* oklch */ color: oklch(52.2% 0.165 271.8);
Tailwind
colors: {
custom: {
50: '#898ad9',
500: '#4a5dc7',
950: '#000000',
},
}SCSS
$custom: #4a5dc7; $custom-light: #898ad9; $custom-dark: #000000;
JSON
{
"hex": "#4a5dc7",
"rgb": {
"r": 74,
"g": 93,
"b": 199
},
"hsl": {
"h": 230.88,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.52175,
"c": 0.16538,
"h": 271.8
},
"luminance": 0.13408
}Semantic roles & 50–950 ramp
primary
#4A5DC7
secondary
#D1C99C
accent
#C64CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0B15
muted
#7D7C83