#5A49C7#5A49C7
#5A49C7 is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.7% C 0.188 H 283.3°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5A49C7 |
|---|---|
| RGB | rgb(90, 73, 199) |
| HSL | hsl(248, 53%, 53%) |
| HSV | hsv(248, 63%, 78%) |
| CMYK | cmyk(54.8%, 63.3%, 0%, 22%) |
| CIE-LAB | lab(39.68, 41.17, -63.53) |
| CIE-LCH | lch(39.68, 75.70, 302.94°) |
| OKLab | oklab(49.74% 0.0433 -0.1824) |
| OKLCH | oklch(49.74% 0.188 283.3) |
| XYZ | xyz(16.9046, 11.0613, 55.2660) |
| Luminance | 0.1106 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.55
Blue With A Hint Of Purple
#533CC6
ΔE00 3.44
Ocean Blue
#4F42B5
ΔE00 3.53
Blurple
#5539CC
ΔE00 4.00
Iris
#6258C4
ΔE00 4.47
Slate Blue
#6A5ACD
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5A49C7 #B6C749
analogous
#4977C7 #5A49C7 #9949C7
triadic
#5A49C7 #C75A49 #49C75A
tetradic
#5A49C7 #C74977 #B6C749 #49C799
square
#5A49C7 #C74977 #B6C749 #49C799
split-complementary
#5A49C7 #C79949 #77C749
monochromatic
#2E2372 #4132A1 #5A49C7 #8478D5 #AFA7E4
Accessibility & contrast
On white
6.54
#5A49C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#5A49C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5A49C7
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5A49C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5A49C7 | 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)
#0061CB
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#286881
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #5a49c7; /* rgb */ color: rgb(90, 73, 199); /* oklch */ color: oklch(49.7% 0.188 283.3);
Tailwind
colors: {
custom: {
50: '#927dd9',
500: '#5a49c7',
950: '#000000',
},
}SCSS
$custom: #5a49c7; $custom-light: #927dd9; $custom-dark: #000000;
JSON
{
"hex": "#5a49c7",
"rgb": {
"r": 90,
"g": 73,
"b": 199
},
"hsl": {
"h": 248.095,
"s": 52.941,
"l": 53.333
},
"oklch": {
"l": 0.49735,
"c": 0.18751,
"h": 283.3
},
"luminance": 0.11062
}Semantic roles & 50–950 ramp
primary
#5A49C7
secondary
#CAD19B
accent
#DC4BC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83