#5250D2#5250D2
#5250D2 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 51.2% C 0.194 H 277.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #5250D2 |
|---|---|
| RGB | rgb(82, 80, 210) |
| HSL | hsl(241, 59%, 57%) |
| HSV | hsv(241, 62%, 82%) |
| CMYK | cmyk(61%, 61.9%, 0%, 17.6%) |
| CIE-LAB | lab(41.51, 39.14, -66.95) |
| CIE-LCH | lch(41.51, 77.55, 300.31°) |
| OKLab | oklab(51.18% 0.0261 -0.1927) |
| OKLCH | oklch(51.18% 0.194 277.7) |
| XYZ | xyz(17.9775, 12.1829, 62.3645) |
| Luminance | 0.1218 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Warm Blue
#4B57DB
ΔE00 2.71
Iris
#6258C4
ΔE00 3.76
Slate Blue
#6A5ACD
ΔE00 4.63
Light Indigo
#6D5ACF
ΔE00 5.03
Dark Periwinkle
#665FD1
ΔE00 5.17
Bluey Purple
#6241C7
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5250D2 #D0D250
analogous
#508FD2 #5250D2 #9350D2
triadic
#5250D2 #D25250 #50D252
tetradic
#5250D2 #D2508F #D0D250 #50D293
square
#5250D2 #D2508F #D0D250 #50D293
split-complementary
#5250D2 #D29350 #8FD250
monochromatic
#242285 #312FB6 #5250D2 #8281DF #B2B1EB
Accessibility & contrast
On white
6.11
#5250D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#5250D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5250D2
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5250D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5250D2 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#005CCF
Tritanopia (blue-blind)
#007089
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #5250d2; /* rgb */ color: rgb(82, 80, 210); /* oklch */ color: oklch(51.2% 0.194 277.7);
Tailwind
colors: {
custom: {
50: '#8f81e1',
500: '#5250d2',
950: '#000000',
},
}SCSS
$custom: #5250d2; $custom-light: #8f81e1; $custom-dark: #000000;
JSON
{
"hex": "#5250d2",
"rgb": {
"r": 82,
"g": 80,
"b": 210
},
"hsl": {
"h": 240.923,
"s": 59.091,
"l": 56.863
},
"oklch": {
"l": 0.51179,
"c": 0.19444,
"h": 277.7
},
"luminance": 0.12184
}Semantic roles & 50–950 ramp
primary
#5250D2
secondary
#D9D9A4
accent
#E246E0
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83