#5947E1#5947E1

#5947E1 is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.6% C 0.222 H 280.5°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5947E1
RGBrgb(89, 71, 225)
HSLhsl(247, 72%, 58%)
HSVhsv(247, 68%, 88%)
CMYKcmyk(60.4%, 68.4%, 0%, 11.8%)
CIE-LABlab(41.32, 50.13, -75.82)
CIE-LCHlch(41.32, 90.89, 303.47°)
OKLaboklab(51.56% 0.0405 -0.2185)
OKLCHoklch(51.56% 0.222 280.5)
XYZxyz(19.9594, 12.0651, 72.4966)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947E1 #CFE147
analogous
#4782E1 #5947E1 #A647E1
triadic
#5947E1 #E15947 #47E159
tetradic
#5947E1 #E14782 #CFE147 #47E1A6
square
#5947E1 #E14782 #CFE147 #47E1A6
split-complementary
#5947E1 #E1A647 #82E147
monochromatic
#271895 #3521CA #5947E1 #887CEA #B8B0F2

Accessibility & contrast

On white

6.15
#5947E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5947E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947E1
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947E1#FFFFFF#000000##FFFFFF
##5947E11.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E6
Deuteranopia (green-blind)
#005CDE
Tritanopia (blue-blind)
#00708F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5947e1;
/* rgb */ color: rgb(89, 71, 225);
/* oklch */ color: oklch(51.6% 0.222 280.5);
Tailwind
colors: {
  custom: {
    50: '#967cec',
    500: '#5947e1',
    950: '#000000',
  },
}
SCSS
$custom: #5947e1;
$custom-light: #967cec;
$custom-dark: #000000;
JSON
{
  "hex": "#5947e1",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 225
  },
  "hsl": {
    "h": 247.013,
    "s": 71.963,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51559,
    "c": 0.22224,
    "h": 280.5
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#5947E1
secondary
#D9E1A3
accent
#EF39D9
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5947E1

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

Preview Lab → · Contrast checker → · Palette generator →

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