#5F58F0#5F58F0
#5F58F0 is a mid, highly saturated blue. Relative luminance 0.157; OKLCH L 55.9% C 0.220 H 278.6°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #5F58F0 |
|---|---|
| RGB | rgb(95, 88, 240) |
| HSL | hsl(243, 84%, 64%) |
| HSV | hsv(243, 63%, 94%) |
| CMYK | cmyk(60.4%, 63.3%, 0%, 5.9%) |
| CIE-LAB | lab(46.58, 45.99, -75.67) |
| CIE-LCH | lch(46.58, 88.55, 301.29°) |
| OKLab | oklab(55.86% 0.0328 -0.2179) |
| OKLCH | oklch(55.86% 0.22 278.6) |
| XYZ | xyz(23.9322, 15.7018, 84.1908) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 4.22
Dark Periwinkle
#665FD1
ΔE00 4.45
Light Indigo
#6D5ACF
ΔE00 4.82
Slate Blue
#6A5ACD
ΔE00 4.89
Electric Blue
#0652FF
ΔE00 5.80
Purpleish Blue
#6140EF
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F58F0 #E9F058
analogous
#589DF0 #5F58F0 #AB58F0
triadic
#5F58F0 #F05F58 #58F05F
tetradic
#5F58F0 #F0589D #E9F058 #58F0AB
square
#5F58F0 #F0589D #E9F058 #58F0AB
split-complementary
#5F58F0 #F0AB58 #9DF058
monochromatic
#1911BD #2920EB #5F58F0 #9590F5 #CBC8FA
Accessibility & contrast
On white
5.07
#5F58F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#5F58F0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F58F0
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F58F0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F58F0 | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F5
Deuteranopia (green-blind)
#0068ED
Tritanopia (blue-blind)
#007F9C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #5f58f0; /* rgb */ color: rgb(95, 88, 240); /* oklch */ color: oklch(55.9% 0.220 278.6);
Tailwind
colors: {
custom: {
50: '#9b88f6',
500: '#5f58f0',
950: '#000000',
},
}SCSS
$custom: #5f58f0; $custom-light: #9b88f6; $custom-dark: #000000;
JSON
{
"hex": "#5f58f0",
"rgb": {
"r": 95,
"g": 88,
"b": 240
},
"hsl": {
"h": 242.763,
"s": 83.516,
"l": 64.314
},
"oklch": {
"l": 0.55859,
"c": 0.22036,
"h": 278.6
},
"luminance": 0.15704
}Semantic roles & 50–950 ramp
primary
#5F58F0
secondary
#EAECB8
accent
#E006D6
background
#FAF8FF
surface
#F4F0FF
border
#CECBD7
text
#0F0B17
muted
#7F7C85