#5B58CC#5B58CC
#5B58CC is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.7% C 0.175 H 279.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #5B58CC |
|---|---|
| RGB | rgb(91, 88, 204) |
| HSL | hsl(242, 53%, 57%) |
| HSV | hsv(242, 57%, 80%) |
| CMYK | cmyk(55.4%, 56.9%, 0%, 20%) |
| CIE-LAB | lab(43.60, 33.92, -60.06) |
| CIE-LCH | lch(43.60, 68.98, 299.45°) |
| OKLab | oklab(52.75% 0.0295 -0.1721) |
| OKLCH | oklch(52.75% 0.175 279.7) |
| XYZ | xyz(18.6998, 13.5620, 58.7474) |
| Luminance | 0.1356 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.74
Slate Blue
#6A5ACD
ΔE00 2.67
Dark Periwinkle
#665FD1
ΔE00 2.78
Warm Blue
#4B57DB
ΔE00 2.87
Light Indigo
#6D5ACF
ΔE00 3.23
Bluey Purple
#6241C7
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B58CC #C9CC58
analogous
#588FCC #5B58CC #9558CC
triadic
#5B58CC #CC5B58 #58CC5B
tetradic
#5B58CC #CC588F #C9CC58 #58CC95
square
#5B58CC #CC588F #C9CC58 #58CC95
split-complementary
#5B58CC #CC9558 #8FCC58
monochromatic
#2A2882 #3936B1 #5B58CC #8987DA #B7B6E9
Accessibility & contrast
On white
5.66
#5B58CC on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#5B58CC on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B58CC
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B58CC | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B58CC | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD0
Deuteranopia (green-blind)
#0063CA
Tritanopia (blue-blind)
#227389
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5b58cc; /* rgb */ color: rgb(91, 88, 204); /* oklch */ color: oklch(52.7% 0.175 279.7);
Tailwind
colors: {
custom: {
50: '#9387dc',
500: '#5b58cc',
950: '#000000',
},
}SCSS
$custom: #5b58cc; $custom-light: #9387dc; $custom-dark: #000000;
JSON
{
"hex": "#5b58cc",
"rgb": {
"r": 91,
"g": 88,
"b": 204
},
"hsl": {
"h": 241.552,
"s": 53.211,
"l": 57.255
},
"oklch": {
"l": 0.52749,
"c": 0.17466,
"h": 279.7
},
"luminance": 0.13563
}Semantic roles & 50–950 ramp
primary
#5B58CC
secondary
#D6D7A8
accent
#DD4BD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83