#5947DC#5947DC

#5947DC is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.216 H 281.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5947DC
RGBrgb(89, 71, 220)
HSLhsl(247, 68%, 57%)
HSVhsv(247, 68%, 86%)
CMYKcmyk(59.5%, 67.7%, 0%, 13.7%)
CIE-LABlab(40.89, 48.60, -73.67)
CIE-LCHlch(40.89, 88.25, 303.42°)
OKLaboklab(51.12% 0.0412 -0.2122)
OKLCHoklch(51.12% 0.216 281)
XYZxyz(19.2873, 11.7963, 68.9568)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947DC #CADC47
analogous
#4780DC #5947DC #A347DC
triadic
#5947DC #DC5947 #47DC59
tetradic
#5947DC #DC4780 #CADC47 #47DCA3
square
#5947DC #DC4780 #CADC47 #47DCA3
split-complementary
#5947DC #DCA347 #80DC47
monochromatic
#291B8E #3825C1 #5947DC #877AE6 #B6AEF0

Accessibility & contrast

On white

6.25
#5947DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5947DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947DC
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947DC#FFFFFF#000000##FFFFFF
##5947DC1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E1
Deuteranopia (green-blind)
#005BD9
Tritanopia (blue-blind)
#006E8C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5947dc;
/* rgb */ color: rgb(89, 71, 220);
/* oklch */ color: oklch(51.1% 0.216 281.0);
Tailwind
colors: {
  custom: {
    50: '#957ce8',
    500: '#5947dc',
    950: '#000000',
  },
}
SCSS
$custom: #5947dc;
$custom-light: #957ce8;
$custom-dark: #000000;
JSON
{
  "hex": "#5947dc",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 220
  },
  "hsl": {
    "h": 247.248,
    "s": 68.037,
    "l": 57.059
  },
  "oklch": {
    "l": 0.51119,
    "c": 0.21619,
    "h": 281
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#5947DC
secondary
#D6DEA1
accent
#EB3DD6
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5947DC

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

Preview Lab → · Contrast checker → · Palette generator →

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