#5947C8#5947C8

#5947C8 is a mid, vivid blue. Relative luminance 0.108; OKLCH L 49.4% C 0.191 H 283.2°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5947C8
RGBrgb(89, 71, 200)
HSLhsl(248, 54%, 53%)
HSVhsv(248, 65%, 78%)
CMYKcmyk(55.5%, 64.5%, 0%, 21.6%)
CIE-LABlab(39.24, 42.47, -64.84)
CIE-LCHlch(39.24, 77.51, 303.23°)
OKLaboklab(49.42% 0.0438 -0.1863)
OKLCHoklch(49.42% 0.191 283.2)
XYZxyz(16.7952, 10.7994, 55.8319)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947C8 #B6C847
analogous
#4775C8 #5947C8 #9947C8
triadic
#5947C8 #C85947 #47C859
tetradic
#5947C8 #C84775 #B6C847 #47C899
square
#5947C8 #C84775 #B6C847 #47C899
split-complementary
#5947C8 #C89947 #75C847
monochromatic
#2D2272 #4030A2 #5947C8 #8476D6 #AEA5E4

Accessibility & contrast

On white

6.65
#5947C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#5947C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947C8
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947C8#FFFFFF#000000##FFFFFF
##5947C81.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#246781
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5947c8;
/* rgb */ color: rgb(89, 71, 200);
/* oklch */ color: oklch(49.4% 0.191 283.2);
Tailwind
colors: {
  custom: {
    50: '#927bda',
    500: '#5947c8',
    950: '#000000',
  },
}
SCSS
$custom: #5947c8;
$custom-light: #927bda;
$custom-dark: #000000;
JSON
{
  "hex": "#5947c8",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 200
  },
  "hsl": {
    "h": 248.372,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.49417,
    "c": 0.19139,
    "h": 283.2
  },
  "luminance": 0.108
}

Semantic roles & 50–950 ramp

primary
#5947C8
secondary
#C9D19A
accent
#DD4AC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5947C8

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

Preview Lab → · Contrast checker → · Palette generator →

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