#5947E4#5947E4

#5947E4 is a mid, highly saturated blue. Relative luminance 0.122; OKLCH L 51.8% C 0.226 H 280.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5947E4
RGBrgb(89, 71, 228)
HSLhsl(247, 74%, 59%)
HSVhsv(247, 69%, 89%)
CMYKcmyk(61%, 68.9%, 0%, 10.6%)
CIE-LABlab(41.58, 51.04, -77.10)
CIE-LCHlch(41.58, 92.46, 303.51°)
OKLaboklab(51.83% 0.04 -0.2223)
OKLCHoklch(51.83% 0.226 280.2)
XYZxyz(20.3722, 12.2302, 74.6709)
Luminance0.1223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5947E4 #D2E447
analogous
#4783E4 #5947E4 #A747E4
triadic
#5947E4 #E45947 #47E459
tetradic
#5947E4 #E44783 #D2E447 #47E4A7
square
#5947E4 #E44783 #D2E447 #47E4A7
split-complementary
#5947E4 #E4A747 #83E447
monochromatic
#26179A #331ECF #5947E4 #897CEC #B9B2F4

Accessibility & contrast

On white

6.09
#5947E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5947E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5947E4
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5947E4#FFFFFF#000000##FFFFFF
##5947E41.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E9
Deuteranopia (green-blind)
#005CE1
Tritanopia (blue-blind)
#007190
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5947e4;
/* rgb */ color: rgb(89, 71, 228);
/* oklch */ color: oklch(51.8% 0.226 280.2);
Tailwind
colors: {
  custom: {
    50: '#977cee',
    500: '#5947e4',
    950: '#000000',
  },
}
SCSS
$custom: #5947e4;
$custom-light: #977cee;
$custom-dark: #000000;
JSON
{
  "hex": "#5947e4",
  "rgb": {
    "r": 89,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 246.879,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.51825,
    "c": 0.22584,
    "h": 280.2
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#5947E4
secondary
#DBE2A4
accent
#F137DC
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5947E4

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

Preview Lab → · Contrast checker → · Palette generator →

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