#5949CC#5949CC

#5949CC is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.1% C 0.194 H 282.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5949CC
RGBrgb(89, 73, 204)
HSLhsl(247, 56%, 54%)
HSVhsv(247, 64%, 80%)
CMYKcmyk(56.4%, 64.2%, 0%, 20%)
CIE-LABlab(39.99, 42.54, -65.93)
CIE-LCHlch(39.99, 78.46, 302.83°)
OKLaboklab(50.06% 0.0415 -0.1895)
OKLCHoklch(50.06% 0.194 282.4)
XYZxyz(17.3981, 11.2475, 58.3692)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949CC #BCCC49
analogous
#497BCC #5949CC #9B49CC
triadic
#5949CC #CC5949 #49CC59
tetradic
#5949CC #CC497B #BCCC49 #49CC9B
square
#5949CC #CC497B #BCCC49 #49CC9B
split-complementary
#5949CC #CC9B49 #7BCC49
monochromatic
#2C2279 #3E2FA9 #5949CC #8579D9 #B0A9E7

Accessibility & contrast

On white

6.46
#5949CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5949CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949CC
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949CC#FFFFFF#000000##FFFFFF
##5949CC1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#005AC9
Tritanopia (blue-blind)
#1D6A84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5949cc;
/* rgb */ color: rgb(89, 73, 204);
/* oklch */ color: oklch(50.1% 0.194 282.4);
Tailwind
colors: {
  custom: {
    50: '#937ddd',
    500: '#5949cc',
    950: '#000000',
  },
}
SCSS
$custom: #5949cc;
$custom-light: #937ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5949cc",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 204
  },
  "hsl": {
    "h": 247.328,
    "s": 56.223,
    "l": 54.314
  },
  "oklch": {
    "l": 0.50063,
    "c": 0.19401,
    "h": 282.4
  },
  "luminance": 0.11249
}

Semantic roles & 50–950 ramp

primary
#5949CC
secondary
#CDD49D
accent
#E048CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5949CC

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

Preview Lab → · Contrast checker → · Palette generator →

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