#5949AF#5949AF

#5949AF is a mid, vivid blue. Relative luminance 0.100; OKLCH L 47.8% C 0.156 H 286.1°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#5949AF
RGBrgb(89, 73, 175)
HSLhsl(249, 41%, 49%)
HSVhsv(249, 58%, 69%)
CMYKcmyk(49.1%, 58.3%, 0%, 31.4%)
CIE-LABlab(37.81, 33.60, -52.49)
CIE-LCHlch(37.81, 62.32, 302.62°)
OKLaboklab(47.78% 0.0432 -0.15)
OKLCHoklch(47.78% 0.156 286.1)
XYZxyz(14.2380, 9.9834, 41.7259)
Luminance0.0998 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949AF #9FAF49
analogous
#496CAF #5949AF #8C49AF
triadic
#5949AF #AF5949 #49AF59
tetradic
#5949AF #AF496C #9FAF49 #49AF8C
square
#5949AF #AF496C #9FAF49 #49AF8C
split-complementary
#5949AF #AF8C49 #6CAF49
monochromatic
#2D2559 #433784 #5949AF #7E71C4 #A59CD6

Accessibility & contrast

On white

7.01
#5949AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#5949AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949AF
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949AF#FFFFFF#000000##FFFFFF
##5949AF1.007.013.007.01
#FFFFFF7.011.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CB2
Deuteranopia (green-blind)
#0056AD
Tritanopia (blue-blind)
#3B6075
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5949af;
/* rgb */ color: rgb(89, 73, 175);
/* oklch */ color: oklch(47.8% 0.156 286.1);
Tailwind
colors: {
  custom: {
    50: '#8e7cc8',
    500: '#5949af',
    950: '#000000',
  },
}
SCSS
$custom: #5949af;
$custom-light: #8e7cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#5949af",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 175
  },
  "hsl": {
    "h": 249.412,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.47781,
    "c": 0.1561,
    "h": 286.1
  },
  "luminance": 0.09984
}

Semantic roles & 50–950 ramp

primary
#5949AF
secondary
#BBC291
accent
#D157BE
background
#F9F7FC
surface
#F1EEF8
border
#CBC9D1
text
#0D0913
muted
#7E7B82

Preview Lab

Preview with #5949AF

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

Preview Lab → · Contrast checker → · Palette generator →

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