#5947D8#5947D8

#5947D8 is a mid, highly saturated blue. Relative luminance 0.116; OKLCH L 50.8% C 0.211 H 281.4°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5947D8
RGBrgb(89, 71, 216)
HSLhsl(247, 65%, 56%)
HSVhsv(247, 67%, 85%)
CMYKcmyk(58.8%, 67.1%, 0%, 15.3%)
CIE-LABlab(40.55, 47.38, -71.93)
CIE-LCHlch(40.55, 86.13, 303.37°)
OKLaboklab(50.77% 0.0418 -0.2071)
OKLCHoklch(50.77% 0.211 281.4)
XYZxyz(18.7639, 11.5869, 66.2002)
Luminance0.1159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947D8 #C6D847
analogous
#477ED8 #5947D8 #A247D8
triadic
#5947D8 #D85947 #47D859
tetradic
#5947D8 #D8477E #C6D847 #47D8A2
square
#5947D8 #D8477E #C6D847 #47D8A2
split-complementary
#5947D8 #D8A247 #7ED847
monochromatic
#2A1D88 #3A27BA #5947D8 #8779E3 #B4ACED

Accessibility & contrast

On white

6.33
#5947D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5947D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947D8
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947D8#FFFFFF#000000##FFFFFF
##5947D81.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5947d8;
/* rgb */ color: rgb(89, 71, 216);
/* oklch */ color: oklch(50.8% 0.211 281.4);
Tailwind
colors: {
  custom: {
    50: '#957ce5',
    500: '#5947d8',
    950: '#000000',
  },
}
SCSS
$custom: #5947d8;
$custom-light: #957ce5;
$custom-dark: #000000;
JSON
{
  "hex": "#5947d8",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 216
  },
  "hsl": {
    "h": 247.448,
    "s": 65.022,
    "l": 56.275
  },
  "oklch": {
    "l": 0.50771,
    "c": 0.21131,
    "h": 281.4
  },
  "luminance": 0.11588
}

Semantic roles & 50–950 ramp

primary
#5947D8
secondary
#D4DBA0
accent
#E840D3
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5947D8

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

Preview Lab → · Contrast checker → · Palette generator →

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