#5947D1#5947D1

#5947D1 is a mid, highly saturated blue. Relative luminance 0.112; OKLCH L 50.2% C 0.203 H 282.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#5947D1
RGBrgb(89, 71, 209)
HSLhsl(248, 60%, 55%)
HSVhsv(248, 66%, 82%)
CMYKcmyk(57.4%, 66%, 0%, 18%)
CIE-LABlab(39.97, 45.23, -68.86)
CIE-LCHlch(39.97, 82.39, 303.30°)
OKLaboklab(50.17% 0.0427 -0.1981)
OKLCHoklch(50.17% 0.203 282.2)
XYZxyz(17.8781, 11.2326, 61.5353)
Luminance0.1123 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947D1 #BFD147
analogous
#477AD1 #5947D1 #9E47D1
triadic
#5947D1 #D15947 #47D159
tetradic
#5947D1 #D1477A #BFD147 #47D19E
square
#5947D1 #D1477A #BFD147 #47D19E
split-complementary
#5947D1 #D19E47 #7AD147
monochromatic
#2C207E #3D2CAF #5947D1 #8578DD #B1A9E9

Accessibility & contrast

On white

6.47
#5947D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5947D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947D1
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947D1#FFFFFF#000000##FFFFFF
##5947D11.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D5
Deuteranopia (green-blind)
#0059CE
Tritanopia (blue-blind)
#136A86
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5947d1;
/* rgb */ color: rgb(89, 71, 209);
/* oklch */ color: oklch(50.2% 0.203 282.2);
Tailwind
colors: {
  custom: {
    50: '#947ce0',
    500: '#5947d1',
    950: '#000000',
  },
}
SCSS
$custom: #5947d1;
$custom-light: #947ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#5947d1",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 209
  },
  "hsl": {
    "h": 247.826,
    "s": 60,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50171,
    "c": 0.20268,
    "h": 282.2
  },
  "luminance": 0.11234
}

Semantic roles & 50–950 ramp

primary
#5947D1
secondary
#CFD79D
accent
#E345CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5947D1

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

Preview Lab → · Contrast checker → · Palette generator →

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