#5B5CE0#5B5CE0
#5B5CE0 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 55.0% C 0.196 H 277.5°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CE0 |
|---|---|
| RGB | rgb(91, 92, 224) |
| HSL | hsl(240, 68%, 62%) |
| HSV | hsv(240, 59%, 88%) |
| CMYK | cmyk(59.4%, 58.9%, 0%, 12.2%) |
| CIE-LAB | lab(45.99, 37.90, -67.62) |
| CIE-LCH | lch(45.99, 77.52, 299.27°) |
| OKLab | oklab(54.97% 0.0255 -0.1943) |
| OKLCH | oklch(54.97% 0.196 277.5) |
| XYZ | xyz(21.5918, 15.2586, 72.3140) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.69
Warm Blue
#4B57DB
ΔE00 2.71
Slate Blue
#6A5ACD
ΔE00 3.73
Light Indigo
#6D5ACF
ΔE00 3.94
Iris
#6258C4
ΔE00 4.34
Azul
#1D5DEC
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CE0 #E0DF5B
analogous
#5B9FE0 #5B5CE0 #9D5BE0
triadic
#5B5CE0 #E05B5C #5CE05B
tetradic
#5B5CE0 #E05B9F #E0DF5B #5BE09D
square
#5B5CE0 #E05B9F #E0DF5B #5BE09D
split-complementary
#5B5CE0 #E09D5B #9FE05B
monochromatic
#1F20A2 #282AD5 #5B5CE0 #8E8FEA #C2C2F3
Accessibility & contrast
On white
5.18
#5B5CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#5B5CE0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CE0
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CE0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CE0 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #5b5ce0; /* rgb */ color: rgb(91, 92, 224); /* oklch */ color: oklch(55.0% 0.196 277.5);
Tailwind
colors: {
custom: {
50: '#968aeb',
500: '#5b5ce0',
950: '#000000',
},
}SCSS
$custom: #5b5ce0; $custom-light: #968aeb; $custom-dark: #000000;
JSON
{
"hex": "#5b5ce0",
"rgb": {
"r": 91,
"g": 92,
"b": 224
},
"hsl": {
"h": 239.549,
"s": 68.205,
"l": 61.765
},
"oklch": {
"l": 0.5497,
"c": 0.19601,
"h": 277.5
},
"luminance": 0.1526
}Semantic roles & 50–950 ramp
primary
#5B5CE0
secondary
#E4E4B3
accent
#CF15D0
background
#F9F8FE
surface
#F2F0FD
border
#CCCBD5
text
#0F0C16
muted
#7E7D84