#5A56E7#5A56E7
#5A56E7 is a mid, highly saturated blue. Relative luminance 0.146; OKLCH L 54.5% C 0.212 H 277.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5A56E7 |
|---|---|
| RGB | rgb(90, 86, 231) |
| HSL | hsl(242, 75%, 62%) |
| HSV | hsv(242, 63%, 91%) |
| CMYK | cmyk(61%, 62.8%, 0%, 9.4%) |
| CIE-LAB | lab(45.08, 43.56, -73.07) |
| CIE-LCH | lch(45.08, 85.07, 300.80°) |
| OKLab | oklab(54.45% 0.0292 -0.2104) |
| OKLCH | oklch(54.45% 0.212 277.9) |
| XYZ | xyz(21.9634, 14.5971, 77.2459) |
| Luminance | 0.1460 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.85
Dark Periwinkle
#665FD1
ΔE00 4.04
Slate Blue
#6A5ACD
ΔE00 4.26
Light Indigo
#6D5ACF
ΔE00 4.36
Iris
#6258C4
ΔE00 4.89
Electric Blue
#0652FF
ΔE00 5.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A56E7 #E3E756
analogous
#569BE7 #5A56E7 #A256E7
triadic
#5A56E7 #E75A56 #56E75A
tetradic
#5A56E7 #E7569B #E3E756 #56E7A2
square
#5A56E7 #E7569B #E3E756 #56E7A2
split-complementary
#5A56E7 #E7A256 #9BE756
monochromatic
#1C18AA #2620DF #5A56E7 #8E8CEF #C3C1F6
Accessibility & contrast
On white
5.36
#5A56E7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#5A56E7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A56E7
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A56E7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A56E7 | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071EC
Deuteranopia (green-blind)
#0065E4
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5a56e7; /* rgb */ color: rgb(90, 86, 231); /* oklch */ color: oklch(54.5% 0.212 277.9);
Tailwind
colors: {
custom: {
50: '#9786f0',
500: '#5a56e7',
950: '#000000',
},
}SCSS
$custom: #5a56e7; $custom-light: #9786f0; $custom-dark: #000000;
JSON
{
"hex": "#5a56e7",
"rgb": {
"r": 90,
"g": 86,
"b": 231
},
"hsl": {
"h": 241.655,
"s": 75.13,
"l": 62.157
},
"oklch": {
"l": 0.54451,
"c": 0.21243,
"h": 277.9
},
"luminance": 0.14599
}Semantic roles & 50–950 ramp
primary
#5A56E7
secondary
#E6E7B2
accent
#D70ED2
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85