#5B5ECC#5B5ECC
#5B5ECC is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.8% C 0.167 H 278.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5B5ECC |
|---|---|
| RGB | rgb(91, 94, 204) |
| HSL | hsl(238, 53%, 58%) |
| HSV | hsv(238, 55%, 80%) |
| CMYK | cmyk(55.4%, 53.9%, 0%, 20%) |
| CIE-LAB | lab(45.06, 30.23, -57.69) |
| CIE-LCH | lch(45.06, 65.13, 297.65°) |
| OKLab | oklab(53.84% 0.0233 -0.1651) |
| OKLCH | oklch(53.84% 0.167 278) |
| XYZ | xyz(19.2127, 14.5879, 58.9184) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Dark Periwinkle
#665FD1
ΔE00 2.10
Iris
#6258C4
ΔE00 2.80
Slate Blue
#6A5ACD
ΔE00 3.25
Warm Blue
#4B57DB
ΔE00 3.35
Light Indigo
#6D5ACF
ΔE00 3.77
Royal Blue
#4169E1
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B5ECC #CCC95B
analogous
#5B96CC #5B5ECC #905BCC
triadic
#5B5ECC #CC5B5E #5ECC5B
tetradic
#5B5ECC #CC5B96 #CCC95B #5BCC90
square
#5B5ECC #CC5B96 #CCC95B #5BCC90
split-complementary
#5B5ECC #CC905B #96CC5B
monochromatic
#292B84 #373BB2 #5B5ECC #8A8CDB #B8BAE9
Accessibility & contrast
On white
5.36
#5B5ECC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#5B5ECC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B5ECC
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B5ECC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B5ECC | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A6FD0
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#20778C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #5b5ecc; /* rgb */ color: rgb(91, 94, 204); /* oklch */ color: oklch(53.8% 0.167 278.0);
Tailwind
colors: {
custom: {
50: '#928bdc',
500: '#5b5ecc',
950: '#000000',
},
}SCSS
$custom: #5b5ecc; $custom-light: #928bdc; $custom-dark: #000000;
JSON
{
"hex": "#5b5ecc",
"rgb": {
"r": 91,
"g": 94,
"b": 204
},
"hsl": {
"h": 238.407,
"s": 52.558,
"l": 57.843
},
"oklch": {
"l": 0.53841,
"c": 0.16677,
"h": 278
},
"luminance": 0.14589
}Semantic roles & 50–950 ramp
primary
#5B5ECC
secondary
#D8D7AB
accent
#D84CDC
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0C15
muted
#7E7D83