#5A58CB#5A58CB
#5A58CB is a mid, vivid blue. Relative luminance 0.135; OKLCH L 52.6% C 0.173 H 279.4°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #5A58CB |
|---|---|
| RGB | rgb(90, 88, 203) |
| HSL | hsl(241, 53%, 57%) |
| HSV | hsv(241, 57%, 80%) |
| CMYK | cmyk(55.7%, 56.7%, 0%, 20.4%) |
| CIE-LAB | lab(43.45, 33.41, -59.72) |
| CIE-LCH | lch(43.45, 68.43, 299.22°) |
| OKLab | oklab(52.6% 0.0283 -0.1712) |
| OKLCH | oklch(52.6% 0.174 279.4) |
| XYZ | xyz(18.4823, 13.4637, 58.1132) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.78
Warm Blue
#4B57DB
ΔE00 2.85
Slate Blue
#6A5ACD
ΔE00 2.85
Dark Periwinkle
#665FD1
ΔE00 2.93
Light Indigo
#6D5ACF
ΔE00 3.42
Bluey Purple
#6241C7
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A58CB #C9CB58
analogous
#5890CB #5A58CB #9358CB
triadic
#5A58CB #CB5A58 #58CB5A
tetradic
#5A58CB #CB5890 #C9CB58 #58CB93
square
#5A58CB #CB5890 #C9CB58 #58CB93
split-complementary
#5A58CB #CB9358 #90CB58
monochromatic
#2A2881 #3937AF #5A58CB #8887DA #B6B5E8
Accessibility & contrast
On white
5.69
#5A58CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#5A58CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A58CB
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A58CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A58CB | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#0062C9
Tritanopia (blue-blind)
#207389
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5a58cb; /* rgb */ color: rgb(90, 88, 203); /* oklch */ color: oklch(52.6% 0.173 279.4);
Tailwind
colors: {
custom: {
50: '#9287dc',
500: '#5a58cb',
950: '#000000',
},
}SCSS
$custom: #5a58cb; $custom-light: #9287dc; $custom-dark: #000000;
JSON
{
"hex": "#5a58cb",
"rgb": {
"r": 90,
"g": 88,
"b": 203
},
"hsl": {
"h": 241.043,
"s": 52.511,
"l": 57.059
},
"oklch": {
"l": 0.52601,
"c": 0.1735,
"h": 279.4
},
"luminance": 0.13465
}Semantic roles & 50–950 ramp
primary
#5A58CB
secondary
#D6D7A8
accent
#DC4CD9
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83