#5B5CCC#5B5CCC
#5B5CCC is a mid, vivid blue. Relative luminance 0.142; OKLCH L 53.5% C 0.169 H 278.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CCC |
|---|---|
| RGB | rgb(91, 92, 204) |
| HSL | hsl(239, 53%, 58%) |
| HSV | hsv(239, 55%, 80%) |
| CMYK | cmyk(55.4%, 54.9%, 0%, 20%) |
| CIE-LAB | lab(44.57, 31.46, -58.49) |
| CIE-LCH | lch(44.57, 66.42, 298.28°) |
| OKLab | oklab(53.47% 0.0254 -0.1675) |
| OKLCH | oklch(53.47% 0.169 278.6) |
| XYZ | xyz(19.0372, 14.2368, 58.8599) |
| Luminance | 0.1424 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.17
Iris
#6258C4
ΔE00 2.31
Slate Blue
#6A5ACD
ΔE00 2.92
Warm Blue
#4B57DB
ΔE00 3.06
Light Indigo
#6D5ACF
ΔE00 3.47
Azul
#1D5DEC
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CCC #CCCB5B
analogous
#5B94CC #5B5CCC #925BCC
triadic
#5B5CCC #CC5B5C #5CCC5B
tetradic
#5B5CCC #CC5B94 #CCCB5B #5BCC92
square
#5B5CCC #CC5B94 #CCCB5B #5BCC92
split-complementary
#5B5CCC #CC925B #94CC5B
monochromatic
#292A84 #3739B2 #5B5CCC #8A8ADB #B8B9E9
Accessibility & contrast
On white
5.46
#5B5CCC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#5B5CCC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CCC
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CCC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CCC | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0F6ED0
Deuteranopia (green-blind)
#0065CA
Tritanopia (blue-blind)
#21768B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5b5ccc; /* rgb */ color: rgb(91, 92, 204); /* oklch */ color: oklch(53.5% 0.169 278.6);
Tailwind
colors: {
custom: {
50: '#928adc',
500: '#5b5ccc',
950: '#000000',
},
}SCSS
$custom: #5b5ccc; $custom-light: #928adc; $custom-dark: #000000;
JSON
{
"hex": "#5b5ccc",
"rgb": {
"r": 91,
"g": 92,
"b": 204
},
"hsl": {
"h": 239.469,
"s": 52.558,
"l": 57.843
},
"oklch": {
"l": 0.53472,
"c": 0.1694,
"h": 278.6
},
"luminance": 0.14238
}Semantic roles & 50–950 ramp
primary
#5B5CCC
secondary
#D8D8AB
accent
#DB4CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83