#5250CE#5250CE
#5250CE is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.189 H 278.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #5250CE |
|---|---|
| RGB | rgb(82, 80, 206) |
| HSL | hsl(241, 56%, 56%) |
| HSV | hsv(241, 61%, 81%) |
| CMYK | cmyk(60.2%, 61.2%, 0%, 19.2%) |
| CIE-LAB | lab(41.19, 37.84, -65.15) |
| CIE-LCH | lch(41.19, 75.34, 300.15°) |
| OKLab | oklab(50.85% 0.0263 -0.1874) |
| OKLCH | oklch(50.85% 0.189 278) |
| XYZ | xyz(17.4853, 11.9861, 59.7727) |
| Luminance | 0.1199 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.98
Iris
#6258C4
ΔE00 3.56
Slate Blue
#6A5ACD
ΔE00 4.64
Light Indigo
#6D5ACF
ΔE00 5.08
Bluey Purple
#6241C7
ΔE00 5.16
Dark Periwinkle
#665FD1
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5250CE #CCCE50
analogous
#508DCE #5250CE #9150CE
triadic
#5250CE #CE5250 #50CE52
tetradic
#5250CE #CE508D #CCCE50 #50CE91
square
#5250CE #CE508D #CCCE50 #50CE91
split-complementary
#5250CE #CE9150 #8DCE50
monochromatic
#252480 #3331B0 #5250CE #8180DB #B1B0E9
Accessibility & contrast
On white
6.18
#5250CE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#5250CE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5250CE
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5250CE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5250CE | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D2
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5250ce; /* rgb */ color: rgb(82, 80, 206); /* oklch */ color: oklch(50.9% 0.189 278.0);
Tailwind
colors: {
custom: {
50: '#8f81de',
500: '#5250ce',
950: '#000000',
},
}SCSS
$custom: #5250ce; $custom-light: #8f81de; $custom-dark: #000000;
JSON
{
"hex": "#5250ce",
"rgb": {
"r": 82,
"g": 80,
"b": 206
},
"hsl": {
"h": 240.952,
"s": 56.25,
"l": 56.078
},
"oklch": {
"l": 0.50853,
"c": 0.18924,
"h": 278
},
"luminance": 0.11987
}Semantic roles & 50–950 ramp
primary
#5250CE
secondary
#D6D7A3
accent
#E048DD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83