#5B5BD4#5B5BD4
#5B5BD4 is a mid, vivid blue. Relative luminance 0.145; OKLCH L 53.9% C 0.181 H 278.4°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5BD4 |
|---|---|
| RGB | rgb(91, 91, 212) |
| HSL | hsl(240, 58%, 59%) |
| HSV | hsv(240, 57%, 83%) |
| CMYK | cmyk(57.1%, 57.1%, 0%, 16.9%) |
| CIE-LAB | lab(44.88, 34.65, -62.58) |
| CIE-LCH | lch(44.88, 71.53, 298.97°) |
| OKLab | oklab(53.88% 0.0265 -0.1795) |
| OKLCH | oklch(53.88% 0.181 278.4) |
| XYZ | xyz(19.9354, 14.4584, 64.0148) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.12
Warm Blue
#4B57DB
ΔE00 2.44
Iris
#6258C4
ΔE00 2.86
Slate Blue
#6A5ACD
ΔE00 2.89
Light Indigo
#6D5ACF
ΔE00 3.32
Azul
#1D5DEC
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5BD4 #D4D45B
analogous
#5B98D4 #5B5BD4 #985BD4
triadic
#5B5BD4 #D45B5B #5BD45B
tetradic
#5B5BD4 #D45B98 #D4D45B #5BD498
square
#5B5BD4 #D45B98 #D4D45B #5BD498
split-complementary
#5B5BD4 #D4985B #98D45B
monochromatic
#26268F #3232C0 #5B5BD4 #8B8BE1 #BCBCED
Accessibility & contrast
On white
5.40
#5B5BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#5B5BD4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5BD4
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5BD4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5BD4 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#0065D2
Tritanopia (blue-blind)
#11788F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5b5bd4; /* rgb */ color: rgb(91, 91, 212); /* oklch */ color: oklch(53.9% 0.181 278.4);
Tailwind
colors: {
custom: {
50: '#9489e2',
500: '#5b5bd4',
950: '#000000',
},
}SCSS
$custom: #5b5bd4; $custom-light: #9489e2; $custom-dark: #000000;
JSON
{
"hex": "#5b5bd4",
"rgb": {
"r": 91,
"g": 91,
"b": 212
},
"hsl": {
"h": 240,
"s": 58.454,
"l": 59.412
},
"oklch": {
"l": 0.53881,
"c": 0.18147,
"h": 278.4
},
"luminance": 0.1446
}Semantic roles & 50–950 ramp
primary
#5B5BD4
secondary
#DDDDAE
accent
#E246E2
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83