#5A50BB#5A50BB
#5A50BB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.0% C 0.163 H 283.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #5A50BB |
|---|---|
| RGB | rgb(90, 80, 187) |
| HSL | hsl(246, 44%, 52%) |
| HSV | hsv(246, 57%, 73%) |
| CMYK | cmyk(51.9%, 57.2%, 0%, 26.7%) |
| CIE-LAB | lab(40.41, 33.24, -55.36) |
| CIE-LCH | lch(40.41, 64.57, 300.98°) |
| OKLab | oklab(49.99% 0.0366 -0.1584) |
| OKLCH | oklch(49.99% 0.163 283) |
| XYZ | xyz(16.0520, 11.4980, 48.3776) |
| Luminance | 0.1150 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.90
Ocean Blue
#4F42B5
ΔE00 4.25
Slate Blue
#6A5ACD
ΔE00 4.62
Bluey Purple
#6241C7
ΔE00 4.81
Light Indigo
#6D5ACF
ΔE00 5.09
Warm Blue
#4B57DB
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A50BB #B1BB50
analogous
#507CBB #5A50BB #8F50BB
triadic
#5A50BB #BB5A50 #50BB5A
tetradic
#5A50BB #BB507C #B1BB50 #50BB8F
square
#5A50BB #BB507C #B1BB50 #50BB8F
split-complementary
#5A50BB #BB8F50 #7CBB50
monochromatic
#2E2868 #423A94 #5A50BB #847CCC #ADA8DD
Accessibility & contrast
On white
6.36
#5A50BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.30
#5A50BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A50BB
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A50BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A50BB | 1.00 | 6.36 | 3.30 | 6.36 |
| #FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.30 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#33697E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5a50bb; /* rgb */ color: rgb(90, 80, 187); /* oklch */ color: oklch(50.0% 0.163 283.0);
Tailwind
colors: {
custom: {
50: '#9081d0',
500: '#5a50bb',
950: '#000000',
},
}SCSS
$custom: #5a50bb; $custom-light: #9081d0; $custom-dark: #000000;
JSON
{
"hex": "#5a50bb",
"rgb": {
"r": 90,
"g": 80,
"b": 187
},
"hsl": {
"h": 245.607,
"s": 44.033,
"l": 52.353
},
"oklch": {
"l": 0.49987,
"c": 0.16257,
"h": 283
},
"luminance": 0.11499
}Semantic roles & 50–950 ramp
primary
#5A50BB
secondary
#C6CB9C
accent
#D454C8
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0A14
muted
#7E7C82