#5947BD#5947BD

#5947BD is a mid, vivid blue. Relative luminance 0.103; OKLCH L 48.5% C 0.177 H 284.6°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#5947BD
RGBrgb(89, 71, 189)
HSLhsl(249, 47%, 51%)
HSVhsv(249, 62%, 74%)
CMYKcmyk(52.9%, 62.4%, 0%, 25.9%)
CIE-LABlab(38.38, 39.09, -59.82)
CIE-LCHlch(38.38, 71.46, 303.17°)
OKLaboklab(48.52% 0.0447 -0.1716)
OKLCHoklch(48.52% 0.177 284.6)
XYZxyz(15.5556, 10.3036, 49.3034)
Luminance0.1030 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947BD #ABBD47
analogous
#4770BD #5947BD #9447BD
triadic
#5947BD #BD5947 #47BD59
tetradic
#5947BD #BD4770 #ABBD47 #47BD94
square
#5947BD #BD4770 #ABBD47 #47BD94
split-complementary
#5947BD #BD9447 #70BD47
monochromatic
#2E2465 #433492 #5947BD #8274CD #AAA1DD

Accessibility & contrast

On white

6.86
#5947BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#5947BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947BD
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947BD#FFFFFF#000000##FFFFFF
##5947BD1.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#30637B
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5947bd;
/* rgb */ color: rgb(89, 71, 189);
/* oklch */ color: oklch(48.5% 0.177 284.6);
Tailwind
colors: {
  custom: {
    50: '#907bd2',
    500: '#5947bd',
    950: '#000000',
  },
}
SCSS
$custom: #5947bd;
$custom-light: #907bd2;
$custom-dark: #000000;
JSON
{
  "hex": "#5947bd",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 249.153,
    "s": 47.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48524,
    "c": 0.1773,
    "h": 284.6
  },
  "luminance": 0.10304
}

Semantic roles & 50–950 ramp

primary
#5947BD
secondary
#C2CA96
accent
#D751C2
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0D0914
muted
#7E7B83

Preview Lab

Preview with #5947BD

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

Preview Lab → · Contrast checker → · Palette generator →

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