#5949AE#5949AE

#5949AE is a mid, vivid blue. Relative luminance 0.099; OKLCH L 47.7% C 0.155 H 286.2°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#5949AE
RGBrgb(89, 73, 174)
HSLhsl(250, 41%, 48%)
HSVhsv(250, 58%, 68%)
CMYKcmyk(48.9%, 58%, 0%, 31.8%)
CIE-LABlab(37.74, 33.29, -52.01)
CIE-LCHlch(37.74, 61.75, 302.62°)
OKLaboklab(47.71% 0.0432 -0.1486)
OKLCHoklch(47.71% 0.155 286.2)
XYZxyz(14.1401, 9.9443, 41.2106)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949AE #9EAE49
analogous
#496BAE #5949AE #8B49AE
triadic
#5949AE #AE5949 #49AE59
tetradic
#5949AE #AE496B #9EAE49 #49AE8B
square
#5949AE #AE496B #9EAE49 #49AE8B
split-complementary
#5949AE #AE8B49 #6BAE49
monochromatic
#2D2558 #433783 #5949AE #7E71C3 #A59CD5

Accessibility & contrast

On white

7.03
#5949AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5949AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5949AE
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949AE#FFFFFF#000000##FFFFFF
##5949AE1.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB1
Deuteranopia (green-blind)
#0056AC
Tritanopia (blue-blind)
#3C6074
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5949ae;
/* rgb */ color: rgb(89, 73, 174);
/* oklch */ color: oklch(47.7% 0.155 286.2);
Tailwind
colors: {
  custom: {
    50: '#8e7cc7',
    500: '#5949ae',
    950: '#000000',
  },
}
SCSS
$custom: #5949ae;
$custom-light: #8e7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#5949ae",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 174
  },
  "hsl": {
    "h": 249.505,
    "s": 40.891,
    "l": 48.431
  },
  "oklch": {
    "l": 0.47707,
    "c": 0.15475,
    "h": 286.2
  },
  "luminance": 0.09945
}

Semantic roles & 50–950 ramp

primary
#5949AE
secondary
#BAC291
accent
#D157BD
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5949AE

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

Preview Lab → · Contrast checker → · Palette generator →

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