#5850CB#5850CB
#5850CB is a mid, vivid blue. Relative luminance 0.121; OKLCH L 51.1% C 0.184 H 280.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #5850CB |
|---|---|
| RGB | rgb(88, 80, 203) |
| HSL | hsl(244, 54%, 55%) |
| HSV | hsv(244, 61%, 80%) |
| CMYK | cmyk(56.7%, 60.6%, 0%, 20.4%) |
| CIE-LAB | lab(41.41, 37.90, -63.05) |
| CIE-LCH | lch(41.41, 73.56, 301.01°) |
| OKLab | oklab(51.05% 0.0338 -0.1811) |
| OKLCH | oklch(51.05% 0.184 280.6) |
| XYZ | xyz(17.6693, 12.1227, 57.8972) |
| Luminance | 0.1212 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.93
Warm Blue
#4B57DB
ΔE00 3.64
Slate Blue
#6A5ACD
ΔE00 4.02
Light Indigo
#6D5ACF
ΔE00 4.43
Bluey Purple
#6241C7
ΔE00 4.60
Dark Periwinkle
#665FD1
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5850CB #C3CB50
analogous
#5086CB #5850CB #9550CB
triadic
#5850CB #CB5850 #50CB58
tetradic
#5850CB #CB5086 #C3CB50 #50CB95
square
#5850CB #CB5086 #C3CB50 #50CB95
split-complementary
#5850CB #CB9550 #86CB50
monochromatic
#2A257C #3B33AB #5850CB #857FD9 #B2AEE7
Accessibility & contrast
On white
6.13
#5850CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#5850CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5850CB
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5850CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5850CB | 1.00 | 6.13 | 3.42 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#196E86
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5850cb; /* rgb */ color: rgb(88, 80, 203); /* oklch */ color: oklch(51.1% 0.184 280.6);
Tailwind
colors: {
custom: {
50: '#9181dc',
500: '#5850cb',
950: '#000000',
},
}SCSS
$custom: #5850cb; $custom-light: #9181dc; $custom-dark: #000000;
JSON
{
"hex": "#5850cb",
"rgb": {
"r": 88,
"g": 80,
"b": 203
},
"hsl": {
"h": 243.902,
"s": 54.185,
"l": 55.49
},
"oklch": {
"l": 0.51054,
"c": 0.18418,
"h": 280.6
},
"luminance": 0.12124
}Semantic roles & 50–950 ramp
primary
#5850CB
secondary
#D2D5A2
accent
#DE4AD4
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83