#5947DA#5947DA

#5947DA is a mid, highly saturated blue. Relative luminance 0.117; OKLCH L 50.9% C 0.214 H 281.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5947DA
RGBrgb(89, 71, 218)
HSLhsl(247, 67%, 57%)
HSVhsv(247, 67%, 85%)
CMYKcmyk(59.2%, 67.4%, 0%, 14.5%)
CIE-LABlab(40.72, 47.99, -72.80)
CIE-LCHlch(40.72, 87.19, 303.39°)
OKLaboklab(50.94% 0.0415 -0.2097)
OKLCHoklch(50.94% 0.214 281.2)
XYZxyz(19.0240, 11.6910, 67.5702)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947DA #C8DA47
analogous
#477FDA #5947DA #A347DA
triadic
#5947DA #DA5947 #47DA59
tetradic
#5947DA #DA477F #C8DA47 #47DAA3
square
#5947DA #DA477F #C8DA47 #47DAA3
split-complementary
#5947DA #DAA347 #7FDA47
monochromatic
#291C8B #3926BE #5947DA #877AE4 #B5ADEE

Accessibility & contrast

On white

6.29
#5947DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5947DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947DA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947DA#FFFFFF#000000##FFFFFF
##5947DA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065DE
Deuteranopia (green-blind)
#005BD7
Tritanopia (blue-blind)
#006D8B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5947da;
/* rgb */ color: rgb(89, 71, 218);
/* oklch */ color: oklch(50.9% 0.214 281.2);
Tailwind
colors: {
  custom: {
    50: '#957ce7',
    500: '#5947da',
    950: '#000000',
  },
}
SCSS
$custom: #5947da;
$custom-light: #957ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#5947da",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 218
  },
  "hsl": {
    "h": 247.347,
    "s": 66.516,
    "l": 56.667
  },
  "oklch": {
    "l": 0.50945,
    "c": 0.21375,
    "h": 281.2
  },
  "luminance": 0.11692
}

Semantic roles & 50–950 ramp

primary
#5947DA
secondary
#D5DCA0
accent
#E93ED4
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5947DA

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

Preview Lab → · Contrast checker → · Palette generator →

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