#5F50BF#5F50BF
#5F50BF is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.7% C 0.167 H 284.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5F50BF |
|---|---|
| RGB | rgb(95, 80, 191) |
| HSL | hsl(248, 46%, 53%) |
| HSV | hsv(248, 58%, 75%) |
| CMYK | cmyk(50.3%, 58.1%, 0%, 25.1%) |
| CIE-LAB | lab(41.11, 35.51, -56.55) |
| CIE-LCH | lch(41.11, 66.77, 302.12°) |
| OKLab | oklab(50.7% 0.043 -0.1617) |
| OKLCH | oklch(50.7% 0.167 284.9) |
| XYZ | xyz(16.9891, 11.9310, 50.6878) |
| Luminance | 0.1193 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.52
Slate Blue
#6A5ACD
ΔE00 3.92
Bluey Purple
#6241C7
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.31
Ocean Blue
#4F42B5
ΔE00 4.66
Dark Periwinkle
#665FD1
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F50BF #B0BF50
analogous
#5078BF #5F50BF #9650BF
triadic
#5F50BF #BF5F50 #50BF5F
tetradic
#5F50BF #BF5078 #B0BF50 #50BF96
square
#5F50BF #BF5078 #B0BF50 #50BF96
split-complementary
#5F50BF #BF9650 #78BF50
monochromatic
#31286D #45389A #5F50BF #887DCF #B1AAE0
Accessibility & contrast
On white
6.20
#5F50BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#5F50BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F50BF
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F50BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F50BF | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005EBD
Tritanopia (blue-blind)
#3B6980
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5f50bf; /* rgb */ color: rgb(95, 80, 191); /* oklch */ color: oklch(50.7% 0.167 284.9);
Tailwind
colors: {
custom: {
50: '#9481d3',
500: '#5f50bf',
950: '#000000',
},
}SCSS
$custom: #5f50bf; $custom-light: #9481d3; $custom-dark: #000000;
JSON
{
"hex": "#5f50bf",
"rgb": {
"r": 95,
"g": 80,
"b": 191
},
"hsl": {
"h": 248.108,
"s": 46.444,
"l": 53.137
},
"oklch": {
"l": 0.50696,
"c": 0.16735,
"h": 284.9
},
"luminance": 0.11932
}Semantic roles & 50–950 ramp
primary
#5F50BF
secondary
#C7CD9D
accent
#D652C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83