#5949AC#5949AC

#5949AC is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.6% C 0.152 H 286.5°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5949AC
RGBrgb(89, 73, 172)
HSLhsl(250, 40%, 48%)
HSVhsv(250, 58%, 67%)
CMYKcmyk(48.3%, 57.6%, 0%, 32.5%)
CIE-LABlab(37.60, 32.68, -51.05)
CIE-LCHlch(37.60, 60.61, 302.62°)
OKLaboklab(47.56% 0.0432 -0.1458)
OKLCHoklch(47.56% 0.152 286.5)
XYZxyz(13.9466, 9.8669, 40.1914)
Luminance0.0987 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949AC #9CAC49
analogous
#496AAC #5949AC #8A49AC
triadic
#5949AC #AC5949 #49AC59
tetradic
#5949AC #AC496A #9CAC49 #49AC8A
square
#5949AC #AC496A #9CAC49 #49AC8A
split-complementary
#5949AC #AC8A49 #6AAC49
monochromatic
#2D2556 #433781 #5949AC #7D70C2 #A49BD5

Accessibility & contrast

On white

7.06
#5949AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#5949AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5949AC
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949AC#FFFFFF#000000##FFFFFF
##5949AC1.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#035BAF
Deuteranopia (green-blind)
#0056AA
Tritanopia (blue-blind)
#3D5F73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5949ac;
/* rgb */ color: rgb(89, 73, 172);
/* oklch */ color: oklch(47.6% 0.152 286.5);
Tailwind
colors: {
  custom: {
    50: '#8e7cc5',
    500: '#5949ac',
    950: '#000000',
  },
}
SCSS
$custom: #5949ac;
$custom-light: #8e7cc5;
$custom-dark: #000000;
JSON
{
  "hex": "#5949ac",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 172
  },
  "hsl": {
    "h": 249.697,
    "s": 40.408,
    "l": 48.039
  },
  "oklch": {
    "l": 0.47559,
    "c": 0.15204,
    "h": 286.5
  },
  "luminance": 0.09867
}

Semantic roles & 50–950 ramp

primary
#5949AC
secondary
#B9C190
accent
#D058BD
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5949AC

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

Preview Lab → · Contrast checker → · Palette generator →

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