#5949D8#5949D8

#5949D8 is a mid, highly saturated blue. Relative luminance 0.118; OKLCH L 51.1% C 0.209 H 281.1°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#5949D8
RGBrgb(89, 73, 216)
HSLhsl(247, 65%, 57%)
HSVhsv(247, 66%, 85%)
CMYKcmyk(58.8%, 66.2%, 0%, 15.3%)
CIE-LABlab(40.97, 46.25, -71.25)
CIE-LCHlch(40.97, 84.94, 302.99°)
OKLaboklab(51.07% 0.0402 -0.2051)
OKLCHoklch(51.07% 0.209 281.1)
XYZxyz(18.8931, 11.8455, 66.2433)
Luminance0.1185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949D8 #C8D849
analogous
#4981D8 #5949D8 #A149D8
triadic
#5949D8 #D85949 #49D859
tetradic
#5949D8 #D84981 #C8D849 #49D8A1
square
#5949D8 #D84981 #C8D849 #49D8A1
split-complementary
#5949D8 #D8A149 #81D849
monochromatic
#291D89 #3928BC #5949D8 #877BE3 #B5AEEE

Accessibility & contrast

On white

6.23
#5949D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#5949D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949D8
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949D8#FFFFFF#000000##FFFFFF
##5949D81.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066DC
Deuteranopia (green-blind)
#005BD5
Tritanopia (blue-blind)
#006E8A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5949d8;
/* rgb */ color: rgb(89, 73, 216);
/* oklch */ color: oklch(51.1% 0.209 281.1);
Tailwind
colors: {
  custom: {
    50: '#957de5',
    500: '#5949d8',
    950: '#000000',
  },
}
SCSS
$custom: #5949d8;
$custom-light: #957de5;
$custom-dark: #000000;
JSON
{
  "hex": "#5949d8",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 216
  },
  "hsl": {
    "h": 246.713,
    "s": 64.706,
    "l": 56.667
  },
  "oklch": {
    "l": 0.51072,
    "c": 0.20902,
    "h": 281.1
  },
  "luminance": 0.11847
}

Semantic roles & 50–950 ramp

primary
#5949D8
secondary
#D5DCA1
accent
#E840D5
background
#F9F7FE
surface
#F2EEFC
border
#CCC9D5
text
#0E0A16
muted
#7E7C84

Preview Lab

Preview with #5949D8

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

Preview Lab → · Contrast checker → · Palette generator →

#5949D8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva