#5B56E0#5B56E0
#5B56E0 is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.0% C 0.203 H 278.7°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #5B56E0 |
|---|---|
| RGB | rgb(91, 86, 224) |
| HSL | hsl(242, 69%, 61%) |
| HSV | hsv(242, 62%, 88%) |
| CMYK | cmyk(59.4%, 61.6%, 0%, 12.2%) |
| CIE-LAB | lab(44.60, 41.49, -69.87) |
| CIE-LCH | lch(44.60, 81.26, 300.70°) |
| OKLab | oklab(53.95% 0.0308 -0.201) |
| OKLCH | oklch(53.95% 0.203 278.7) |
| XYZ | xyz(21.0924, 14.2600, 72.1475) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.50
Dark Periwinkle
#665FD1
ΔE00 3.53
Slate Blue
#6A5ACD
ΔE00 3.59
Light Indigo
#6D5ACF
ΔE00 3.77
Iris
#6258C4
ΔE00 4.03
Purpleish Blue
#6140EF
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B56E0 #DBE056
analogous
#5696E0 #5B56E0 #A056E0
triadic
#5B56E0 #E05B56 #56E05B
tetradic
#5B56E0 #E05696 #DBE056 #56E0A0
square
#5B56E0 #E05696 #DBE056 #56E0A0
split-complementary
#5B56E0 #E0A056 #96E056
monochromatic
#221D9F #2D27D2 #5B56E0 #8D8AE9 #BFBDF3
Accessibility & contrast
On white
5.45
#5B56E0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#5B56E0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B56E0
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B56E0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B56E0 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0064DD
Tritanopia (blue-blind)
#007893
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5b56e0; /* rgb */ color: rgb(91, 86, 224); /* oklch */ color: oklch(54.0% 0.203 278.7);
Tailwind
colors: {
custom: {
50: '#9686eb',
500: '#5b56e0',
950: '#000000',
},
}SCSS
$custom: #5b56e0; $custom-light: #9686eb; $custom-dark: #000000;
JSON
{
"hex": "#5b56e0",
"rgb": {
"r": 91,
"g": 86,
"b": 224
},
"hsl": {
"h": 242.174,
"s": 69,
"l": 60.784
},
"oklch": {
"l": 0.53953,
"c": 0.20335,
"h": 278.7
},
"luminance": 0.14262
}Semantic roles & 50–950 ramp
primary
#5B56E0
secondary
#E1E3AF
accent
#D115CA
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84