#5947BF#5947BF

#5947BF is a mid, vivid blue. Relative luminance 0.104; OKLCH L 48.7% C 0.180 H 284.3°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5947BF
RGBrgb(89, 71, 191)
HSLhsl(249, 48%, 51%)
HSVhsv(249, 63%, 75%)
CMYKcmyk(53.4%, 62.8%, 0%, 25.1%)
CIE-LABlab(38.54, 39.71, -60.74)
CIE-LCHlch(38.54, 72.57, 303.17°)
OKLaboklab(48.68% 0.0446 -0.1743)
OKLCHoklch(48.68% 0.18 284.3)
XYZxyz(15.7742, 10.3910, 50.4546)
Luminance0.1039 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947BF #ADBF47
analogous
#4771BF #5947BF #9547BF
triadic
#5947BF #BF5947 #47BF59
tetradic
#5947BF #BF4771 #ADBF47 #47BF95
square
#5947BF #BF4771 #ADBF47 #47BF95
split-complementary
#5947BF #BF9547 #71BF47
monochromatic
#2E2468 #423495 #5947BF #8274CF #ABA2DF

Accessibility & contrast

On white

6.82
#5947BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5947BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947BF
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947BF#FFFFFF#000000##FFFFFF
##5947BF1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#2E647C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5947bf;
/* rgb */ color: rgb(89, 71, 191);
/* oklch */ color: oklch(48.7% 0.180 284.3);
Tailwind
colors: {
  custom: {
    50: '#917bd3',
    500: '#5947bf',
    950: '#000000',
  },
}
SCSS
$custom: #5947bf;
$custom-light: #917bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#5947bf",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 191
  },
  "hsl": {
    "h": 249,
    "s": 48.387,
    "l": 51.373
  },
  "oklch": {
    "l": 0.48684,
    "c": 0.17989,
    "h": 284.3
  },
  "luminance": 0.10392
}

Semantic roles & 50–950 ramp

primary
#5947BF
secondary
#C3CB96
accent
#D850C4
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5947BF

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

Preview Lab → · Contrast checker → · Palette generator →

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