#4A5FC7#4A5FC7
#4A5FC7 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.163 H 271.2°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FC7 |
|---|---|
| RGB | rgb(74, 95, 199) |
| HSL | hsl(230, 53%, 54%) |
| HSV | hsv(230, 63%, 78%) |
| CMYK | cmyk(62.8%, 52.3%, 0%, 22%) |
| CIE-LAB | lab(43.89, 24.78, -56.76) |
| CIE-LCH | lch(43.89, 61.94, 293.59°) |
| OKLab | oklab(52.57% 0.0033 -0.1628) |
| OKLCH | oklch(52.57% 0.163 271.2) |
| XYZ | xyz(17.2216, 13.7623, 55.7706) |
| Luminance | 0.1376 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.91
Royal Blue
#4169E1
ΔE00 4.93
Azul
#1D5DEC
ΔE00 4.98
Dark Periwinkle
#665FD1
ΔE00 5.19
Iris
#6258C4
ΔE00 5.34
Cornflower Blue
#5170D7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FC7 #C7B24A
analogous
#4A9DC7 #4A5FC7 #734AC7
triadic
#4A5FC7 #C74A5F #5FC74A
tetradic
#4A5FC7 #C74A9D #C7B24A #4AC773
square
#4A5FC7 #C74A9D #C7B24A #4AC773
split-complementary
#4A5FC7 #C7734A #9DC74A
monochromatic
#243173 #3245A2 #4A5FC7 #7988D5 #A7B2E4
Accessibility & contrast
On white
5.60
#4A5FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#4A5FC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FC7
5.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FC7 | 1.00 | 5.60 | 3.75 | 5.60 |
| #FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F6ECB
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#00778A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4a5fc7; /* rgb */ color: rgb(74, 95, 199); /* oklch */ color: oklch(52.6% 0.163 271.2);
Tailwind
colors: {
custom: {
50: '#898cd9',
500: '#4a5fc7',
950: '#000000',
},
}SCSS
$custom: #4a5fc7; $custom-light: #898cd9; $custom-dark: #000000;
JSON
{
"hex": "#4a5fc7",
"rgb": {
"r": 74,
"g": 95,
"b": 199
},
"hsl": {
"h": 229.92,
"s": 52.743,
"l": 53.529
},
"oklch": {
"l": 0.52567,
"c": 0.16283,
"h": 271.2
},
"luminance": 0.13764
}Semantic roles & 50–950 ramp
primary
#4A5FC7
secondary
#D1C89C
accent
#C44CDC
background
#F8F8FD
surface
#F0F0FA
border
#CBCBD3
text
#0D0C15
muted
#7D7D83