#5949CA#5949CA

#5949CA is a mid, vivid blue. Relative luminance 0.112; OKLCH L 49.9% C 0.191 H 282.6°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5949CA
RGBrgb(89, 73, 202)
HSLhsl(247, 55%, 54%)
HSVhsv(247, 64%, 79%)
CMYKcmyk(55.9%, 63.9%, 0%, 20.8%)
CIE-LABlab(39.84, 41.92, -65.03)
CIE-LCHlch(39.84, 77.37, 302.81°)
OKLaboklab(49.9% 0.0417 -0.1869)
OKLCHoklch(49.9% 0.191 282.6)
XYZxyz(17.1598, 11.1521, 57.1140)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949CA #BACA49
analogous
#497ACA #5949CA #9A49CA
triadic
#5949CA #CA5949 #49CA59
tetradic
#5949CA #CA497A #BACA49 #49CA9A
square
#5949CA #CA497A #BACA49 #49CA9A
split-complementary
#5949CA #CA9A49 #7ACA49
monochromatic
#2D2276 #3F30A6 #5949CA #8478D8 #AFA8E6

Accessibility & contrast

On white

6.50
#5949CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5949CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949CA
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949CA#FFFFFF#000000##FFFFFF
##5949CA1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#206983
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5949ca;
/* rgb */ color: rgb(89, 73, 202);
/* oklch */ color: oklch(49.9% 0.191 282.6);
Tailwind
colors: {
  custom: {
    50: '#927ddb',
    500: '#5949ca',
    950: '#000000',
  },
}
SCSS
$custom: #5949ca;
$custom-light: #927ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5949ca",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 247.442,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.49899,
    "c": 0.19148,
    "h": 282.6
  },
  "luminance": 0.11153
}

Semantic roles & 50–950 ramp

primary
#5949CA
secondary
#CCD39C
accent
#DE4ACC
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5949CA

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

Preview Lab → · Contrast checker → · Palette generator →

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