#5F58BF#5F58BF
#5F58BF is a mid, vivid blue. Relative luminance 0.132; OKLCH L 52.1% C 0.156 H 282.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #5F58BF |
|---|---|
| RGB | rgb(95, 88, 191) |
| HSL | hsl(244, 45%, 55%) |
| HSV | hsv(244, 54%, 75%) |
| CMYK | cmyk(50.3%, 53.9%, 0%, 25.1%) |
| CIE-LAB | lab(43.02, 30.64, -53.45) |
| CIE-LCH | lch(43.02, 61.61, 299.82°) |
| OKLab | oklab(52.12% 0.0341 -0.1526) |
| OKLCH | oklch(52.12% 0.156 282.6) |
| XYZ | xyz(17.6102, 13.1730, 50.8948) |
| Luminance | 0.1317 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.93
Slate Blue
#6A5ACD
ΔE00 2.87
Light Indigo
#6D5ACF
ΔE00 3.46
Dark Periwinkle
#665FD1
ΔE00 3.54
Warm Blue
#4B57DB
ΔE00 4.81
Bluey Purple
#6241C7
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F58BF #B8BF58
analogous
#5884BF #5F58BF #9358BF
triadic
#5F58BF #BF5F58 #58BF5F
tetradic
#5F58BF #BF5884 #B8BF58 #58BF93
square
#5F58BF #BF5884 #B8BF58 #58BF93
split-complementary
#5F58BF #BF9358 #84BF58
monochromatic
#302B71 #433C9D #5F58BF #8984D0 #B4B0E1
Accessibility & contrast
On white
5.78
#5F58BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#5F58BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F58BF
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F58BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F58BF | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F69C3
Deuteranopia (green-blind)
#1562BD
Tritanopia (blue-blind)
#3B6F83
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5f58bf; /* rgb */ color: rgb(95, 88, 191); /* oklch */ color: oklch(52.1% 0.156 282.6);
Tailwind
colors: {
custom: {
50: '#9387d3',
500: '#5f58bf',
950: '#000000',
},
}SCSS
$custom: #5f58bf; $custom-light: #9387d3; $custom-dark: #000000;
JSON
{
"hex": "#5f58bf",
"rgb": {
"r": 95,
"g": 88,
"b": 191
},
"hsl": {
"h": 244.078,
"s": 44.589,
"l": 54.706
},
"oklch": {
"l": 0.52117,
"c": 0.15635,
"h": 282.6
},
"luminance": 0.13174
}Semantic roles & 50–950 ramp
primary
#5F58BF
secondary
#CCCFA4
accent
#D454CC
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83