#5B5CD7#5B5CD7
#5B5CD7 is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.3% C 0.184 H 278.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CD7 |
|---|---|
| RGB | rgb(91, 92, 215) |
| HSL | hsl(240, 61%, 60%) |
| HSV | hsv(240, 58%, 84%) |
| CMYK | cmyk(57.7%, 57.2%, 0%, 15.7%) |
| CIE-LAB | lab(45.34, 35.00, -63.56) |
| CIE-LCH | lch(45.34, 72.56, 298.84°) |
| OKLab | oklab(54.28% 0.0256 -0.1824) |
| OKLCH | oklch(54.28% 0.184 278) |
| XYZ | xyz(20.4034, 14.7833, 66.0551) |
| Luminance | 0.1479 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.09
Warm Blue
#4B57DB
ΔE00 2.49
Slate Blue
#6A5ACD
ΔE00 3.13
Iris
#6258C4
ΔE00 3.32
Light Indigo
#6D5ACF
ΔE00 3.50
Azul
#1D5DEC
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CD7 #D7D65B
analogous
#5B9AD7 #5B5CD7 #985BD7
triadic
#5B5CD7 #D75B5C #5CD75B
tetradic
#5B5CD7 #D75B9A #D7D65B #5BD798
square
#5B5CD7 #D75B9A #D7D65B #5BD798
split-complementary
#5B5CD7 #D7985B #9AD75B
monochromatic
#242594 #3031C5 #5B5CD7 #8C8DE3 #BDBEEF
Accessibility & contrast
On white
5.31
#5B5CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#5B5CD7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CD7
5.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CD7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CD7 | 1.00 | 5.31 | 3.96 | 5.31 |
| #FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070DB
Deuteranopia (green-blind)
#0066D4
Tritanopia (blue-blind)
#057990
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b5cd7; /* rgb */ color: rgb(91, 92, 215); /* oklch */ color: oklch(54.3% 0.184 278.0);
Tailwind
colors: {
custom: {
50: '#948ae4',
500: '#5b5cd7',
950: '#000000',
},
}SCSS
$custom: #5b5cd7; $custom-light: #948ae4; $custom-dark: #000000;
JSON
{
"hex": "#5b5cd7",
"rgb": {
"r": 91,
"g": 92,
"b": 215
},
"hsl": {
"h": 239.516,
"s": 60.784,
"l": 60
},
"oklch": {
"l": 0.54284,
"c": 0.18417,
"h": 278
},
"luminance": 0.14785
}Semantic roles & 50–950 ramp
primary
#5B5CD7
secondary
#DFDEAF
accent
#E344E4
background
#F9F8FE
surface
#F2F0FC
border
#CCCBD5
text
#0E0B16
muted
#7E7C84