#5B5FCD#5B5FCD
#5B5FCD is a mid, vivid blue. Relative luminance 0.148; OKLCH L 54.1% C 0.167 H 277.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5FCD |
|---|---|
| RGB | rgb(91, 95, 205) |
| HSL | hsl(238, 53%, 58%) |
| HSV | hsv(238, 56%, 80%) |
| CMYK | cmyk(55.6%, 53.7%, 0%, 19.6%) |
| CIE-LAB | lab(45.38, 29.94, -57.76) |
| CIE-LCH | lch(45.38, 65.06, 297.40°) |
| OKLab | oklab(54.1% 0.0223 -0.1653) |
| OKLCH | oklch(54.1% 0.167 277.7) |
| XYZ | xyz(19.4225, 14.8150, 59.5819) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.09
Iris
#6258C4
ΔE00 3.13
Slate Blue
#6A5ACD
ΔE00 3.44
Warm Blue
#4B57DB
ΔE00 3.46
Light Indigo
#6D5ACF
ΔE00 3.93
Royal Blue
#4169E1
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5FCD #CDC95B
analogous
#5B98CD #5B5FCD #905BCD
triadic
#5B5FCD #CD5B5F #5FCD5B
tetradic
#5B5FCD #CD5B98 #CDC95B #5BCD90
square
#5B5FCD #CD5B98 #CDC95B #5BCD90
split-complementary
#5B5FCD #CD905B #98CD5B
monochromatic
#292C85 #373BB4 #5B5FCD #8A8DDB #B9BBEA
Accessibility & contrast
On white
5.30
#5B5FCD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#5B5FCD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5FCD
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5FCD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5FCD | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C70D1
Deuteranopia (green-blind)
#0067CB
Tritanopia (blue-blind)
#1F788D
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b5fcd; /* rgb */ color: rgb(91, 95, 205); /* oklch */ color: oklch(54.1% 0.167 277.7);
Tailwind
colors: {
custom: {
50: '#928cdd',
500: '#5b5fcd',
950: '#000000',
},
}SCSS
$custom: #5b5fcd; $custom-light: #928cdd; $custom-dark: #000000;
JSON
{
"hex": "#5b5fcd",
"rgb": {
"r": 91,
"g": 95,
"b": 205
},
"hsl": {
"h": 237.895,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.54098,
"c": 0.16681,
"h": 277.7
},
"luminance": 0.14816
}Semantic roles & 50–950 ramp
primary
#5B5FCD
secondary
#D9D7AB
accent
#D84BDD
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83