#5F58CA#5F58CA
#5F58CA is a mid, vivid blue. Relative luminance 0.137; OKLCH L 52.9% C 0.171 H 281.6°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #5F58CA |
|---|---|
| RGB | rgb(95, 88, 202) |
| HSL | hsl(244, 52%, 57%) |
| HSV | hsv(244, 56%, 79%) |
| CMYK | cmyk(53%, 56.4%, 0%, 20.8%) |
| CIE-LAB | lab(43.76, 34.06, -58.63) |
| CIE-LCH | lch(43.76, 67.81, 300.16°) |
| OKLab | oklab(52.91% 0.0344 -0.1678) |
| OKLCH | oklch(52.91% 0.171 281.6) |
| XYZ | xyz(18.8664, 13.6755, 57.5112) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 1.07
Slate Blue
#6A5ACD
ΔE00 2.05
Dark Periwinkle
#665FD1
ΔE00 2.57
Light Indigo
#6D5ACF
ΔE00 2.63
Warm Blue
#4B57DB
ΔE00 3.58
Bluey Purple
#6241C7
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F58CA #C3CA58
analogous
#588ACA #5F58CA #9858CA
triadic
#5F58CA #CA5F58 #58CA5F
tetradic
#5F58CA #CA588A #C3CA58 #58CA98
square
#5F58CA #CA588A #C3CA58 #58CA98
split-complementary
#5F58CA #CA9858 #8ACA58
monochromatic
#2E287F #3E37AE #5F58CA #8C86D9 #B8B5E7
Accessibility & contrast
On white
5.62
#5F58CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#5F58CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F58CA
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F58CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F58CA | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#0063C8
Tritanopia (blue-blind)
#317288
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #5f58ca; /* rgb */ color: rgb(95, 88, 202); /* oklch */ color: oklch(52.9% 0.171 281.6);
Tailwind
colors: {
custom: {
50: '#9587db',
500: '#5f58ca',
950: '#000000',
},
}SCSS
$custom: #5f58ca; $custom-light: #9587db; $custom-dark: #000000;
JSON
{
"hex": "#5f58ca",
"rgb": {
"r": 95,
"g": 88,
"b": 202
},
"hsl": {
"h": 243.684,
"s": 51.818,
"l": 56.863
},
"oklch": {
"l": 0.52905,
"c": 0.17129,
"h": 281.6
},
"luminance": 0.13677
}Semantic roles & 50–950 ramp
primary
#5F58CA
secondary
#D3D6A8
accent
#DB4DD3
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83