#5B5DCF#5B5DCF
#5B5DCF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.9% C 0.172 H 278.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5DCF |
|---|---|
| RGB | rgb(91, 93, 207) |
| HSL | hsl(239, 55%, 58%) |
| HSV | hsv(239, 56%, 81%) |
| CMYK | cmyk(56%, 55.1%, 0%, 18.8%) |
| CIE-LAB | lab(45.02, 31.81, -59.49) |
| CIE-LCH | lch(45.02, 67.46, 298.14°) |
| OKLab | oklab(53.87% 0.0245 -0.1704) |
| OKLCH | oklch(53.87% 0.172 278.2) |
| XYZ | xyz(19.4876, 14.5565, 60.8022) |
| Luminance | 0.1456 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 1.97
Iris
#6258C4
ΔE00 2.75
Warm Blue
#4B57DB
ΔE00 2.97
Slate Blue
#6A5ACD
ΔE00 3.05
Light Indigo
#6D5ACF
ΔE00 3.55
Royal Blue
#4169E1
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5DCF #CFCD5B
analogous
#5B97CF #5B5DCF #935BCF
triadic
#5B5DCF #CF5B5D #5DCF5B
tetradic
#5B5DCF #CF5B97 #CFCD5B #5BCF93
square
#5B5DCF #CF5B97 #CFCD5B #5BCF93
split-complementary
#5B5DCF #CF935B #97CF5B
monochromatic
#282988 #3638B7 #5B5DCF #8A8CDD #BABBEB
Accessibility & contrast
On white
5.37
#5B5DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#5B5DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5DCF
5.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5DCF | 1.00 | 5.37 | 3.91 | 5.37 |
| #FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0B6FD3
Deuteranopia (green-blind)
#0066CD
Tritanopia (blue-blind)
#1C778D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b5dcf; /* rgb */ color: rgb(91, 93, 207); /* oklch */ color: oklch(53.9% 0.172 278.2);
Tailwind
colors: {
custom: {
50: '#938bde',
500: '#5b5dcf',
950: '#000000',
},
}SCSS
$custom: #5b5dcf; $custom-light: #938bde; $custom-dark: #000000;
JSON
{
"hex": "#5b5dcf",
"rgb": {
"r": 91,
"g": 93,
"b": 207
},
"hsl": {
"h": 238.966,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.53872,
"c": 0.17216,
"h": 278.2
},
"luminance": 0.14558
}Semantic roles & 50–950 ramp
primary
#5B5DCF
secondary
#DAD9AC
accent
#DC4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83