#4A5FD9#4A5FD9
#4A5FD9 is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.187 H 271.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FD9 |
|---|---|
| RGB | rgb(74, 95, 217) |
| HSL | hsl(231, 65%, 57%) |
| HSV | hsv(231, 66%, 85%) |
| CMYK | cmyk(65.9%, 56.2%, 0%, 14.9%) |
| CIE-LAB | lab(45.15, 31.00, -65.05) |
| CIE-LCH | lch(45.15, 72.06, 295.48°) |
| OKLab | oklab(53.91% 0.0043 -0.1872) |
| OKLCH | oklch(53.91% 0.187 271.3) |
| XYZ | xyz(19.4364, 14.6482, 67.4353) |
| Luminance | 0.1465 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.64
Azul
#1D5DEC
ΔE00 3.58
Royal Blue
#4169E1
ΔE00 3.93
Dark Periwinkle
#665FD1
ΔE00 4.52
Bright Blue
#0165FC
ΔE00 5.53
Iris
#6258C4
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FD9 #D9C44A
analogous
#4AA6D9 #4A5FD9 #7D4AD9
triadic
#4A5FD9 #D94A5F #5FD94A
tetradic
#4A5FD9 #D94AA6 #D9C44A #4AD97D
square
#4A5FD9 #D94AA6 #D9C44A #4AD97D
split-complementary
#4A5FD9 #D97D4A #A6D94A
monochromatic
#1D2D8B #283EBE #4A5FD9 #7D8CE4 #AFB8EE
Accessibility & contrast
On white
5.34
#4A5FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.93
#4A5FD9 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FD9
5.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FD9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FD9 | 1.00 | 5.34 | 3.93 | 5.34 |
| #FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071DD
Deuteranopia (green-blind)
#0065D7
Tritanopia (blue-blind)
#007D93
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #4a5fd9; /* rgb */ color: rgb(74, 95, 217); /* oklch */ color: oklch(53.9% 0.187 271.3);
Tailwind
colors: {
custom: {
50: '#8c8ce6',
500: '#4a5fd9',
950: '#000000',
},
}SCSS
$custom: #4a5fd9; $custom-light: #8c8ce6; $custom-dark: #000000;
JSON
{
"hex": "#4a5fd9",
"rgb": {
"r": 74,
"g": 95,
"b": 217
},
"hsl": {
"h": 231.189,
"s": 65.297,
"l": 57.059
},
"oklch": {
"l": 0.5391,
"c": 0.18723,
"h": 271.3
},
"luminance": 0.1465
}Semantic roles & 50–950 ramp
primary
#4A5FD9
secondary
#DCD4A2
accent
#CF40E8
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0D0C16
muted
#7E7D84