#5249CF#5249CF
#5249CF is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.8% C 0.199 H 279.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5249CF |
|---|---|
| RGB | rgb(82, 73, 207) |
| HSL | hsl(244, 58%, 55%) |
| HSV | hsv(244, 65%, 81%) |
| CMYK | cmyk(60.4%, 64.7%, 0%, 18.8%) |
| CIE-LAB | lab(39.69, 42.35, -68.19) |
| CIE-LCH | lch(39.69, 80.27, 301.85°) |
| OKLab | oklab(49.78% 0.0323 -0.1964) |
| OKLCH | oklch(49.78% 0.199 279.3) |
| XYZ | xyz(17.1211, 11.0627, 60.2525) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 3.56
Blue With A Hint Of Purple
#533CC6
ΔE00 3.68
Blurple
#5539CC
ΔE00 4.12
Ocean Blue
#4F42B5
ΔE00 4.14
Warm Blue
#4B57DB
ΔE00 4.67
Iris
#6258C4
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5249CF #C6CF49
analogous
#4983CF #5249CF #9549CF
triadic
#5249CF #CF5249 #49CF52
tetradic
#5249CF #CF4983 #C6CF49 #49CF95
square
#5249CF #CF4983 #C6CF49 #49CF95
split-complementary
#5249CF #CF9549 #83CF49
monochromatic
#27217D #362EAD #5249CF #8079DC #AEAAE9
Accessibility & contrast
On white
6.54
#5249CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#5249CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5249CF
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5249CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5249CF | 1.00 | 6.54 | 3.21 | 6.54 |
| #FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0058CC
Tritanopia (blue-blind)
#006B85
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5249cf; /* rgb */ color: rgb(82, 73, 207); /* oklch */ color: oklch(49.8% 0.199 279.3);
Tailwind
colors: {
custom: {
50: '#8f7cdf',
500: '#5249cf',
950: '#000000',
},
}SCSS
$custom: #5249cf; $custom-light: #8f7cdf; $custom-dark: #000000;
JSON
{
"hex": "#5249cf",
"rgb": {
"r": 82,
"g": 73,
"b": 207
},
"hsl": {
"h": 244.03,
"s": 58.261,
"l": 54.902
},
"oklch": {
"l": 0.49776,
"c": 0.19899,
"h": 279.3
},
"luminance": 0.11064
}Semantic roles & 50–950 ramp
primary
#5249CF
secondary
#D2D69E
accent
#E146D7
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83