#5B5DDE#5B5DDE
#5B5DDE is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.192 H 277.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5DDE |
|---|---|
| RGB | rgb(91, 93, 222) |
| HSL | hsl(239, 66%, 61%) |
| HSV | hsv(239, 59%, 87%) |
| CMYK | cmyk(59%, 58.1%, 0%, 12.9%) |
| CIE-LAB | lab(46.08, 36.65, -66.34) |
| CIE-LCH | lch(46.08, 75.79, 298.92°) |
| OKLab | oklab(54.99% 0.0246 -0.1906) |
| OKLCH | oklch(54.99% 0.192 277.3) |
| XYZ | xyz(21.4093, 15.3252, 70.9229) |
| Luminance | 0.1533 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.48
Warm Blue
#4B57DB
ΔE00 2.76
Slate Blue
#6A5ACD
ΔE00 3.69
Light Indigo
#6D5ACF
ΔE00 3.93
Iris
#6258C4
ΔE00 4.24
Azul
#1D5DEC
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5DDE #DEDC5B
analogous
#5B9FDE #5B5DDE #9B5BDE
triadic
#5B5DDE #DE5B5D #5DDE5B
tetradic
#5B5DDE #DE5B9F #DEDC5B #5BDE9B
square
#5B5DDE #DE5B9F #DEDC5B #5BDE9B
split-complementary
#5B5DDE #DE9B5B #9FDE5B
monochromatic
#20229F #2A2DD2 #5B5DDE #8E8FE8 #C1C2F3
Accessibility & contrast
On white
5.17
#5B5DDE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#5B5DDE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5DDE
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5DDE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5DDE | 1.00 | 5.17 | 4.07 | 5.17 |
| #FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E2
Deuteranopia (green-blind)
#0068DB
Tritanopia (blue-blind)
#007C94
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b5dde; /* rgb */ color: rgb(91, 93, 222); /* oklch */ color: oklch(55.0% 0.192 277.3);
Tailwind
colors: {
custom: {
50: '#958be9',
500: '#5b5dde',
950: '#000000',
},
}SCSS
$custom: #5b5dde; $custom-light: #958be9; $custom-dark: #000000;
JSON
{
"hex": "#5b5dde",
"rgb": {
"r": 91,
"g": 93,
"b": 222
},
"hsl": {
"h": 239.084,
"s": 66.497,
"l": 61.373
},
"oklch": {
"l": 0.54991,
"c": 0.19216,
"h": 277.3
},
"luminance": 0.15327
}Semantic roles & 50–950 ramp
primary
#5B5DDE
secondary
#E3E2B2
accent
#CC17CE
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0E0C16
muted
#7E7D84