#5B5CED#5B5CED
#5B5CED is a mid, highly saturated blue. Relative luminance 0.160; OKLCH L 56.0% C 0.213 H 276.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CED |
|---|---|
| RGB | rgb(91, 92, 237) |
| HSL | hsl(240, 80%, 64%) |
| HSV | hsv(240, 62%, 93%) |
| CMYK | cmyk(61.6%, 61.2%, 0%, 7.1%) |
| CIE-LAB | lab(46.96, 42.08, -73.37) |
| CIE-LCH | lch(46.96, 84.59, 299.84°) |
| OKLab | oklab(56% 0.025 -0.2112) |
| OKLCH | oklch(56% 0.213 276.7) |
| XYZ | xyz(23.4226, 15.9910, 81.9566) |
| Luminance | 0.1599 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.77
Dark Periwinkle
#665FD1
ΔE00 3.97
Slate Blue
#6A5ACD
ΔE00 4.94
Light Indigo
#6D5ACF
ΔE00 4.97
Electric Blue
#0652FF
ΔE00 5.64
Iris
#6258C4
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CED #EDEC5B
analogous
#5BA5ED #5B5CED #A35BED
triadic
#5B5CED #ED5B5C #5CED5B
tetradic
#5B5CED #ED5BA5 #EDEC5B #5BEDA3
square
#5B5CED #ED5BA5 #EDEC5B #5BEDA3
split-complementary
#5B5CED #EDA35B #A5ED5B
monochromatic
#1415B9 #2425E7 #5B5CED #9293F3 #C9CAF9
Accessibility & contrast
On white
5.00
#5B5CED on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#5B5CED on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CED
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CED | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CED | 1.00 | 5.00 | 4.20 | 5.00 |
| #FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F2
Deuteranopia (green-blind)
#0069EA
Tritanopia (blue-blind)
#00809C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #5b5ced; /* rgb */ color: rgb(91, 92, 237); /* oklch */ color: oklch(56.0% 0.213 276.7);
Tailwind
colors: {
custom: {
50: '#988af4',
500: '#5b5ced',
950: '#000000',
},
}SCSS
$custom: #5b5ced; $custom-light: #988af4; $custom-dark: #000000;
JSON
{
"hex": "#5b5ced",
"rgb": {
"r": 91,
"g": 92,
"b": 237
},
"hsl": {
"h": 239.589,
"s": 80.22,
"l": 64.314
},
"oklch": {
"l": 0.55995,
"c": 0.21272,
"h": 276.7
},
"luminance": 0.15993
}Semantic roles & 50–950 ramp
primary
#5B5CED
secondary
#EBEBB9
accent
#DB09DD
background
#FAF8FF
surface
#F3F0FE
border
#CDCBD6
text
#0F0C17
muted
#7F7D85