#4A5FCA#4A5FCA
#4A5FCA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 52.8% C 0.167 H 271.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FCA |
|---|---|
| RGB | rgb(74, 95, 202) |
| HSL | hsl(230, 55%, 54%) |
| HSV | hsv(230, 63%, 79%) |
| CMYK | cmyk(63.4%, 53%, 0%, 20.8%) |
| CIE-LAB | lab(44.09, 25.82, -58.16) |
| CIE-LCH | lch(44.09, 63.64, 293.94°) |
| OKLab | oklab(52.79% 0.0035 -0.1669) |
| OKLCH | oklch(52.79% 0.167 271.2) |
| XYZ | xyz(17.5733, 13.9030, 57.6231) |
| Luminance | 0.1391 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.61
Azul
#1D5DEC
ΔE00 4.68
Royal Blue
#4169E1
ΔE00 4.69
Dark Periwinkle
#665FD1
ΔE00 5.00
Iris
#6258C4
ΔE00 5.30
Cornflower Blue
#5170D7
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FCA #CAB54A
analogous
#4A9FCA #4A5FCA #754ACA
triadic
#4A5FCA #CA4A5F #5FCA4A
tetradic
#4A5FCA #CA4A9F #CAB54A #4ACA75
square
#4A5FCA #CA4A9F #CAB54A #4ACA75
split-complementary
#4A5FCA #CA754A #9FCA4A
monochromatic
#233177 #3144A6 #4A5FCA #7989D8 #A9B3E6
Accessibility & contrast
On white
5.55
#4A5FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#4A5FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FCA
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FCA | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196ECE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#00788B
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4a5fca; /* rgb */ color: rgb(74, 95, 202); /* oklch */ color: oklch(52.8% 0.167 271.2);
Tailwind
colors: {
custom: {
50: '#898cdb',
500: '#4a5fca',
950: '#000000',
},
}SCSS
$custom: #4a5fca; $custom-light: #898cdb; $custom-dark: #000000;
JSON
{
"hex": "#4a5fca",
"rgb": {
"r": 74,
"g": 95,
"b": 202
},
"hsl": {
"h": 230.156,
"s": 54.701,
"l": 54.118
},
"oklch": {
"l": 0.52785,
"c": 0.16697,
"h": 271.2
},
"luminance": 0.13905
}Semantic roles & 50–950 ramp
primary
#4A5FCA
secondary
#D3CA9D
accent
#C64ADE
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83