#5947DD#5947DD

#5947DD is a mid, highly saturated blue. Relative luminance 0.119; OKLCH L 51.2% C 0.217 H 280.9°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5947DD
RGBrgb(89, 71, 221)
HSLhsl(247, 69%, 57%)
HSVhsv(247, 68%, 87%)
CMYKcmyk(59.7%, 67.9%, 0%, 13.3%)
CIE-LABlab(40.98, 48.91, -74.10)
CIE-LCHlch(40.98, 88.78, 303.43°)
OKLaboklab(51.21% 0.0411 -0.2135)
OKLCHoklch(51.21% 0.217 280.9)
XYZxyz(19.4201, 11.8494, 69.6564)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947DD #CBDD47
analogous
#4780DD #5947DD #A447DD
triadic
#5947DD #DD5947 #47DD59
tetradic
#5947DD #DD4780 #CBDD47 #47DDA4
square
#5947DD #DD4780 #CBDD47 #47DDA4
split-complementary
#5947DD #DDA447 #80DD47
monochromatic
#281A8F #3724C3 #5947DD #887BE7 #B6AEF0

Accessibility & contrast

On white

6.23
#5947DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5947DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947DD
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947DD#FFFFFF#000000##FFFFFF
##5947DD1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E2
Deuteranopia (green-blind)
#005BDA
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5947dd;
/* rgb */ color: rgb(89, 71, 221);
/* oklch */ color: oklch(51.2% 0.217 280.9);
Tailwind
colors: {
  custom: {
    50: '#967ce9',
    500: '#5947dd',
    950: '#000000',
  },
}
SCSS
$custom: #5947dd;
$custom-light: #967ce9;
$custom-dark: #000000;
JSON
{
  "hex": "#5947dd",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 221
  },
  "hsl": {
    "h": 247.2,
    "s": 68.807,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51206,
    "c": 0.21741,
    "h": 280.9
  },
  "luminance": 0.11851
}

Semantic roles & 50–950 ramp

primary
#5947DD
secondary
#D7DEA2
accent
#EC3CD7
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0916
muted
#7E7B84

Preview Lab

Preview with #5947DD

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

Preview Lab → · Contrast checker → · Palette generator →

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