#5F50BB#5F50BB
#5F50BB is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.4% C 0.162 H 285.4°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #5F50BB |
|---|---|
| RGB | rgb(95, 80, 187) |
| HSL | hsl(248, 44%, 52%) |
| HSV | hsv(248, 57%, 73%) |
| CMYK | cmyk(49.2%, 57.2%, 0%, 26.7%) |
| CIE-LAB | lab(40.83, 34.29, -54.66) |
| CIE-LCH | lch(40.83, 64.52, 302.10°) |
| OKLab | oklab(50.4% 0.043 -0.1562) |
| OKLCH | oklch(50.4% 0.162 285.4) |
| XYZ | xyz(16.5550, 11.7573, 48.4012) |
| Luminance | 0.1176 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.75
Slate Blue
#6A5ACD
ΔE00 4.25
Bluey Purple
#6241C7
ΔE00 4.50
Ocean Blue
#4F42B5
ΔE00 4.55
Light Indigo
#6D5ACF
ΔE00 4.65
Dark Periwinkle
#665FD1
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F50BB #ACBB50
analogous
#5077BB #5F50BB #9450BB
triadic
#5F50BB #BB5F50 #50BB5F
tetradic
#5F50BB #BB5077 #ACBB50 #50BB94
square
#5F50BB #BB5077 #ACBB50 #50BB94
split-complementary
#5F50BB #BB9450 #77BB50
monochromatic
#312868 #463A94 #5F50BB #877CCC #B0A8DD
Accessibility & contrast
On white
6.27
#5F50BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#5F50BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F50BB
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F50BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F50BB | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005DB9
Tritanopia (blue-blind)
#3E687E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5f50bb; /* rgb */ color: rgb(95, 80, 187); /* oklch */ color: oklch(50.4% 0.162 285.4);
Tailwind
colors: {
custom: {
50: '#9381d0',
500: '#5f50bb',
950: '#000000',
},
}SCSS
$custom: #5f50bb; $custom-light: #9381d0; $custom-dark: #000000;
JSON
{
"hex": "#5f50bb",
"rgb": {
"r": 95,
"g": 80,
"b": 187
},
"hsl": {
"h": 248.411,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.50402,
"c": 0.162,
"h": 285.4
},
"luminance": 0.11758
}Semantic roles & 50–950 ramp
primary
#5F50BB
secondary
#C4CB9C
accent
#D454C2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82