#5949CB#5949CB

#5949CB is a mid, vivid blue. Relative luminance 0.112; OKLCH L 50.0% C 0.193 H 282.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5949CB
RGBrgb(89, 73, 203)
HSLhsl(247, 56%, 54%)
HSVhsv(247, 64%, 80%)
CMYKcmyk(56.2%, 64%, 0%, 20.4%)
CIE-LABlab(39.91, 42.23, -65.48)
CIE-LCHlch(39.91, 77.92, 302.82°)
OKLaboklab(49.98% 0.0416 -0.1882)
OKLCHoklch(49.98% 0.193 282.5)
XYZxyz(17.2785, 11.1996, 57.7396)
Luminance0.1120 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949CB #BBCB49
analogous
#497ACB #5949CB #9A49CB
triadic
#5949CB #CB5949 #49CB59
tetradic
#5949CB #CB497A #BBCB49 #49CB9A
square
#5949CB #CB497A #BBCB49 #49CB9A
split-complementary
#5949CB #CB9A49 #7ACB49
monochromatic
#2D2277 #3E30A7 #5949CB #8479D9 #B0A8E6

Accessibility & contrast

On white

6.48
#5949CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#5949CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949CB
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949CB#FFFFFF#000000##FFFFFF
##5949CB1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CF
Deuteranopia (green-blind)
#005AC8
Tritanopia (blue-blind)
#1F6983
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5949cb;
/* rgb */ color: rgb(89, 73, 203);
/* oklch */ color: oklch(50.0% 0.193 282.5);
Tailwind
colors: {
  custom: {
    50: '#927ddc',
    500: '#5949cb',
    950: '#000000',
  },
}
SCSS
$custom: #5949cb;
$custom-light: #927ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#5949cb",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 203
  },
  "hsl": {
    "h": 247.385,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.49981,
    "c": 0.19274,
    "h": 282.5
  },
  "luminance": 0.11201
}

Semantic roles & 50–950 ramp

primary
#5949CB
secondary
#CDD49C
accent
#DF49CC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5949CB

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

Preview Lab → · Contrast checker → · Palette generator →

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