#4A56E5#4A56E5
#4A56E5 is a mid, highly saturated blue. Relative luminance 0.138; OKLCH L 53.3% C 0.214 H 273.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #4A56E5 |
|---|---|
| RGB | rgb(74, 86, 229) |
| HSL | hsl(235, 75%, 59%) |
| HSV | hsv(235, 68%, 90%) |
| CMYK | cmyk(67.7%, 62.4%, 0%, 10.2%) |
| CIE-LAB | lab(43.90, 40.65, -73.91) |
| CIE-LCH | lch(43.90, 84.35, 298.81°) |
| OKLab | oklab(53.27% 0.0112 -0.2133) |
| OKLCH | oklch(53.27% 0.214 273) |
| XYZ | xyz(20.2900, 13.7667, 75.7015) |
| Luminance | 0.1377 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 1.29
Electric Blue
#0652FF
ΔE00 3.80
Azul
#1D5DEC
ΔE00 4.52
Dark Periwinkle
#665FD1
ΔE00 4.97
Iris
#6258C4
ΔE00 5.39
Slate Blue
#6A5ACD
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4A56E5 #E5D94A
analogous
#4AA4E5 #4A56E5 #8C4AE5
triadic
#4A56E5 #E54A56 #56E54A
tetradic
#4A56E5 #E54AA4 #E5D94A #4AE58C
square
#4A56E5 #E54AA4 #E5D94A #4AE58C
split-complementary
#4A56E5 #E58C4A #A4E54A
monochromatic
#17219E #1E2CD3 #4A56E5 #8088ED #B5BAF4
Accessibility & contrast
On white
5.59
#4A56E5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#4A56E5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #4A56E5
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4A56E5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4A56E5 | 1.00 | 5.59 | 3.75 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FEA
Deuteranopia (green-blind)
#0061E2
Tritanopia (blue-blind)
#007B96
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #4a56e5; /* rgb */ color: rgb(74, 86, 229); /* oklch */ color: oklch(53.3% 0.214 273.0);
Tailwind
colors: {
custom: {
50: '#8f86ee',
500: '#4a56e5',
950: '#000000',
},
}SCSS
$custom: #4a56e5; $custom-light: #8f86ee; $custom-dark: #000000;
JSON
{
"hex": "#4a56e5",
"rgb": {
"r": 74,
"g": 86,
"b": 229
},
"hsl": {
"h": 235.355,
"s": 74.879,
"l": 59.412
},
"oklch": {
"l": 0.5327,
"c": 0.21358,
"h": 273
},
"luminance": 0.13769
}Semantic roles & 50–950 ramp
primary
#4A56E5
secondary
#E4DFA7
accent
#E336F1
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0E0B17
muted
#7E7C85