#5947D2#5947D2

#5947D2 is a mid, highly saturated blue. Relative luminance 0.113; OKLCH L 50.3% C 0.204 H 282.1°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#5947D2
RGBrgb(89, 71, 210)
HSLhsl(248, 61%, 55%)
HSVhsv(248, 66%, 82%)
CMYKcmyk(57.6%, 66.2%, 0%, 17.6%)
CIE-LABlab(40.05, 45.54, -69.30)
CIE-LCHlch(40.05, 82.92, 303.31°)
OKLaboklab(50.26% 0.0426 -0.1994)
OKLCHoklch(50.26% 0.204 282.1)
XYZxyz(18.0023, 11.2823, 62.1893)
Luminance0.1128 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947D2 #C0D247
analogous
#477AD2 #5947D2 #9F47D2
triadic
#5947D2 #D25947 #47D259
tetradic
#5947D2 #D2477A #C0D247 #47D29F
square
#5947D2 #D2477A #C0D247 #47D29F
split-complementary
#5947D2 #D29F47 #7AD247
monochromatic
#2C1F7F #3C2BB1 #5947D2 #8578DE #B2A9EA

Accessibility & contrast

On white

6.45
#5947D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5947D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947D2
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947D2#FFFFFF#000000##FFFFFF
##5947D21.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#0059CF
Tritanopia (blue-blind)
#106B86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5947d2;
/* rgb */ color: rgb(89, 71, 210);
/* oklch */ color: oklch(50.3% 0.204 282.1);
Tailwind
colors: {
  custom: {
    50: '#947ce1',
    500: '#5947d2',
    950: '#000000',
  },
}
SCSS
$custom: #5947d2;
$custom-light: #947ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#5947d2",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 247.77,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.50256,
    "c": 0.20391,
    "h": 282.1
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#5947D2
secondary
#D0D89D
accent
#E444CF
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5947D2

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

Preview Lab → · Contrast checker → · Palette generator →

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