#4A5ECC#4A5ECC
#4A5ECC is a mid, vivid blue. Relative luminance 0.138; OKLCH L 52.7% C 0.171 H 271.5°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5ECC |
|---|---|
| RGB | rgb(74, 94, 204) |
| HSL | hsl(231, 56%, 55%) |
| HSV | hsv(231, 64%, 80%) |
| CMYK | cmyk(63.7%, 53.9%, 0%, 20%) |
| CIE-LAB | lab(43.97, 27.14, -59.51) |
| CIE-LCH | lch(43.97, 65.41, 294.52°) |
| OKLab | oklab(52.74% 0.0046 -0.1709) |
| OKLCH | oklch(52.74% 0.171 271.5) |
| XYZ | xyz(17.7222, 13.8193, 58.8485) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.15
Azul
#1D5DEC
ΔE00 4.53
Dark Periwinkle
#665FD1
ΔE00 4.81
Royal Blue
#4169E1
ΔE00 4.83
Iris
#6258C4
ΔE00 5.07
Slate Blue
#6A5ACD
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5ECC #CCB84A
analogous
#4A9FCC #4A5ECC #774ACC
triadic
#4A5ECC #CC4A5E #5ECC4A
tetradic
#4A5ECC #CC4A9F #CCB84A #4ACC77
square
#4A5ECC #CC4A9F #CCB84A #4ACC77
split-complementary
#4A5ECC #CC774A #9FCC4A
monochromatic
#223079 #3042A9 #4A5ECC #7A88D9 #A9B3E7
Accessibility & contrast
On white
5.58
#4A5ECC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#4A5ECC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5ECC
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5ECC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5ECC | 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)
#0E6ED0
Deuteranopia (green-blind)
#0062CA
Tritanopia (blue-blind)
#00788C
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4a5ecc; /* rgb */ color: rgb(74, 94, 204); /* oklch */ color: oklch(52.7% 0.171 271.5);
Tailwind
colors: {
custom: {
50: '#8a8bdc',
500: '#4a5ecc',
950: '#000000',
},
}SCSS
$custom: #4a5ecc; $custom-light: #8a8bdc; $custom-dark: #000000;
JSON
{
"hex": "#4a5ecc",
"rgb": {
"r": 74,
"g": 94,
"b": 204
},
"hsl": {
"h": 230.769,
"s": 56.034,
"l": 54.51
},
"oklch": {
"l": 0.52738,
"c": 0.17096,
"h": 271.5
},
"luminance": 0.13821
}Semantic roles & 50–950 ramp
primary
#4A5ECC
secondary
#D4CC9D
accent
#C848DF
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83