#5F50CA#5F50CA
#5F50CA is a mid, vivid blue. Relative luminance 0.124; OKLCH L 51.5% C 0.182 H 283.6°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #5F50CA |
|---|---|
| RGB | rgb(95, 80, 202) |
| HSL | hsl(247, 54%, 55%) |
| HSV | hsv(247, 60%, 79%) |
| CMYK | cmyk(53%, 60.4%, 0%, 20.8%) |
| CIE-LAB | lab(41.90, 38.87, -61.65) |
| CIE-LCH | lch(41.90, 72.89, 302.23°) |
| OKLab | oklab(51.53% 0.0427 -0.1767) |
| OKLCH | oklch(51.53% 0.182 283.6) |
| XYZ | xyz(18.2454, 12.4335, 57.3042) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 2.56
Slate Blue
#6A5ACD
ΔE00 3.37
Light Indigo
#6D5ACF
ΔE00 3.70
Bluey Purple
#6241C7
ΔE00 4.14
Warm Blue
#4B57DB
ΔE00 4.45
Dark Periwinkle
#665FD1
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F50CA #BBCA50
analogous
#507ECA #5F50CA #9C50CA
triadic
#5F50CA #CA5F50 #50CA5F
tetradic
#5F50CA #CA507E #BBCA50 #50CA9C
square
#5F50CA #CA507E #BBCA50 #50CA9C
split-complementary
#5F50CA #CA9C50 #7ECA50
monochromatic
#30257A #4233A9 #5F50CA #8A7FD8 #B5AEE6
Accessibility & contrast
On white
6.02
#5F50CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#5F50CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5F50CA
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F50CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5F50CA | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067CE
Deuteranopia (green-blind)
#005FC7
Tritanopia (blue-blind)
#326D85
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #5f50ca; /* rgb */ color: rgb(95, 80, 202); /* oklch */ color: oklch(51.5% 0.182 283.6);
Tailwind
colors: {
custom: {
50: '#9582db',
500: '#5f50ca',
950: '#000000',
},
}SCSS
$custom: #5f50ca; $custom-light: #9582db; $custom-dark: #000000;
JSON
{
"hex": "#5f50ca",
"rgb": {
"r": 95,
"g": 80,
"b": 202
},
"hsl": {
"h": 247.377,
"s": 53.509,
"l": 55.294
},
"oklch": {
"l": 0.51528,
"c": 0.18183,
"h": 283.6
},
"luminance": 0.12434
}Semantic roles & 50–950 ramp
primary
#5F50CA
secondary
#CED4A1
accent
#DD4BCB
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0A15
muted
#7E7C83