#5B56CF#5B56CF
#5B56CF is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.6% C 0.181 H 280.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #5B56CF |
|---|---|
| RGB | rgb(91, 86, 207) |
| HSL | hsl(242, 56%, 57%) |
| HSV | hsv(242, 58%, 81%) |
| CMYK | cmyk(56%, 58.5%, 0%, 18.8%) |
| CIE-LAB | lab(43.34, 36.09, -62.22) |
| CIE-LCH | lch(43.34, 71.93, 300.12°) |
| OKLab | oklab(52.62% 0.0315 -0.1785) |
| OKLCH | oklch(52.62% 0.181 280) |
| XYZ | xyz(18.9011, 13.3835, 60.6067) |
| Luminance | 0.1338 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.05
Warm Blue
#4B57DB
ΔE00 2.72
Slate Blue
#6A5ACD
ΔE00 2.76
Dark Periwinkle
#665FD1
ΔE00 3.15
Light Indigo
#6D5ACF
ΔE00 3.24
Bluey Purple
#6241C7
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B56CF #CACF56
analogous
#568ECF #5B56CF #9756CF
triadic
#5B56CF #CF5B56 #56CF5B
tetradic
#5B56CF #CF568E #CACF56 #56CF97
square
#5B56CF #CF568E #CACF56 #56CF97
split-complementary
#5B56CF #CF9756 #8ECF56
monochromatic
#2A2685 #3933B5 #5B56CF #8986DD #B8B5EA
Accessibility & contrast
On white
5.71
#5B56CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#5B56CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B56CF
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B56CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B56CF | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#1E738A
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5b56cf; /* rgb */ color: rgb(91, 86, 207); /* oklch */ color: oklch(52.6% 0.181 280.0);
Tailwind
colors: {
custom: {
50: '#9386de',
500: '#5b56cf',
950: '#000000',
},
}SCSS
$custom: #5b56cf; $custom-light: #9386de; $custom-dark: #000000;
JSON
{
"hex": "#5b56cf",
"rgb": {
"r": 91,
"g": 86,
"b": 207
},
"hsl": {
"h": 242.479,
"s": 55.76,
"l": 57.451
},
"oklch": {
"l": 0.52622,
"c": 0.18126,
"h": 280
},
"luminance": 0.13385
}Semantic roles & 50–950 ramp
primary
#5B56CF
secondary
#D7D9A8
accent
#DF49D9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83