#5950BB#5950BB
#5950BB is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.163 H 282.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #5950BB |
|---|---|
| RGB | rgb(89, 80, 187) |
| HSL | hsl(245, 44%, 52%) |
| HSV | hsv(245, 57%, 73%) |
| CMYK | cmyk(52.4%, 57.2%, 0%, 26.7%) |
| CIE-LAB | lab(40.33, 33.04, -55.50) |
| CIE-LCH | lch(40.33, 64.59, 300.77°) |
| OKLab | oklab(49.91% 0.0354 -0.1588) |
| OKLCH | oklch(49.91% 0.163 282.6) |
| XYZ | xyz(15.9554, 11.4481, 48.3730) |
| Luminance | 0.1145 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.96
Ocean Blue
#4F42B5
ΔE00 4.21
Slate Blue
#6A5ACD
ΔE00 4.71
Bluey Purple
#6241C7
ΔE00 4.89
Light Indigo
#6D5ACF
ΔE00 5.19
Warm Blue
#4B57DB
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5950BB #B2BB50
analogous
#507CBB #5950BB #8F50BB
triadic
#5950BB #BB5950 #50BB59
tetradic
#5950BB #BB507C #B2BB50 #50BB8F
square
#5950BB #BB507C #B2BB50 #50BB8F
split-complementary
#5950BB #BB8F50 #7CBB50
monochromatic
#2E2868 #413A94 #5950BB #837CCC #ADA8DD
Accessibility & contrast
On white
6.38
#5950BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#5950BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5950BB
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5950BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5950BB | 1.00 | 6.38 | 3.29 | 6.38 |
| #FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#31697E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5950bb; /* rgb */ color: rgb(89, 80, 187); /* oklch */ color: oklch(49.9% 0.163 282.6);
Tailwind
colors: {
custom: {
50: '#9081d0',
500: '#5950bb',
950: '#000000',
},
}SCSS
$custom: #5950bb; $custom-light: #9081d0; $custom-dark: #000000;
JSON
{
"hex": "#5950bb",
"rgb": {
"r": 89,
"g": 80,
"b": 187
},
"hsl": {
"h": 245.047,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.49906,
"c": 0.16271,
"h": 282.6
},
"luminance": 0.11449
}Semantic roles & 50–950 ramp
primary
#5950BB
secondary
#C7CB9C
accent
#D454C9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82