#5947CD#5947CD

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

Color values

HEX#5947CD
RGBrgb(89, 71, 205)
HSLhsl(248, 57%, 54%)
HSVhsv(248, 65%, 80%)
CMYKcmyk(56.6%, 65.4%, 0%, 19.6%)
CIE-LABlab(39.64, 44.01, -67.08)
CIE-LCHlch(39.64, 80.23, 303.27°)
OKLaboklab(49.83% 0.0432 -0.1929)
OKLCHoklch(49.83% 0.198 282.6)
XYZxyz(17.3891, 11.0370, 58.9598)
Luminance0.1104 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947CD #BBCD47
analogous
#4778CD #5947CD #9C47CD
triadic
#5947CD #CD5947 #47CD59
tetradic
#5947CD #CD4778 #BBCD47 #47CD9C
square
#5947CD #CD4778 #BBCD47 #47CD9C
split-complementary
#5947CD #CD9C47 #78CD47
monochromatic
#2D2179 #3E2EA9 #5947CD #8477DA #B0A7E7

Accessibility & contrast

On white

6.55
#5947CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5947CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947CD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947CD#FFFFFF#000000##FFFFFF
##5947CD1.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#1C6984
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5947cd;
/* rgb */ color: rgb(89, 71, 205);
/* oklch */ color: oklch(49.8% 0.198 282.6);
Tailwind
colors: {
  custom: {
    50: '#937bdd',
    500: '#5947cd',
    950: '#000000',
  },
}
SCSS
$custom: #5947cd;
$custom-light: #937bdd;
$custom-dark: #000000;
JSON
{
  "hex": "#5947cd",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 205
  },
  "hsl": {
    "h": 248.06,
    "s": 57.265,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.19768,
    "h": 282.6
  },
  "luminance": 0.11038
}

Semantic roles & 50–950 ramp

primary
#5947CD
secondary
#CDD49B
accent
#E147CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5947CD

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

Preview Lab → · Contrast checker → · Palette generator →

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