#5F57BF#5F57BF
#5F57BF is a mid, vivid blue. Relative luminance 0.130; OKLCH L 51.9% C 0.158 H 282.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).
Color values
| HEX | #5F57BF |
|---|---|
| RGB | rgb(95, 87, 191) |
| HSL | hsl(245, 45%, 55%) |
| HSV | hsv(245, 54%, 75%) |
| CMYK | cmyk(50.3%, 54.5%, 0%, 25.1%) |
| CIE-LAB | lab(42.78, 31.25, -53.85) |
| CIE-LCH | lch(42.78, 62.26, 300.13°) |
| OKLab | oklab(51.93% 0.0352 -0.1537) |
| OKLCH | oklch(51.93% 0.158 282.9) |
| XYZ | xyz(17.5286, 13.0100, 50.8677) |
| Luminance | 0.1301 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 0.93
Slate Blue
#6A5ACD
ΔE00 2.91
Light Indigo
#6D5ACF
ΔE00 3.48
Dark Periwinkle
#665FD1
ΔE00 3.72
Warm Blue
#4B57DB
ΔE00 4.83
Bluey Purple
#6241C7
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F57BF #B7BF57
analogous
#5783BF #5F57BF #9357BF
triadic
#5F57BF #BF5F57 #57BF5F
tetradic
#5F57BF #BF5783 #B7BF57 #57BF93
square
#5F57BF #BF5783 #B7BF57 #57BF93
split-complementary
#5F57BF #BF9357 #83BF57
monochromatic
#302B71 #433C9D #5F57BF #8983D0 #B3B0E1
Accessibility & contrast
On white
5.83
#5F57BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.60
#5F57BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F57BF
5.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F57BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F57BF | 1.00 | 5.83 | 3.60 | 5.83 |
| #FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B68C3
Deuteranopia (green-blind)
#1062BD
Tritanopia (blue-blind)
#3B6E82
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #5f57bf; /* rgb */ color: rgb(95, 87, 191); /* oklch */ color: oklch(51.9% 0.158 282.9);
Tailwind
colors: {
custom: {
50: '#9386d3',
500: '#5f57bf',
950: '#000000',
},
}SCSS
$custom: #5f57bf; $custom-light: #9386d3; $custom-dark: #000000;
JSON
{
"hex": "#5f57bf",
"rgb": {
"r": 95,
"g": 87,
"b": 191
},
"hsl": {
"h": 244.615,
"s": 44.828,
"l": 54.51
},
"oklch": {
"l": 0.51935,
"c": 0.15773,
"h": 282.9
},
"luminance": 0.13011
}Semantic roles & 50–950 ramp
primary
#5F57BF
secondary
#CCCFA3
accent
#D553CB
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83