#5B56E8#5B56E8
#5B56E8 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 54.6% C 0.213 H 278.2°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).
Color values
| HEX | #5B56E8 |
|---|---|
| RGB | rgb(91, 86, 232) |
| HSL | hsl(242, 76%, 62%) |
| HSV | hsv(242, 63%, 91%) |
| CMYK | cmyk(60.8%, 62.9%, 0%, 9%) |
| CIE-LAB | lab(45.23, 44.03, -73.39) |
| CIE-LCH | lch(45.23, 85.58, 300.96°) |
| OKLab | oklab(54.6% 0.0303 -0.2113) |
| OKLCH | oklch(54.6% 0.213 278.2) |
| XYZ | xyz(22.2030, 14.7042, 77.9965) |
| Luminance | 0.1471 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.05
Dark Periwinkle
#665FD1
ΔE00 4.08
Slate Blue
#6A5ACD
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.35
Iris
#6258C4
ΔE00 4.99
Electric Blue
#0652FF
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B56E8 #E3E856
analogous
#569AE8 #5B56E8 #A456E8
triadic
#5B56E8 #E85B56 #56E85B
tetradic
#5B56E8 #E8569A #E3E856 #56E8A4
square
#5B56E8 #E8569A #E3E856 #56E8A4
split-complementary
#5B56E8 #E8A456 #9AE856
monochromatic
#1D17AC #2720E1 #5B56E8 #8F8CEF #C4C2F7
Accessibility & contrast
On white
5.33
#5B56E8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.94
#5B56E8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B56E8
5.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B56E8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B56E8 | 1.00 | 5.33 | 3.94 | 5.33 |
| #FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0065E5
Tritanopia (blue-blind)
#007B97
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b56e8; /* rgb */ color: rgb(91, 86, 232); /* oklch */ color: oklch(54.6% 0.213 278.2);
Tailwind
colors: {
custom: {
50: '#9786f0',
500: '#5b56e8',
950: '#000000',
},
}SCSS
$custom: #5b56e8; $custom-light: #9786f0; $custom-dark: #000000;
JSON
{
"hex": "#5b56e8",
"rgb": {
"r": 91,
"g": 86,
"b": 232
},
"hsl": {
"h": 242.055,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.54602,
"c": 0.21349,
"h": 278.2
},
"luminance": 0.14706
}Semantic roles & 50–950 ramp
primary
#5B56E8
secondary
#E6E8B2
accent
#D80DD1
background
#FAF8FE
surface
#F3EFFD
border
#CDCAD5
text
#0F0B17
muted
#7F7C85