#5250C6#5250C6
#5250C6 is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.2% C 0.179 H 278.6°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).
Color values
| HEX | #5250C6 |
|---|---|
| RGB | rgb(82, 80, 198) |
| HSL | hsl(241, 51%, 55%) |
| HSV | hsv(241, 60%, 78%) |
| CMYK | cmyk(58.6%, 59.6%, 0%, 22.4%) |
| CIE-LAB | lab(40.58, 35.24, -61.51) |
| CIE-LCH | lch(40.58, 70.89, 299.81°) |
| OKLab | oklab(50.21% 0.0266 -0.1767) |
| OKLCH | oklch(50.21% 0.179 278.6) |
| XYZ | xyz(16.5381, 11.6072, 54.7841) |
| Luminance | 0.1161 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Iris
#6258C4
ΔE00 3.35
Warm Blue
#4B57DB
ΔE00 3.71
Ocean Blue
#4F42B5
ΔE00 4.68
Slate Blue
#6A5ACD
ΔE00 4.84
Bluey Purple
#6241C7
ΔE00 5.16
Light Indigo
#6D5ACF
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5250C6 #C4C650
analogous
#5089C6 #5250C6 #8D50C6
triadic
#5250C6 #C65250 #50C652
tetradic
#5250C6 #C65089 #C4C650 #50C68D
square
#5250C6 #C65089 #C4C650 #50C68D
split-complementary
#5250C6 #C68D50 #89C650
monochromatic
#282675 #3735A4 #5250C6 #807ED5 #ADACE4
Accessibility & contrast
On white
6.32
#5250C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#5250C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5250C6
6.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5250C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5250C6 | 1.00 | 6.32 | 3.32 | 6.32 |
| #FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0064CA
Deuteranopia (green-blind)
#005BC4
Tritanopia (blue-blind)
#006C83
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #5250c6; /* rgb */ color: rgb(82, 80, 198); /* oklch */ color: oklch(50.2% 0.179 278.6);
Tailwind
colors: {
custom: {
50: '#8d81d8',
500: '#5250c6',
950: '#000000',
},
}SCSS
$custom: #5250c6; $custom-light: #8d81d8; $custom-dark: #000000;
JSON
{
"hex": "#5250c6",
"rgb": {
"r": 82,
"g": 80,
"b": 198
},
"hsl": {
"h": 241.017,
"s": 50.862,
"l": 54.51
},
"oklch": {
"l": 0.50214,
"c": 0.17871,
"h": 278.6
},
"luminance": 0.11608
}Semantic roles & 50–950 ramp
primary
#5250C6
secondary
#D1D2A0
accent
#DA4DD8
background
#F9F7FD
surface
#F1EEFA
border
#CBC9D3
text
#0D0A15
muted
#7E7C83