#5250CA#5250CA
#5250CA is a mid, vivid blue. Relative luminance 0.118; OKLCH L 50.5% C 0.184 H 278.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #5250CA |
|---|---|
| RGB | rgb(82, 80, 202) |
| HSL | hsl(241, 54%, 55%) |
| HSV | hsv(241, 60%, 79%) |
| CMYK | cmyk(59.4%, 60.4%, 0%, 20.8%) |
| CIE-LAB | lab(40.89, 36.54, -63.34) |
| CIE-LCH | lch(40.89, 73.12, 299.98°) |
| OKLab | oklab(50.53% 0.0264 -0.1821) |
| OKLCH | oklch(50.53% 0.184 278.3) |
| XYZ | xyz(17.0056, 11.7942, 57.2460) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.31
Iris
#6258C4
ΔE00 3.42
Slate Blue
#6A5ACD
ΔE00 4.71
Ocean Blue
#4F42B5
ΔE00 4.98
Bluey Purple
#6241C7
ΔE00 5.13
Light Indigo
#6D5ACF
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5250CA #C8CA50
analogous
#508BCA #5250CA #8F50CA
triadic
#5250CA #CA5250 #50CA52
tetradic
#5250CA #CA508B #C8CA50 #50CA8F
square
#5250CA #CA508B #C8CA50 #50CA8F
split-complementary
#5250CA #CA8F50 #8BCA50
monochromatic
#27257A #3533A9 #5250CA #807FD8 #AFAEE6
Accessibility & contrast
On white
6.25
#5250CA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#5250CA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5250CA
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5250CA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5250CA | 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)
#0065CE
Deuteranopia (green-blind)
#005BC8
Tritanopia (blue-blind)
#006E85
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5250ca; /* rgb */ color: rgb(82, 80, 202); /* oklch */ color: oklch(50.5% 0.184 278.3);
Tailwind
colors: {
custom: {
50: '#8e81db',
500: '#5250ca',
950: '#000000',
},
}SCSS
$custom: #5250ca; $custom-light: #8e81db; $custom-dark: #000000;
JSON
{
"hex": "#5250ca",
"rgb": {
"r": 82,
"g": 80,
"b": 202
},
"hsl": {
"h": 240.984,
"s": 53.509,
"l": 55.294
},
"oklch": {
"l": 0.50531,
"c": 0.184,
"h": 278.3
},
"luminance": 0.11795
}Semantic roles & 50–950 ramp
primary
#5250CA
secondary
#D4D4A1
accent
#DD4BDB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0D0A15
muted
#7E7C83