#5947C5#5947C5

#5947C5 is a mid, vivid blue. Relative luminance 0.107; OKLCH L 49.2% C 0.188 H 283.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5947C5
RGBrgb(89, 71, 197)
HSLhsl(249, 52%, 53%)
HSVhsv(249, 64%, 77%)
CMYKcmyk(54.8%, 64%, 0%, 22.7%)
CIE-LABlab(39.00, 41.55, -63.48)
CIE-LCHlch(39.00, 75.87, 303.21°)
OKLaboklab(49.17% 0.0441 -0.1823)
OKLCHoklch(49.17% 0.188 283.6)
XYZxyz(16.4480, 10.6606, 54.0035)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947C5 #B3C547
analogous
#4774C5 #5947C5 #9847C5
triadic
#5947C5 #C55947 #47C559
tetradic
#5947C5 #C54774 #B3C547 #47C598
square
#5947C5 #C54774 #B3C547 #47C598
split-complementary
#5947C5 #C59847 #74C547
monochromatic
#2E236F #41329D #5947C5 #8376D4 #ADA4E2

Accessibility & contrast

On white

6.70
#5947C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5947C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947C5
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947C5#FFFFFF#000000##FFFFFF
##5947C51.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C9
Deuteranopia (green-blind)
#0058C2
Tritanopia (blue-blind)
#28667F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5947c5;
/* rgb */ color: rgb(89, 71, 197);
/* oklch */ color: oklch(49.2% 0.188 283.6);
Tailwind
colors: {
  custom: {
    50: '#927bd8',
    500: '#5947c5',
    950: '#000000',
  },
}
SCSS
$custom: #5947c5;
$custom-light: #927bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#5947c5",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 197
  },
  "hsl": {
    "h": 248.571,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.4917,
    "c": 0.18758,
    "h": 283.6
  },
  "luminance": 0.10662
}

Semantic roles & 50–950 ramp

primary
#5947C5
secondary
#C7CF99
accent
#DC4CC7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5947C5

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

Preview Lab → · Contrast checker → · Palette generator →

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