#5947C2#5947C2

#5947C2 is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.9% C 0.184 H 284.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5947C2
RGBrgb(89, 71, 194)
HSLhsl(249, 50%, 52%)
HSVhsv(249, 63%, 76%)
CMYKcmyk(54.1%, 63.4%, 0%, 23.9%)
CIE-LABlab(38.77, 40.63, -62.12)
CIE-LCHlch(38.77, 74.22, 303.19°)
OKLaboklab(48.93% 0.0443 -0.1783)
OKLCHoklch(48.93% 0.184 284)
XYZxyz(16.1077, 10.5244, 52.2111)
Luminance0.1052 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947C2 #B0C247
analogous
#4773C2 #5947C2 #9647C2
triadic
#5947C2 #C25947 #47C259
tetradic
#5947C2 #C24773 #B0C247 #47C296
square
#5947C2 #C24773 #B0C247 #47C296
split-complementary
#5947C2 #C29647 #73C247
monochromatic
#2E246B #423399 #5947C2 #8275D1 #ACA3E0

Accessibility & contrast

On white

6.76
#5947C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5947C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947C2
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947C2#FFFFFF#000000##FFFFFF
##5947C21.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0057C0
Tritanopia (blue-blind)
#2B657E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5947c2;
/* rgb */ color: rgb(89, 71, 194);
/* oklch */ color: oklch(48.9% 0.184 284.0);
Tailwind
colors: {
  custom: {
    50: '#917bd5',
    500: '#5947c2',
    950: '#000000',
  },
}
SCSS
$custom: #5947c2;
$custom-light: #917bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#5947c2",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 194
  },
  "hsl": {
    "h": 248.78,
    "s": 50.204,
    "l": 51.961
  },
  "oklch": {
    "l": 0.48926,
    "c": 0.18375,
    "h": 284
  },
  "luminance": 0.10525
}

Semantic roles & 50–950 ramp

primary
#5947C2
secondary
#C5CD97
accent
#DA4EC5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0914
muted
#7E7B83

Preview Lab

Preview with #5947C2

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

Preview Lab → · Contrast checker → · Palette generator →

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