#5949CD#5949CD

#5949CD is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.1% C 0.195 H 282.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5949CD
RGBrgb(89, 73, 205)
HSLhsl(247, 57%, 55%)
HSVhsv(247, 64%, 80%)
CMYKcmyk(56.6%, 64.4%, 0%, 19.6%)
CIE-LABlab(40.07, 42.85, -66.38)
CIE-LCHlch(40.07, 79.01, 302.84°)
OKLaboklab(50.15% 0.0414 -0.1908)
OKLCHoklch(50.15% 0.195 282.2)
XYZxyz(17.5184, 11.2956, 59.0029)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949CD #BDCD49
analogous
#497BCD #5949CD #9B49CD
triadic
#5949CD #CD5949 #49CD59
tetradic
#5949CD #CD497B #BDCD49 #49CD9B
square
#5949CD #CD497B #BDCD49 #49CD9B
split-complementary
#5949CD #CD9B49 #7BCD49
monochromatic
#2C227A #3E2FAA #5949CD #8579DA #B1A9E7

Accessibility & contrast

On white

6.44
#5949CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5949CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949CD
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949CD#FFFFFF#000000##FFFFFF
##5949CD1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#1B6A84
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5949cd;
/* rgb */ color: rgb(89, 73, 205);
/* oklch */ color: oklch(50.1% 0.195 282.2);
Tailwind
colors: {
  custom: {
    50: '#937ddd',
    500: '#5949cd',
    950: '#000000',
  },
}
SCSS
$custom: #5949cd;
$custom-light: #937ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5949cd",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 247.273,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50146,
    "c": 0.19528,
    "h": 282.2
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#5949CD
secondary
#CED59D
accent
#E048CE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5949CD

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

Preview Lab → · Contrast checker → · Palette generator →

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