#5250C2#5250C2
#5250C2 is a mid, vivid blue. Relative luminance 0.114; OKLCH L 49.9% C 0.173 H 278.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #5250C2 |
|---|---|
| RGB | rgb(82, 80, 194) |
| HSL | hsl(241, 48%, 54%) |
| HSV | hsv(241, 59%, 76%) |
| CMYK | cmyk(57.7%, 58.8%, 0%, 23.9%) |
| CIE-LAB | lab(40.29, 33.94, -59.67) |
| CIE-LCH | lch(40.29, 68.64, 299.63°) |
| OKLab | oklab(49.9% 0.0267 -0.1713) |
| OKLCH | oklch(49.9% 0.173 278.8) |
| XYZ | xyz(16.0829, 11.4251, 52.3862) |
| Luminance | 0.1143 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.37
Warm Blue
#4B57DB
ΔE00 4.14
Ocean Blue
#4F42B5
ΔE00 4.43
Slate Blue
#6A5ACD
ΔE00 5.01
Bluey Purple
#6241C7
ΔE00 5.26
Light Indigo
#6D5ACF
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5250C2 #C0C250
analogous
#5087C2 #5250C2 #8B50C2
triadic
#5250C2 #C25250 #50C252
tetradic
#5250C2 #C25087 #C0C250 #50C28B
square
#5250C2 #C25087 #C0C250 #50C28B
split-complementary
#5250C2 #C28B50 #87C250
monochromatic
#282770 #39379E #5250C2 #7F7DD2 #ACABE2
Accessibility & contrast
On white
6.39
#5250C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.29
#5250C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5250C2
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5250C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5250C2 | 1.00 | 6.39 | 3.29 | 6.39 |
| #FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064C6
Deuteranopia (green-blind)
#005AC0
Tritanopia (blue-blind)
#0B6B81
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5250c2; /* rgb */ color: rgb(82, 80, 194); /* oklch */ color: oklch(49.9% 0.173 278.8);
Tailwind
colors: {
custom: {
50: '#8d81d5',
500: '#5250c2',
950: '#000000',
},
}SCSS
$custom: #5250c2; $custom-light: #8d81d5; $custom-dark: #000000;
JSON
{
"hex": "#5250c2",
"rgb": {
"r": 82,
"g": 80,
"b": 194
},
"hsl": {
"h": 241.053,
"s": 48.305,
"l": 53.725
},
"oklch": {
"l": 0.49901,
"c": 0.17336,
"h": 278.8
},
"luminance": 0.11426
}Semantic roles & 50–950 ramp
primary
#5250C2
secondary
#CECF9F
accent
#D850D5
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A14
muted
#7E7C83