#5947D9#5947D9

#5947D9 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.9% C 0.213 H 281.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5947D9
RGBrgb(89, 71, 217)
HSLhsl(247, 66%, 56%)
HSVhsv(247, 67%, 85%)
CMYKcmyk(59%, 67.3%, 0%, 14.9%)
CIE-LABlab(40.64, 47.68, -72.36)
CIE-LCHlch(40.64, 86.66, 303.38°)
OKLaboklab(50.86% 0.0417 -0.2084)
OKLCHoklch(50.86% 0.213 281.3)
XYZxyz(18.8935, 11.6388, 66.8831)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947D9 #C7D947
analogous
#477ED9 #5947D9 #A247D9
triadic
#5947D9 #D95947 #47D959
tetradic
#5947D9 #D9477E #C7D947 #47D9A2
square
#5947D9 #D9477E #C7D947 #47D9A2
split-complementary
#5947D9 #D9A247 #7ED947
monochromatic
#2A1C89 #3927BC #5947D9 #877AE3 #B5ACEE

Accessibility & contrast

On white

6.31
#5947D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5947D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947D9
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947D9#FFFFFF#000000##FFFFFF
##5947D91.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DD
Deuteranopia (green-blind)
#005AD6
Tritanopia (blue-blind)
#006D8A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5947d9;
/* rgb */ color: rgb(89, 71, 217);
/* oklch */ color: oklch(50.9% 0.213 281.3);
Tailwind
colors: {
  custom: {
    50: '#957ce6',
    500: '#5947d9',
    950: '#000000',
  },
}
SCSS
$custom: #5947d9;
$custom-light: #957ce6;
$custom-dark: #000000;
JSON
{
  "hex": "#5947d9",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 217
  },
  "hsl": {
    "h": 247.397,
    "s": 65.766,
    "l": 56.471
  },
  "oklch": {
    "l": 0.50858,
    "c": 0.21253,
    "h": 281.3
  },
  "luminance": 0.1164
}

Semantic roles & 50–950 ramp

primary
#5947D9
secondary
#D4DCA0
accent
#E93FD4
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5947D9

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

Preview Lab → · Contrast checker → · Palette generator →

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