#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
RGBrgb(89, 71, 186)
HSLhsl(249, 45%, 50%)
HSVhsv(249, 62%, 73%)
CMYKcmyk(52.2%, 61.8%, 0%, 27.1%)
CIE-LABlab(38.15, 38.17, -58.43)
CIE-LCHlch(38.15, 69.79, 303.16°)
OKLaboklab(48.29% 0.0449 -0.1675)
OKLCHoklch(48.29% 0.173 285)
XYZxyz(15.2333, 10.1747, 47.6061)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

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
##5947BA1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.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

Preview Lab

Preview with #5947BA

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5947BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva