#5250CD#5250CD
#5250CD is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.8% C 0.188 H 278.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #5250CD |
|---|---|
| RGB | rgb(82, 80, 205) |
| HSL | hsl(241, 56%, 56%) |
| HSV | hsv(241, 61%, 80%) |
| CMYK | cmyk(60%, 61%, 0%, 19.6%) |
| CIE-LAB | lab(41.12, 37.52, -64.70) |
| CIE-LCH | lch(41.12, 74.79, 300.11°) |
| OKLab | oklab(50.77% 0.0263 -0.1861) |
| OKLCH | oklch(50.77% 0.188 278.1) |
| XYZ | xyz(17.3642, 11.9376, 59.1349) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 3.06
Iris
#6258C4
ΔE00 3.52
Slate Blue
#6A5ACD
ΔE00 4.66
Light Indigo
#6D5ACF
ΔE00 5.10
Bluey Purple
#6241C7
ΔE00 5.15
Ocean Blue
#4F42B5
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5250CD #CBCD50
analogous
#508CCD #5250CD #9050CD
triadic
#5250CD #CD5250 #50CD52
tetradic
#5250CD #CD508C #CBCD50 #50CD90
square
#5250CD #CD508C #CBCD50 #50CD90
split-complementary
#5250CD #CD9050 #8CCD50
monochromatic
#26247E #3432AE #5250CD #8180DB #B0AFE8
Accessibility & contrast
On white
6.20
#5250CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#5250CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5250CD
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5250CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5250CD | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0066D1
Deuteranopia (green-blind)
#005CCB
Tritanopia (blue-blind)
#006F87
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5250cd; /* rgb */ color: rgb(82, 80, 205); /* oklch */ color: oklch(50.8% 0.188 278.1);
Tailwind
colors: {
custom: {
50: '#8f81dd',
500: '#5250cd',
950: '#000000',
},
}SCSS
$custom: #5250cd; $custom-light: #8f81dd; $custom-dark: #000000;
JSON
{
"hex": "#5250cd",
"rgb": {
"r": 82,
"g": 80,
"b": 205
},
"hsl": {
"h": 240.96,
"s": 55.556,
"l": 55.882
},
"oklch": {
"l": 0.50772,
"c": 0.18793,
"h": 278.1
},
"luminance": 0.11939
}Semantic roles & 50–950 ramp
primary
#5250CD
secondary
#D5D6A2
accent
#DF49DC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83