#5947BA#5947BA
#5947BA is a mid, vivid blue. Relative luminance 0.102; OKLCH L 48.3% C 0.173 H 285.0°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #5947BA |
|---|---|
| RGB | rgb(89, 71, 186) |
| HSL | hsl(249, 45%, 50%) |
| HSV | hsv(249, 62%, 73%) |
| CMYK | cmyk(52.2%, 61.8%, 0%, 27.1%) |
| CIE-LAB | lab(38.15, 38.17, -58.43) |
| CIE-LCH | lch(38.15, 69.79, 303.16°) |
| OKLab | oklab(48.29% 0.0449 -0.1675) |
| OKLCH | oklch(48.29% 0.173 285) |
| XYZ | xyz(15.2333, 10.1747, 47.6061) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.10
Bluey Purple
#6241C7
ΔE00 2.87
Blue With A Hint Of Purple
#533CC6
ΔE00 3.33
Blurple
#5539CC
ΔE00 4.20
Iris
#6258C4
ΔE00 5.24
Blueberry
#464196
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5947BA #A8BA47
analogous
#476EBA #5947BA #9247BA
triadic
#5947BA #BA5947 #47BA59
tetradic
#5947BA #BA476E #A8BA47 #47BA92
square
#5947BA #BA476E #A8BA47 #47BA92
split-complementary
#5947BA #BA9247 #6EBA47
monochromatic
#2E2562 #43358E #5947BA #8174CB #A9A0DB
Accessibility & contrast
On white
6.92
#5947BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#5947BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #5947BA
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5947BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5947BA | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#0056B8
Tritanopia (blue-blind)
#33627A
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #5947ba; /* rgb */ color: rgb(89, 71, 186); /* oklch */ color: oklch(48.3% 0.173 285.0);
Tailwind
colors: {
custom: {
50: '#907bd0',
500: '#5947ba',
950: '#000000',
},
}SCSS
$custom: #5947ba; $custom-light: #907bd0; $custom-dark: #000000;
JSON
{
"hex": "#5947ba",
"rgb": {
"r": 89,
"g": 71,
"b": 186
},
"hsl": {
"h": 249.391,
"s": 45.455,
"l": 50.392
},
"oklch": {
"l": 0.48286,
"c": 0.1734,
"h": 285
},
"luminance": 0.10175
}Semantic roles & 50–950 ramp
primary
#5947BA
secondary
#C0C895
accent
#D553C1
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82