#5250E6#5250E6
#5250E6 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.9% C 0.220 H 276.4°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).
Color values
| HEX | #5250E6 |
|---|---|
| RGB | rgb(82, 80, 230) |
| HSL | hsl(241, 75%, 61%) |
| HSV | hsv(241, 65%, 90%) |
| CMYK | cmyk(64.3%, 65.2%, 0%, 9.8%) |
| CIE-LAB | lab(43.13, 45.61, -75.72) |
| CIE-LCH | lch(43.13, 88.39, 301.07°) |
| OKLab | oklab(52.86% 0.0245 -0.2184) |
| OKLCH | oklch(52.86% 0.22 276.4) |
| XYZ | xyz(20.6266, 13.2426, 76.3167) |
| Luminance | 0.1324 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.80
Purpleish Blue
#6140EF
ΔE00 4.36
Electric Blue
#0652FF
ΔE00 4.67
Slate Blue
#6A5ACD
ΔE00 5.23
Iris
#6258C4
ΔE00 5.30
Light Indigo
#6D5ACF
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5250E6 #E4E650
analogous
#5099E6 #5250E6 #9D50E6
triadic
#5250E6 #E65250 #50E652
tetradic
#5250E6 #E65099 #E4E650 #50E69D
square
#5250E6 #E65099 #E4E650 #50E69D
split-complementary
#5250E6 #E69D50 #99E650
monochromatic
#1917A4 #221FDA #5250E6 #8786EE #BCBBF5
Accessibility & contrast
On white
5.76
#5250E6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.65
#5250E6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5250E6
5.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5250E6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5250E6 | 1.00 | 5.76 | 3.65 | 5.76 |
| #FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006CEB
Deuteranopia (green-blind)
#005FE3
Tritanopia (blue-blind)
#007794
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #5250e6; /* rgb */ color: rgb(82, 80, 230); /* oklch */ color: oklch(52.9% 0.220 276.4);
Tailwind
colors: {
custom: {
50: '#9382ef',
500: '#5250e6',
950: '#000000',
},
}SCSS
$custom: #5250e6; $custom-light: #9382ef; $custom-dark: #000000;
JSON
{
"hex": "#5250e6",
"rgb": {
"r": 82,
"g": 80,
"b": 230
},
"hsl": {
"h": 240.8,
"s": 75,
"l": 60.784
},
"oklch": {
"l": 0.52864,
"c": 0.21978,
"h": 276.4
},
"luminance": 0.13244
}Semantic roles & 50–950 ramp
primary
#5250E6
secondary
#E5E5AC
accent
#D70ED4
background
#F9F8FE
surface
#F2EFFD
border
#CCCAD5
text
#0F0A17
muted
#7E7C85