#5F58D2#5F58D2
#5F58D2 is a mid, vivid blue. Relative luminance 0.141; OKLCH L 53.5% C 0.182 H 280.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #5F58D2 |
|---|---|
| RGB | rgb(95, 88, 210) |
| HSL | hsl(243, 58%, 58%) |
| HSV | hsv(243, 58%, 82%) |
| CMYK | cmyk(54.8%, 58.1%, 0%, 17.6%) |
| CIE-LAB | lab(44.32, 36.57, -62.32) |
| CIE-LCH | lch(44.32, 72.26, 300.40°) |
| OKLab | oklab(53.5% 0.0343 -0.1787) |
| OKLCH | oklch(53.5% 0.182 280.9) |
| XYZ | xyz(19.8383, 14.0642, 62.6296) |
| Luminance | 0.1406 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Slate Blue
#6A5ACD
ΔE00 2.10
Iris
#6258C4
ΔE00 2.11
Dark Periwinkle
#665FD1
ΔE00 2.33
Light Indigo
#6D5ACF
ΔE00 2.53
Warm Blue
#4B57DB
ΔE00 3.01
Bluey Purple
#6241C7
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F58D2 #CBD258
analogous
#588ED2 #5F58D2 #9C58D2
triadic
#5F58D2 #D25F58 #58D25F
tetradic
#5F58D2 #D2588E #CBD258 #58D29C
square
#5F58D2 #D2588E #CBD258 #58D29C
split-complementary
#5F58D2 #D29C58 #8ED258
monochromatic
#2B258A #3A32BB #5F58D2 #8D88DF #BBB8EC
Accessibility & contrast
On white
5.51
#5F58D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#5F58D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F58D2
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F58D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F58D2 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#0064CF
Tritanopia (blue-blind)
#28758C
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #5f58d2; /* rgb */ color: rgb(95, 88, 210); /* oklch */ color: oklch(53.5% 0.182 280.9);
Tailwind
colors: {
custom: {
50: '#9687e1',
500: '#5f58d2',
950: '#000000',
},
}SCSS
$custom: #5f58d2; $custom-light: #9687e1; $custom-dark: #000000;
JSON
{
"hex": "#5f58d2",
"rgb": {
"r": 95,
"g": 88,
"b": 210
},
"hsl": {
"h": 243.443,
"s": 57.547,
"l": 58.431
},
"oklch": {
"l": 0.53498,
"c": 0.18195,
"h": 280.9
},
"luminance": 0.14065
}Semantic roles & 50–950 ramp
primary
#5F58D2
secondary
#D8DBAB
accent
#E147D8
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83