#5B56E2#5B56E2
#5B56E2 is a mid, highly saturated blue. Relative luminance 0.144; OKLCH L 54.1% C 0.206 H 278.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5B56E2 |
|---|---|
| RGB | rgb(91, 86, 226) |
| HSL | hsl(242, 71%, 61%) |
| HSV | hsv(242, 62%, 89%) |
| CMYK | cmyk(59.7%, 61.9%, 0%, 11.4%) |
| CIE-LAB | lab(44.76, 42.13, -70.76) |
| CIE-LCH | lch(44.76, 82.35, 300.77°) |
| OKLab | oklab(54.11% 0.0307 -0.2036) |
| OKLCH | oklch(54.11% 0.206 278.6) |
| XYZ | xyz(21.3653, 14.3691, 73.5844) |
| Luminance | 0.1437 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.61
Dark Periwinkle
#665FD1
ΔE00 3.65
Slate Blue
#6A5ACD
ΔE00 3.76
Light Indigo
#6D5ACF
ΔE00 3.90
Iris
#6258C4
ΔE00 4.27
Purpleish Blue
#6140EF
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B56E2 #DDE256
analogous
#5697E2 #5B56E2 #A156E2
triadic
#5B56E2 #E25B56 #56E25B
tetradic
#5B56E2 #E25697 #DDE256 #56E2A1
square
#5B56E2 #E25697 #DDE256 #56E2A1
split-complementary
#5B56E2 #E2A156 #97E256
monochromatic
#211CA2 #2B25D6 #5B56E2 #8E8AEB #C0BEF4
Accessibility & contrast
On white
5.42
#5B56E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#5B56E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B56E2
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B56E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B56E2 | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E6
Deuteranopia (green-blind)
#0064DF
Tritanopia (blue-blind)
#007994
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5b56e2; /* rgb */ color: rgb(91, 86, 226); /* oklch */ color: oklch(54.1% 0.206 278.6);
Tailwind
colors: {
custom: {
50: '#9686ec',
500: '#5b56e2',
950: '#000000',
},
}SCSS
$custom: #5b56e2; $custom-light: #9686ec; $custom-dark: #000000;
JSON
{
"hex": "#5b56e2",
"rgb": {
"r": 91,
"g": 86,
"b": 226
},
"hsl": {
"h": 242.143,
"s": 70.707,
"l": 61.176
},
"oklch": {
"l": 0.54114,
"c": 0.2059,
"h": 278.6
},
"luminance": 0.14371
}Semantic roles & 50–950 ramp
primary
#5B56E2
secondary
#E2E4B0
accent
#D313CC
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0B16
muted
#7E7C84