#5947E5#5947E5

#5947E5 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.227 H 280.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#5947E5
RGBrgb(89, 71, 229)
HSLhsl(247, 75%, 59%)
HSVhsv(247, 69%, 90%)
CMYKcmyk(61.1%, 69%, 0%, 10.2%)
CIE-LABlab(41.67, 51.34, -77.52)
CIE-LCHlch(41.67, 92.98, 303.52°)
OKLaboklab(51.91% 0.0398 -0.2235)
OKLCHoklch(51.91% 0.227 280.1)
XYZxyz(20.5114, 12.2859, 75.4041)
Luminance0.1229 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947E5 #D3E547
analogous
#4784E5 #5947E5 #A847E5
triadic
#5947E5 #E55947 #47E559
tetradic
#5947E5 #E54784 #D3E547 #47E5A8
square
#5947E5 #E54784 #D3E547 #47E5A8
split-complementary
#5947E5 #E5A847 #84E547
monochromatic
#25169C #321ED1 #5947E5 #897DED #BAB2F4

Accessibility & contrast

On white

6.07
#5947E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5947E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947E5
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947E5#FFFFFF#000000##FFFFFF
##5947E51.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EA
Deuteranopia (green-blind)
#005CE2
Tritanopia (blue-blind)
#007191
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5947e5;
/* rgb */ color: rgb(89, 71, 229);
/* oklch */ color: oklch(51.9% 0.227 280.1);
Tailwind
colors: {
  custom: {
    50: '#977cee',
    500: '#5947e5',
    950: '#000000',
  },
}
SCSS
$custom: #5947e5;
$custom-light: #977cee;
$custom-dark: #000000;
JSON
{
  "hex": "#5947e5",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 246.835,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.51914,
    "c": 0.22703,
    "h": 280.1
  },
  "luminance": 0.12287
}

Semantic roles & 50–950 ramp

primary
#5947E5
secondary
#DCE3A5
accent
#F236DC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5947E5

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

Preview Lab → · Contrast checker → · Palette generator →

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