#4A5ECF#4A5ECF
#4A5ECF is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.0% C 0.175 H 271.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #4A5ECF |
|---|---|
| RGB | rgb(74, 94, 207) |
| HSL | hsl(231, 58%, 55%) |
| HSV | hsv(231, 64%, 81%) |
| CMYK | cmyk(64.3%, 54.6%, 0%, 18.8%) |
| CIE-LAB | lab(44.18, 28.18, -60.90) |
| CIE-LCH | lch(44.18, 67.10, 294.83°) |
| OKLab | oklab(52.96% 0.0048 -0.175) |
| OKLCH | oklch(52.96% 0.175 271.6) |
| XYZ | xyz(18.0854, 13.9647, 60.7618) |
| Luminance | 0.1397 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.88
Azul
#1D5DEC
ΔE00 4.27
Royal Blue
#4169E1
ΔE00 4.65
Dark Periwinkle
#665FD1
ΔE00 4.67
Iris
#6258C4
ΔE00 5.08
Slate Blue
#6A5ACD
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A5ECF #CFBB4A
analogous
#4AA1CF #4A5ECF #784ACF
triadic
#4A5ECF #CF4A5E #5ECF4A
tetradic
#4A5ECF #CF4AA1 #CFBB4A #4ACF78
square
#4A5ECF #CF4AA1 #CFBB4A #4ACF78
split-complementary
#4A5ECF #CF784A #A1CF4A
monochromatic
#212F7D #2E41AE #4A5ECF #7A89DC #ABB4E9
Accessibility & contrast
On white
5.54
#4A5ECF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#4A5ECF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A5ECF
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A5ECF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A5ECF | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#016FD3
Deuteranopia (green-blind)
#0063CD
Tritanopia (blue-blind)
#00798D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4a5ecf; /* rgb */ color: rgb(74, 94, 207); /* oklch */ color: oklch(53.0% 0.175 271.6);
Tailwind
colors: {
custom: {
50: '#8a8bde',
500: '#4a5ecf',
950: '#000000',
},
}SCSS
$custom: #4a5ecf; $custom-light: #8a8bde; $custom-dark: #000000;
JSON
{
"hex": "#4a5ecf",
"rgb": {
"r": 74,
"g": 94,
"b": 207
},
"hsl": {
"h": 230.977,
"s": 58.079,
"l": 55.098
},
"oklch": {
"l": 0.52961,
"c": 0.17504,
"h": 271.6
},
"luminance": 0.13966
}Semantic roles & 50–950 ramp
primary
#4A5ECF
secondary
#D6CE9F
accent
#CA46E1
background
#F9F8FD
surface
#F1F0FB
border
#CBCBD4
text
#0D0C15
muted
#7E7D83