#5947CF#5947CF

#5947CF is a mid, highly saturated blue. Relative luminance 0.111; OKLCH L 50.0% C 0.200 H 282.4°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#5947CF
RGBrgb(89, 71, 207)
HSLhsl(248, 59%, 55%)
HSVhsv(248, 66%, 81%)
CMYKcmyk(57%, 65.7%, 0%, 18.8%)
CIE-LABlab(39.81, 44.62, -67.97)
CIE-LCHlch(39.81, 81.31, 303.28°)
OKLaboklab(50% 0.043 -0.1955)
OKLCHoklch(50% 0.2 282.4)
XYZxyz(17.6321, 11.1342, 60.2394)
Luminance0.1114 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947CF #BDCF47
analogous
#4779CF #5947CF #9D47CF
triadic
#5947CF #CF5947 #47CF59
tetradic
#5947CF #CF4779 #BDCF47 #47CF9D
square
#5947CF #CF4779 #BDCF47 #47CF9D
split-complementary
#5947CF #CF9D47 #79CF47
monochromatic
#2C207B #3E2DAC #5947CF #8578DC #B1A8E8

Accessibility & contrast

On white

6.51
#5947CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5947CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947CF
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947CF#FFFFFF#000000##FFFFFF
##5947CF1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#0059CC
Tritanopia (blue-blind)
#186A85
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5947cf;
/* rgb */ color: rgb(89, 71, 207);
/* oklch */ color: oklch(50.0% 0.200 282.4);
Tailwind
colors: {
  custom: {
    50: '#937bdf',
    500: '#5947cf',
    950: '#000000',
  },
}
SCSS
$custom: #5947cf;
$custom-light: #937bdf;
$custom-dark: #000000;
JSON
{
  "hex": "#5947cf",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 207
  },
  "hsl": {
    "h": 247.941,
    "s": 58.621,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50002,
    "c": 0.20019,
    "h": 282.4
  },
  "luminance": 0.11135
}

Semantic roles & 50–950 ramp

primary
#5947CF
secondary
#CED69C
accent
#E246CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5947CF

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

Preview Lab → · Contrast checker → · Palette generator →

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