#5B49CD#5B49CD
#5B49CD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.3% C 0.195 H 283.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #5B49CD |
|---|---|
| RGB | rgb(91, 73, 205) |
| HSL | hsl(248, 57%, 55%) |
| HSV | hsv(248, 64%, 80%) |
| CMYK | cmyk(55.6%, 64.4%, 0%, 19.6%) |
| CIE-LAB | lab(40.24, 43.19, -66.10) |
| CIE-LCH | lch(40.24, 78.96, 303.16°) |
| OKLab | oklab(50.31% 0.044 -0.19) |
| OKLCH | oklch(50.31% 0.195 283) |
| XYZ | xyz(17.7130, 11.3959, 59.0120) |
| Luminance | 0.1140 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Bluey Purple
#6241C7
ΔE00 2.61
Blue With A Hint Of Purple
#533CC6
ΔE00 3.64
Blurple
#5539CC
ΔE00 4.01
Ocean Blue
#4F42B5
ΔE00 4.25
Iris
#6258C4
ΔE00 4.55
Purpleish Blue
#6140EF
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5B49CD #BBCD49
analogous
#4979CD #5B49CD #9D49CD
triadic
#5B49CD #CD5B49 #49CD5B
tetradic
#5B49CD #CD4979 #BBCD49 #49CD9D
square
#5B49CD #CD4979 #BBCD49 #49CD9D
split-complementary
#5B49CD #CD9D49 #79CD49
monochromatic
#2E227A #402FAA #5B49CD #8679DA #B2A9E7
Accessibility & contrast
On white
6.40
#5B49CD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#5B49CD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5B49CD
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5B49CD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5B49CD | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#236A84
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #5b49cd; /* rgb */ color: rgb(91, 73, 205); /* oklch */ color: oklch(50.3% 0.195 283.0);
Tailwind
colors: {
custom: {
50: '#947ddd',
500: '#5b49cd',
950: '#000000',
},
}SCSS
$custom: #5b49cd; $custom-light: #947ddd; $custom-dark: #000000;
JSON
{
"hex": "#5b49cd",
"rgb": {
"r": 91,
"g": 73,
"b": 205
},
"hsl": {
"h": 248.182,
"s": 56.897,
"l": 54.51
},
"oklch": {
"l": 0.50307,
"c": 0.19499,
"h": 283
},
"luminance": 0.11397
}Semantic roles & 50–950 ramp
primary
#5B49CD
secondary
#CDD59D
accent
#E048CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83