#5B5CCF#5B5CCF
#5B5CCF is a mid, vivid blue. Relative luminance 0.144; OKLCH L 53.7% C 0.173 H 278.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5CCF |
|---|---|
| RGB | rgb(91, 92, 207) |
| HSL | hsl(239, 55%, 58%) |
| HSV | hsv(239, 56%, 81%) |
| CMYK | cmyk(56%, 55.6%, 0%, 18.8%) |
| CIE-LAB | lab(44.78, 32.43, -59.88) |
| CIE-LCH | lch(44.78, 68.10, 298.44°) |
| OKLab | oklab(53.69% 0.0255 -0.1716) |
| OKLCH | oklch(53.69% 0.173 278.4) |
| XYZ | xyz(19.4004, 14.3821, 60.7731) |
| Luminance | 0.1438 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.04
Iris
#6258C4
ΔE00 2.54
Warm Blue
#4B57DB
ΔE00 2.83
Slate Blue
#6A5ACD
ΔE00 2.90
Light Indigo
#6D5ACF
ΔE00 3.42
Azul
#1D5DEC
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5CCF #CFCE5B
analogous
#5B96CF #5B5CCF #945BCF
triadic
#5B5CCF #CF5B5C #5CCF5B
tetradic
#5B5CCF #CF5B96 #CFCE5B #5BCF94
square
#5B5CCF #CF5B96 #CFCE5B #5BCF94
split-complementary
#5B5CCF #CF945B #96CF5B
monochromatic
#282988 #3637B7 #5B5CCF #8A8BDD #BABAEB
Accessibility & contrast
On white
5.42
#5B5CCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#5B5CCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5CCF
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5CCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5CCF | 1.00 | 5.42 | 3.88 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#026FD3
Deuteranopia (green-blind)
#0065CD
Tritanopia (blue-blind)
#1C778C
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #5b5ccf; /* rgb */ color: rgb(91, 92, 207); /* oklch */ color: oklch(53.7% 0.173 278.4);
Tailwind
colors: {
custom: {
50: '#938ade',
500: '#5b5ccf',
950: '#000000',
},
}SCSS
$custom: #5b5ccf; $custom-light: #938ade; $custom-dark: #000000;
JSON
{
"hex": "#5b5ccf",
"rgb": {
"r": 91,
"g": 92,
"b": 207
},
"hsl": {
"h": 239.483,
"s": 54.717,
"l": 58.431
},
"oklch": {
"l": 0.5369,
"c": 0.17347,
"h": 278.4
},
"luminance": 0.14383
}Semantic roles & 50–950 ramp
primary
#5B5CCF
secondary
#DADAAC
accent
#DD4ADE
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83