#5947CA#5947CA

#5947CA is a mid, vivid blue. Relative luminance 0.109; OKLCH L 49.6% C 0.194 H 283.0°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#5947CA
RGBrgb(89, 71, 202)
HSLhsl(248, 55%, 54%)
HSVhsv(248, 65%, 79%)
CMYKcmyk(55.9%, 64.9%, 0%, 20.8%)
CIE-LABlab(39.40, 43.09, -65.74)
CIE-LCHlch(39.40, 78.60, 303.24°)
OKLaboklab(49.58% 0.0435 -0.189)
OKLCHoklch(49.58% 0.194 283)
XYZxyz(17.0305, 10.8935, 57.0709)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947CA #B8CA47
analogous
#4776CA #5947CA #9A47CA
triadic
#5947CA #CA5947 #47CA59
tetradic
#5947CA #CA4776 #B8CA47 #47CA9A
square
#5947CA #CA4776 #B8CA47 #47CA9A
split-complementary
#5947CA #CA9A47 #76CA47
monochromatic
#2D2275 #3F2FA4 #5947CA #8477D8 #AFA6E5

Accessibility & contrast

On white

6.61
#5947CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#5947CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947CA
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947CA#FFFFFF#000000##FFFFFF
##5947CA1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#216882
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5947ca;
/* rgb */ color: rgb(89, 71, 202);
/* oklch */ color: oklch(49.6% 0.194 283.0);
Tailwind
colors: {
  custom: {
    50: '#927bdb',
    500: '#5947ca',
    950: '#000000',
  },
}
SCSS
$custom: #5947ca;
$custom-light: #927bdb;
$custom-dark: #000000;
JSON
{
  "hex": "#5947ca",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 202
  },
  "hsl": {
    "h": 248.244,
    "s": 55.274,
    "l": 53.529
  },
  "oklch": {
    "l": 0.49583,
    "c": 0.19391,
    "h": 283
  },
  "luminance": 0.10895
}

Semantic roles & 50–950 ramp

primary
#5947CA
secondary
#CBD29A
accent
#DF49CA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5947CA

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

Preview Lab → · Contrast checker → · Palette generator →

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