#4A5FC8#4A5FC8
#4A5FC8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.6% C 0.164 H 271.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5FC8 |
|---|---|
| RGB | rgb(74, 95, 200) |
| HSL | hsl(230, 53%, 54%) |
| HSV | hsv(230, 63%, 78%) |
| CMYK | cmyk(63%, 52.5%, 0%, 21.6%) |
| CIE-LAB | lab(43.96, 25.13, -57.23) |
| CIE-LCH | lch(43.96, 62.51, 293.71°) |
| OKLab | oklab(52.64% 0.0034 -0.1642) |
| OKLCH | oklch(52.64% 0.164 271.2) |
| XYZ | xyz(17.3381, 13.8089, 56.3841) |
| Luminance | 0.1381 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.81
Royal Blue
#4169E1
ΔE00 4.84
Azul
#1D5DEC
ΔE00 4.88
Dark Periwinkle
#665FD1
ΔE00 5.12
Iris
#6258C4
ΔE00 5.32
Cornflower Blue
#5170D7
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5FC8 #C8B34A
analogous
#4A9EC8 #4A5FC8 #744AC8
triadic
#4A5FC8 #C84A5F #5FC84A
tetradic
#4A5FC8 #C84A9E #C8B34A #4AC874
square
#4A5FC8 #C84A9E #C8B34A #4AC874
split-complementary
#4A5FC8 #C8744A #9EC84A
monochromatic
#233174 #3245A3 #4A5FC8 #7988D6 #A8B2E5
Accessibility & contrast
On white
5.58
#4A5FC8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#4A5FC8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5FC8
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5FC8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5FC8 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D6ECC
Deuteranopia (green-blind)
#0063C6
Tritanopia (blue-blind)
#00788A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4a5fc8; /* rgb */ color: rgb(74, 95, 200); /* oklch */ color: oklch(52.6% 0.164 271.2);
Tailwind
colors: {
custom: {
50: '#898cd9',
500: '#4a5fc8',
950: '#000000',
},
}SCSS
$custom: #4a5fc8; $custom-light: #898cd9; $custom-dark: #000000;
JSON
{
"hex": "#4a5fc8",
"rgb": {
"r": 74,
"g": 95,
"b": 200
},
"hsl": {
"h": 230,
"s": 53.39,
"l": 53.725
},
"oklch": {
"l": 0.52639,
"c": 0.16421,
"h": 271.2
},
"luminance": 0.1381
}Semantic roles & 50–950 ramp
primary
#4A5FC8
secondary
#D2C99C
accent
#C44BDD
background
#F8F8FD
surface
#F0F0FB
border
#CBCBD4
text
#0D0C15
muted
#7D7D83