#5B56BE#5B56BE
#5B56BE is a mid, vivid blue. Relative luminance 0.126; OKLCH L 51.4% C 0.158 H 281.4°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #5B56BE |
|---|---|
| RGB | rgb(91, 86, 190) |
| HSL | hsl(243, 44%, 54%) |
| HSV | hsv(243, 55%, 75%) |
| CMYK | cmyk(52.1%, 54.7%, 0%, 25.5%) |
| CIE-LAB | lab(42.15, 30.70, -54.29) |
| CIE-LCH | lch(42.15, 62.37, 299.49°) |
| OKLab | oklab(51.37% 0.0314 -0.1552) |
| OKLCH | oklch(51.37% 0.158 281.4) |
| XYZ | xyz(16.9336, 12.5965, 50.2443) |
| Luminance | 0.1260 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.57
Slate Blue
#6A5ACD
ΔE00 3.55
Light Indigo
#6D5ACF
ΔE00 4.13
Dark Periwinkle
#665FD1
ΔE00 4.20
Warm Blue
#4B57DB
ΔE00 4.58
Ocean Blue
#4F42B5
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B56BE #B9BE56
analogous
#5685BE #5B56BE #8F56BE
triadic
#5B56BE #BE5B56 #56BE5B
tetradic
#5B56BE #BE5685 #B9BE56 #56BE8F
square
#5B56BE #BE5685 #B9BE56 #56BE8F
split-complementary
#5B56BE #BE8F56 #85BE56
monochromatic
#2E2B6F #403C9B #5B56BE #8682CF #B1AEE0
Accessibility & contrast
On white
5.97
#5B56BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#5B56BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B56BE
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B56BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B56BE | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1767C2
Deuteranopia (green-blind)
#0460BC
Tritanopia (blue-blind)
#326D81
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5b56be; /* rgb */ color: rgb(91, 86, 190); /* oklch */ color: oklch(51.4% 0.158 281.4);
Tailwind
colors: {
custom: {
50: '#9185d2',
500: '#5b56be',
950: '#000000',
},
}SCSS
$custom: #5b56be; $custom-light: #9185d2; $custom-dark: #000000;
JSON
{
"hex": "#5b56be",
"rgb": {
"r": 91,
"g": 86,
"b": 190
},
"hsl": {
"h": 242.885,
"s": 44.444,
"l": 54.118
},
"oklch": {
"l": 0.51365,
"c": 0.15833,
"h": 281.4
},
"luminance": 0.12597
}Semantic roles & 50–950 ramp
primary
#5B56BE
secondary
#CCCEA2
accent
#D454CE
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0D0B14
muted
#7E7C83