#5947CE#5947CE

#5947CE is a mid, vivid blue. Relative luminance 0.111; OKLCH L 49.9% C 0.199 H 282.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#5947CE
RGBrgb(89, 71, 206)
HSLhsl(248, 58%, 54%)
HSVhsv(248, 66%, 81%)
CMYKcmyk(56.8%, 65.5%, 0%, 19.2%)
CIE-LABlab(39.72, 44.31, -67.53)
CIE-LCHlch(39.72, 80.77, 303.28°)
OKLaboklab(49.92% 0.0431 -0.1942)
OKLCHoklch(49.92% 0.199 282.5)
XYZxyz(17.5102, 11.0854, 59.5976)
Luminance0.1109 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947CE #BCCE47
analogous
#4779CE #5947CE #9D47CE
triadic
#5947CE #CE5947 #47CE59
tetradic
#5947CE #CE4779 #BCCE47 #47CE9D
square
#5947CE #CE4779 #BCCE47 #47CE9D
split-complementary
#5947CE #CE9D47 #79CE47
monochromatic
#2C217A #3E2DAA #5947CE #8577DB #B0A8E8

Accessibility & contrast

On white

6.53
#5947CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5947CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947CE
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947CE#FFFFFF#000000##FFFFFF
##5947CE1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D2
Deuteranopia (green-blind)
#0059CB
Tritanopia (blue-blind)
#1A6984
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5947ce;
/* rgb */ color: rgb(89, 71, 206);
/* oklch */ color: oklch(49.9% 0.199 282.5);
Tailwind
colors: {
  custom: {
    50: '#937bde',
    500: '#5947ce',
    950: '#000000',
  },
}
SCSS
$custom: #5947ce;
$custom-light: #937bde;
$custom-dark: #000000;
JSON
{
  "hex": "#5947ce",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 206
  },
  "hsl": {
    "h": 248,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.49918,
    "c": 0.19893,
    "h": 282.5
  },
  "luminance": 0.11087
}

Semantic roles & 50–950 ramp

primary
#5947CE
secondary
#CDD59C
accent
#E147CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5947CE

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

Preview Lab → · Contrast checker → · Palette generator →

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