#5B5CD2#5B5CD2
#5B5CD2 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.177 H 278.3°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CD2 |
|---|---|
| RGB | rgb(91, 92, 210) |
| HSL | hsl(239, 57%, 59%) |
| HSV | hsv(239, 57%, 82%) |
| CMYK | cmyk(56.7%, 56.2%, 0%, 17.6%) |
| CIE-LAB | lab(44.98, 33.39, -61.27) |
| CIE-LCH | lch(44.98, 69.78, 298.59°) |
| OKLab | oklab(53.91% 0.0255 -0.1757) |
| OKLCH | oklch(53.91% 0.178 278.3) |
| XYZ | xyz(19.7707, 14.5302, 62.7231) |
| Luminance | 0.1453 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.99
Warm Blue
#4B57DB
ΔE00 2.65
Iris
#6258C4
ΔE00 2.81
Slate Blue
#6A5ACD
ΔE00 2.94
Light Indigo
#6D5ACF
ΔE00 3.41
Azul
#1D5DEC
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CD2 #D2D15B
analogous
#5B98D2 #5B5CD2 #965BD2
triadic
#5B5CD2 #D25B5C #5CD25B
tetradic
#5B5CD2 #D25B98 #D2D15B #5BD296
square
#5B5CD2 #D25B98 #D2D15B #5BD296
split-complementary
#5B5CD2 #D2965B #98D25B
monochromatic
#26278C #3435BC #5B5CD2 #8B8CDF #BBBBEC
Accessibility & contrast
On white
5.38
#5B5CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#5B5CD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CD2
5.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CD2 | 1.00 | 5.38 | 3.91 | 5.38 |
| #FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0066D0
Tritanopia (blue-blind)
#16788E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5b5cd2; /* rgb */ color: rgb(91, 92, 210); /* oklch */ color: oklch(53.9% 0.177 278.3);
Tailwind
colors: {
custom: {
50: '#938ae1',
500: '#5b5cd2',
950: '#000000',
},
}SCSS
$custom: #5b5cd2; $custom-light: #938ae1; $custom-dark: #000000;
JSON
{
"hex": "#5b5cd2",
"rgb": {
"r": 91,
"g": 92,
"b": 210
},
"hsl": {
"h": 239.496,
"s": 56.938,
"l": 59.02
},
"oklch": {
"l": 0.53911,
"c": 0.1775,
"h": 278.3
},
"luminance": 0.14532
}Semantic roles & 50–950 ramp
primary
#5B5CD2
secondary
#DCDBAD
accent
#DF48E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83