#5250CF#5250CF
#5250CF is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.9% C 0.191 H 277.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #5250CF |
|---|---|
| RGB | rgb(82, 80, 207) |
| HSL | hsl(241, 57%, 56%) |
| HSV | hsv(241, 61%, 81%) |
| CMYK | cmyk(60.4%, 61.4%, 0%, 18.8%) |
| CIE-LAB | lab(41.27, 38.17, -65.60) |
| CIE-LCH | lch(41.27, 75.90, 300.19°) |
| OKLab | oklab(50.93% 0.0262 -0.1887) |
| OKLCH | oklch(50.93% 0.191 277.9) |
| XYZ | xyz(17.6072, 12.0348, 60.4145) |
| Luminance | 0.1204 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.90
Iris
#6258C4
ΔE00 3.60
Slate Blue
#6A5ACD
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 5.06
Bluey Purple
#6241C7
ΔE00 5.18
Dark Periwinkle
#665FD1
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5250CF #CDCF50
analogous
#508ECF #5250CF #9250CF
triadic
#5250CF #CF5250 #50CF52
tetradic
#5250CF #CF508E #CDCF50 #50CF92
square
#5250CF #CF508E #CDCF50 #50CF92
split-complementary
#5250CF #CF9250 #8ECF50
monochromatic
#252381 #3331B1 #5250CF #8180DC #B1B0E9
Accessibility & contrast
On white
6.16
#5250CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#5250CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5250CF
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5250CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5250CF | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#005CCC
Tritanopia (blue-blind)
#006F88
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #5250cf; /* rgb */ color: rgb(82, 80, 207); /* oklch */ color: oklch(50.9% 0.191 277.9);
Tailwind
colors: {
custom: {
50: '#8f81df',
500: '#5250cf',
950: '#000000',
},
}SCSS
$custom: #5250cf; $custom-light: #8f81df; $custom-dark: #000000;
JSON
{
"hex": "#5250cf",
"rgb": {
"r": 82,
"g": 80,
"b": 207
},
"hsl": {
"h": 240.945,
"s": 56.951,
"l": 56.275
},
"oklch": {
"l": 0.50934,
"c": 0.19054,
"h": 277.9
},
"luminance": 0.12036
}Semantic roles & 50–950 ramp
primary
#5250CF
secondary
#D7D8A3
accent
#E048DE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83