#5B56CD#5B56CD
#5B56CD is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.5% C 0.179 H 280.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #5B56CD |
|---|---|
| RGB | rgb(91, 86, 205) |
| HSL | hsl(243, 54%, 57%) |
| HSV | hsv(243, 58%, 80%) |
| CMYK | cmyk(55.6%, 58%, 0%, 19.6%) |
| CIE-LAB | lab(43.19, 35.45, -61.30) |
| CIE-LCH | lch(43.19, 70.81, 300.04°) |
| OKLab | oklab(52.47% 0.0315 -0.1758) |
| OKLCH | oklch(52.47% 0.179 280.2) |
| XYZ | xyz(18.6582, 13.2863, 59.3271) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.85
Slate Blue
#6A5ACD
ΔE00 2.76
Warm Blue
#4B57DB
ΔE00 2.88
Dark Periwinkle
#665FD1
ΔE00 3.20
Light Indigo
#6D5ACF
ΔE00 3.27
Bluey Purple
#6241C7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B56CD #C8CD56
analogous
#568DCD #5B56CD #9756CD
triadic
#5B56CD #CD5B56 #56CD5B
tetradic
#5B56CD #CD568D #C8CD56 #56CD97
square
#5B56CD #CD568D #C8CD56 #56CD97
split-complementary
#5B56CD #CD9756 #8DCD56
monochromatic
#2A2682 #3A34B1 #5B56CD #8985DB #B7B4E9
Accessibility & contrast
On white
5.74
#5B56CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#5B56CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B56CD
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B56CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B56CD | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#0061CB
Tritanopia (blue-blind)
#217289
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5b56cd; /* rgb */ color: rgb(91, 86, 205); /* oklch */ color: oklch(52.5% 0.179 280.2);
Tailwind
colors: {
custom: {
50: '#9386dd',
500: '#5b56cd',
950: '#000000',
},
}SCSS
$custom: #5b56cd; $custom-light: #9386dd; $custom-dark: #000000;
JSON
{
"hex": "#5b56cd",
"rgb": {
"r": 91,
"g": 86,
"b": 205
},
"hsl": {
"h": 242.521,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.5247,
"c": 0.1786,
"h": 280.2
},
"luminance": 0.13288
}Semantic roles & 50–950 ramp
primary
#5B56CD
secondary
#D6D8A7
accent
#DE4AD7
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83