#5949C7#5949C7

#5949C7 is a mid, vivid blue. Relative luminance 0.110; OKLCH L 49.7% C 0.188 H 282.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5949C7
RGBrgb(89, 73, 199)
HSLhsl(248, 53%, 53%)
HSVhsv(248, 63%, 78%)
CMYKcmyk(55.3%, 63.3%, 0%, 22%)
CIE-LABlab(39.60, 40.99, -63.67)
CIE-LCHlch(39.60, 75.73, 302.78°)
OKLaboklab(49.65% 0.042 -0.1829)
OKLCHoklch(49.65% 0.188 282.9)
XYZxyz(16.8080, 11.0114, 55.2615)
Luminance0.1101 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949C7 #B7C749
analogous
#4978C7 #5949C7 #9849C7
triadic
#5949C7 #C75949 #49C759
tetradic
#5949C7 #C74978 #B7C749 #49C798
square
#5949C7 #C74978 #B7C749 #49C798
split-complementary
#5949C7 #C79849 #78C749
monochromatic
#2D2372 #4032A1 #5949C7 #8478D5 #AEA7E4

Accessibility & contrast

On white

6.56
#5949C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5949C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949C7
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949C7#FFFFFF#000000##FFFFFF
##5949C71.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CB
Deuteranopia (green-blind)
#0059C4
Tritanopia (blue-blind)
#256881
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5949c7;
/* rgb */ color: rgb(89, 73, 199);
/* oklch */ color: oklch(49.7% 0.188 282.9);
Tailwind
colors: {
  custom: {
    50: '#927dd9',
    500: '#5949c7',
    950: '#000000',
  },
}
SCSS
$custom: #5949c7;
$custom-light: #927dd9;
$custom-dark: #000000;
JSON
{
  "hex": "#5949c7",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 199
  },
  "hsl": {
    "h": 247.619,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.49653,
    "c": 0.18765,
    "h": 282.9
  },
  "luminance": 0.11012
}

Semantic roles & 50–950 ramp

primary
#5949C7
secondary
#CAD19B
accent
#DC4BCA
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0915
muted
#7E7B83

Preview Lab

Preview with #5949C7

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

Preview Lab → · Contrast checker → · Palette generator →

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