#5950BF#5950BF
#5950BF is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.168 H 282.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5950BF |
|---|---|
| RGB | rgb(89, 80, 191) |
| HSL | hsl(245, 46%, 53%) |
| HSV | hsv(245, 58%, 75%) |
| CMYK | cmyk(53.4%, 58.1%, 0%, 25.1%) |
| CIE-LAB | lab(40.61, 34.30, -57.37) |
| CIE-LCH | lch(40.61, 66.84, 300.87°) |
| OKLab | oklab(50.21% 0.0354 -0.1643) |
| OKLCH | oklch(50.21% 0.168 282.1) |
| XYZ | xyz(16.3896, 11.6218, 50.6597) |
| Luminance | 0.1162 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.77
Ocean Blue
#4F42B5
ΔE00 4.33
Slate Blue
#6A5ACD
ΔE00 4.42
Bluey Purple
#6241C7
ΔE00 4.68
Light Indigo
#6D5ACF
ΔE00 4.89
Warm Blue
#4B57DB
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5950BF #B6BF50
analogous
#507EBF #5950BF #9050BF
triadic
#5950BF #BF5950 #50BF59
tetradic
#5950BF #BF507E #B6BF50 #50BF90
square
#5950BF #BF507E #B6BF50 #50BF90
split-complementary
#5950BF #BF9050 #7EBF50
monochromatic
#2D286D #40389A #5950BF #847DCF #AEAAE0
Accessibility & contrast
On white
6.32
#5950BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#5950BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5950BF
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5950BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5950BF | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#2D6A80
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5950bf; /* rgb */ color: rgb(89, 80, 191); /* oklch */ color: oklch(50.2% 0.168 282.1);
Tailwind
colors: {
custom: {
50: '#9081d3',
500: '#5950bf',
950: '#000000',
},
}SCSS
$custom: #5950bf; $custom-light: #9081d3; $custom-dark: #000000;
JSON
{
"hex": "#5950bf",
"rgb": {
"r": 89,
"g": 80,
"b": 191
},
"hsl": {
"h": 244.865,
"s": 46.444,
"l": 53.137
},
"oklch": {
"l": 0.50205,
"c": 0.16811,
"h": 282.1
},
"luminance": 0.11623
}Semantic roles & 50–950 ramp
primary
#5950BF
secondary
#C9CD9D
accent
#D652CB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0A14
muted
#7E7C83