#5E50BD#5E50BD
#5E50BD is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.165 H 284.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5E50BD |
|---|---|
| RGB | rgb(94, 80, 189) |
| HSL | hsl(248, 45%, 53%) |
| HSV | hsv(248, 58%, 74%) |
| CMYK | cmyk(50.3%, 57.7%, 0%, 25.9%) |
| CIE-LAB | lab(40.88, 34.69, -55.75) |
| CIE-LCH | lch(40.88, 65.66, 301.89°) |
| OKLab | oklab(50.46% 0.0417 -0.1594) |
| OKLCH | oklch(50.46% 0.165 284.7) |
| XYZ | xyz(16.6673, 11.7903, 49.5318) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.63
Slate Blue
#6A5ACD
ΔE00 4.14
Bluey Purple
#6241C7
ΔE00 4.43
Ocean Blue
#4F42B5
ΔE00 4.52
Light Indigo
#6D5ACF
ΔE00 4.56
Dark Periwinkle
#665FD1
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5E50BD #AFBD50
analogous
#5079BD #5E50BD #9450BD
triadic
#5E50BD #BD5E50 #50BD5E
tetradic
#5E50BD #BD5079 #AFBD50 #50BD94
square
#5E50BD #BD5079 #AFBD50 #50BD94
split-complementary
#5E50BD #BD9450 #79BD50
monochromatic
#31286A #453997 #5E50BD #877CCE #B0A9DF
Accessibility & contrast
On white
6.25
#5E50BD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#5E50BD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5E50BD
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5E50BD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5E50BD | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#3B697F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5e50bd; /* rgb */ color: rgb(94, 80, 189); /* oklch */ color: oklch(50.5% 0.165 284.7);
Tailwind
colors: {
custom: {
50: '#9381d2',
500: '#5e50bd',
950: '#000000',
},
}SCSS
$custom: #5e50bd; $custom-light: #9381d2; $custom-dark: #000000;
JSON
{
"hex": "#5e50bd",
"rgb": {
"r": 94,
"g": 80,
"b": 189
},
"hsl": {
"h": 247.706,
"s": 45.228,
"l": 52.745
},
"oklch": {
"l": 0.50464,
"c": 0.16478,
"h": 284.7
},
"luminance": 0.11791
}Semantic roles & 50–950 ramp
primary
#5E50BD
secondary
#C6CC9D
accent
#D553C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83