#5958CF#5958CF
#5958CF is a mid, vivid blue. Relative luminance 0.136; OKLCH L 52.8% C 0.179 H 278.7°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #5958CF |
|---|---|
| RGB | rgb(89, 88, 207) |
| HSL | hsl(241, 55%, 58%) |
| HSV | hsv(241, 57%, 81%) |
| CMYK | cmyk(57%, 57.5%, 0%, 18.8%) |
| CIE-LAB | lab(43.66, 34.51, -61.69) |
| CIE-LCH | lch(43.66, 70.69, 299.22°) |
| OKLab | oklab(52.83% 0.0271 -0.177) |
| OKLCH | oklch(52.83% 0.179 278.7) |
| XYZ | xyz(18.8685, 13.6070, 60.6515) |
| Luminance | 0.1361 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.25
Warm Blue
#4B57DB
ΔE00 2.36
Dark Periwinkle
#665FD1
ΔE00 2.89
Slate Blue
#6A5ACD
ΔE00 2.98
Light Indigo
#6D5ACF
ΔE00 3.50
Azul
#1D5DEC
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5958CF #CECF58
analogous
#5893CF #5958CF #9458CF
triadic
#5958CF #CF5958 #58CF59
tetradic
#5958CF #CF5893 #CECF58 #58CF94
square
#5958CF #CF5893 #CECF58 #58CF94
split-complementary
#5958CF #CF9458 #93CF58
monochromatic
#272786 #3534B6 #5958CF #8888DD #B8B7EA
Accessibility & contrast
On white
5.64
#5958CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#5958CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5958CF
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5958CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5958CF | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#13748B
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5958cf; /* rgb */ color: rgb(89, 88, 207); /* oklch */ color: oklch(52.8% 0.179 278.7);
Tailwind
colors: {
custom: {
50: '#9287de',
500: '#5958cf',
950: '#000000',
},
}SCSS
$custom: #5958cf; $custom-light: #9287de; $custom-dark: #000000;
JSON
{
"hex": "#5958cf",
"rgb": {
"r": 89,
"g": 88,
"b": 207
},
"hsl": {
"h": 240.504,
"s": 55.349,
"l": 57.843
},
"oklch": {
"l": 0.52828,
"c": 0.17905,
"h": 278.7
},
"luminance": 0.13608
}Semantic roles & 50–950 ramp
primary
#5958CF
secondary
#D9D9AA
accent
#DF49DD
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83