#5947CC#5947CC

#5947CC is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.8% C 0.196 H 282.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5947CC
RGBrgb(89, 71, 204)
HSLhsl(248, 57%, 54%)
HSVhsv(248, 65%, 80%)
CMYKcmyk(56.4%, 65.2%, 0%, 20%)
CIE-LABlab(39.56, 43.70, -66.63)
CIE-LCHlch(39.56, 79.68, 303.26°)
OKLaboklab(49.75% 0.0433 -0.1916)
OKLCHoklch(49.75% 0.196 282.7)
XYZxyz(17.2688, 10.9889, 58.3261)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947CC #BACC47
analogous
#4778CC #5947CC #9C47CC
triadic
#5947CC #CC5947 #47CC59
tetradic
#5947CC #CC4778 #BACC47 #47CC9C
square
#5947CC #CC4778 #BACC47 #47CC9C
split-complementary
#5947CC #CC9C47 #78CC47
monochromatic
#2D2177 #3F2EA7 #5947CC #8477D9 #AFA7E7

Accessibility & contrast

On white

6.57
#5947CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5947CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947CC
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947CC#FFFFFF#000000##FFFFFF
##5947CC1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#0059C9
Tritanopia (blue-blind)
#1E6983
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5947cc;
/* rgb */ color: rgb(89, 71, 204);
/* oklch */ color: oklch(49.8% 0.196 282.7);
Tailwind
colors: {
  custom: {
    50: '#937bdd',
    500: '#5947cc',
    950: '#000000',
  },
}
SCSS
$custom: #5947cc;
$custom-light: #937bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5947cc",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 204
  },
  "hsl": {
    "h": 248.12,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.4975,
    "c": 0.19643,
    "h": 282.7
  },
  "luminance": 0.1099
}

Semantic roles & 50–950 ramp

primary
#5947CC
secondary
#CCD49B
accent
#E048CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5947CC

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

Preview Lab → · Contrast checker → · Palette generator →

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