#5B5BD2#5B5BD2
#5B5BD2 is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.179 H 278.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5BD2 |
|---|---|
| RGB | rgb(91, 91, 210) |
| HSL | hsl(240, 57%, 59%) |
| HSV | hsv(240, 57%, 82%) |
| CMYK | cmyk(56.7%, 56.7%, 0%, 17.6%) |
| CIE-LAB | lab(44.74, 34.00, -61.66) |
| CIE-LCH | lch(44.74, 70.41, 298.88°) |
| OKLab | oklab(53.73% 0.0265 -0.1768) |
| OKLCH | oklch(53.73% 0.179 278.5) |
| XYZ | xyz(19.6846, 14.3581, 62.6944) |
| Luminance | 0.1436 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.11
Warm Blue
#4B57DB
ΔE00 2.53
Iris
#6258C4
ΔE00 2.65
Slate Blue
#6A5ACD
ΔE00 2.83
Light Indigo
#6D5ACF
ΔE00 3.30
Azul
#1D5DEC
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5BD2 #D2D25B
analogous
#5B97D2 #5B5BD2 #975BD2
triadic
#5B5BD2 #D25B5B #5BD25B
tetradic
#5B5BD2 #D25B97 #D2D25B #5BD297
square
#5B5BD2 #D25B97 #D2D25B #5BD297
split-complementary
#5B5BD2 #D2975B #97D25B
monochromatic
#26268C #3434BC #5B5BD2 #8B8BDF #BBBBEC
Accessibility & contrast
On white
5.42
#5B5BD2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#5B5BD2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5BD2
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5BD2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5BD2 | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#0065D0
Tritanopia (blue-blind)
#16778E
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5b5bd2; /* rgb */ color: rgb(91, 91, 210); /* oklch */ color: oklch(53.7% 0.179 278.5);
Tailwind
colors: {
custom: {
50: '#9389e1',
500: '#5b5bd2',
950: '#000000',
},
}SCSS
$custom: #5b5bd2; $custom-light: #9389e1; $custom-dark: #000000;
JSON
{
"hex": "#5b5bd2",
"rgb": {
"r": 91,
"g": 91,
"b": 210
},
"hsl": {
"h": 240,
"s": 56.938,
"l": 59.02
},
"oklch": {
"l": 0.53731,
"c": 0.1788,
"h": 278.5
},
"luminance": 0.14359
}Semantic roles & 50–950 ramp
primary
#5B5BD2
secondary
#DCDCAD
accent
#E048E0
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83