#5947EC#5947EC

#5947EC is a mid, highly saturated blue. Relative luminance 0.127; OKLCH L 52.5% C 0.235 H 279.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5947EC
RGBrgb(89, 71, 236)
HSLhsl(247, 81%, 60%)
HSVhsv(247, 70%, 93%)
CMYKcmyk(62.3%, 69.9%, 0%, 7.5%)
CIE-LABlab(42.28, 53.47, -80.47)
CIE-LCHlch(42.28, 96.61, 303.60°)
OKLaboklab(52.54% 0.0387 -0.2321)
OKLCHoklch(52.54% 0.235 279.5)
XYZxyz(21.5086, 12.6848, 80.6556)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947EC #DAEC47
analogous
#4788EC #5947EC #AB47EC
triadic
#5947EC #EC5947 #47EC59
tetradic
#5947EC #EC4788 #DAEC47 #47ECAB
square
#5947EC #EC4788 #DAEC47 #47ECAB
split-complementary
#5947EC #ECAB47 #88EC47
monochromatic
#2211A7 #2D17DF #5947EC #8B7EF2 #BDB6F7

Accessibility & contrast

On white

5.94
#5947EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5947EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947EC
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947EC#FFFFFF#000000##FFFFFF
##5947EC1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AF1
Deuteranopia (green-blind)
#005DE9
Tritanopia (blue-blind)
#007495
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5947ec;
/* rgb */ color: rgb(89, 71, 236);
/* oklch */ color: oklch(52.5% 0.235 279.5);
Tailwind
colors: {
  custom: {
    50: '#987cf3',
    500: '#5947ec',
    950: '#000000',
  },
}
SCSS
$custom: #5947ec;
$custom-light: #987cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#5947ec",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 236
  },
  "hsl": {
    "h": 246.545,
    "s": 81.281,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52544,
    "c": 0.23535,
    "h": 279.5
  },
  "luminance": 0.12686
}

Semantic roles & 50–950 ramp

primary
#5947EC
secondary
#E0E7A8
accent
#DE08C6
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5947EC

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

Preview Lab → · Contrast checker → · Palette generator →

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