#5755CB#5755CB
#5755CB is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.8% C 0.178 H 279.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #5755CB |
|---|---|
| RGB | rgb(87, 85, 203) |
| HSL | hsl(241, 53%, 56%) |
| HSV | hsv(241, 58%, 80%) |
| CMYK | cmyk(57.1%, 58.1%, 0%, 20.4%) |
| CIE-LAB | lab(42.51, 34.69, -61.26) |
| CIE-LCH | lch(42.51, 70.40, 299.52°) |
| OKLab | oklab(51.85% 0.0277 -0.1758) |
| OKLCH | oklch(51.85% 0.178 279) |
| XYZ | xyz(17.9551, 12.8338, 58.0194) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.24
Warm Blue
#4B57DB
ΔE00 2.72
Slate Blue
#6A5ACD
ΔE00 3.46
Dark Periwinkle
#665FD1
ΔE00 3.82
Light Indigo
#6D5ACF
ΔE00 3.99
Bluey Purple
#6241C7
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5755CB #C9CB55
analogous
#558ECB #5755CB #9255CB
triadic
#5755CB #CB5755 #55CB57
tetradic
#5755CB #CB558E #C9CB55 #55CB92
square
#5755CB #CB558E #C9CB55 #55CB92
split-complementary
#5755CB #CB9255 #8ECB55
monochromatic
#28277F #3735AE #5755CB #8584D9 #B4B3E8
Accessibility & contrast
On white
5.89
#5755CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#5755CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5755CB
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5755CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5755CB | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0060C9
Tritanopia (blue-blind)
#127188
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #5755cb; /* rgb */ color: rgb(87, 85, 203); /* oklch */ color: oklch(51.8% 0.178 279.0);
Tailwind
colors: {
custom: {
50: '#9185dc',
500: '#5755cb',
950: '#000000',
},
}SCSS
$custom: #5755cb; $custom-light: #9185dc; $custom-dark: #000000;
JSON
{
"hex": "#5755cb",
"rgb": {
"r": 87,
"g": 85,
"b": 203
},
"hsl": {
"h": 241.017,
"s": 53.153,
"l": 56.471
},
"oklch": {
"l": 0.51846,
"c": 0.17797,
"h": 279
},
"luminance": 0.12835
}Semantic roles & 50–950 ramp
primary
#5755CB
secondary
#D5D6A6
accent
#DD4BDA
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83