#4A5FC6#4A5FC6
#4A5FC6 is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.5% C 0.161 H 271.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FC6 |
|---|---|
| RGB | rgb(74, 95, 198) |
| HSL | hsl(230, 52%, 53%) |
| HSV | hsv(230, 63%, 78%) |
| CMYK | cmyk(62.6%, 52%, 0%, 22.4%) |
| CIE-LAB | lab(43.82, 24.44, -56.29) |
| CIE-LCH | lch(43.82, 61.37, 293.47°) |
| OKLab | oklab(52.5% 0.0032 -0.1614) |
| OKLCH | oklch(52.5% 0.161 271.1) |
| XYZ | xyz(17.1059, 13.7160, 55.1611) |
| Luminance | 0.1372 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.02
Royal Blue
#4169E1
ΔE00 5.01
Azul
#1D5DEC
ΔE00 5.08
Dark Periwinkle
#665FD1
ΔE00 5.25
Iris
#6258C4
ΔE00 5.36
Cornflower Blue
#5170D7
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FC6 #C6B14A
analogous
#4A9DC6 #4A5FC6 #734AC6
triadic
#4A5FC6 #C64A5F #5FC64A
tetradic
#4A5FC6 #C64A9D #C6B14A #4AC673
square
#4A5FC6 #C64A9D #C6B14A #4AC673
split-complementary
#4A5FC6 #C6734A #9DC64A
monochromatic
#243172 #3245A0 #4A5FC6 #7988D5 #A7B1E3
Accessibility & contrast
On white
5.61
#4A5FC6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#4A5FC6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FC6
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FC6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FC6 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#216DCA
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#007789
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4a5fc6; /* rgb */ color: rgb(74, 95, 198); /* oklch */ color: oklch(52.5% 0.161 271.1);
Tailwind
colors: {
custom: {
50: '#888cd8',
500: '#4a5fc6',
950: '#000000',
},
}SCSS
$custom: #4a5fc6; $custom-light: #888cd8; $custom-dark: #000000;
JSON
{
"hex": "#4a5fc6",
"rgb": {
"r": 74,
"g": 95,
"b": 198
},
"hsl": {
"h": 229.839,
"s": 52.101,
"l": 53.333
},
"oklch": {
"l": 0.52495,
"c": 0.16145,
"h": 271.1
},
"luminance": 0.13717
}Semantic roles & 50–950 ramp
primary
#4A5FC6
secondary
#D1C89B
accent
#C34CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C14
muted
#7D7D83