#5949EC#5949EC

#5949EC is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.8% C 0.233 H 279.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#5949EC
RGBrgb(89, 73, 236)
HSLhsl(246, 81%, 61%)
HSVhsv(246, 69%, 93%)
CMYKcmyk(62.3%, 69.1%, 0%, 7.5%)
CIE-LABlab(42.68, 52.38, -79.83)
CIE-LCHlch(42.68, 95.48, 303.27°)
OKLaboklab(52.83% 0.0373 -0.2303)
OKLCHoklch(52.83% 0.233 279.2)
XYZxyz(21.6379, 12.9434, 80.6987)
Luminance0.1295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949EC #DCEC49
analogous
#498AEC #5949EC #AB49EC
triadic
#5949EC #EC5949 #49EC59
tetradic
#5949EC #EC498A #DCEC49 #49ECAB
square
#5949EC #EC498A #DCEC49 #49ECAB
split-complementary
#5949EC #ECAB49 #8AEC49
monochromatic
#2012A9 #2B17E0 #5949EC #8C80F2 #BEB8F8

Accessibility & contrast

On white

5.85
#5949EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#5949EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949EC
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949EC#FFFFFF#000000##FFFFFF
##5949EC1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BF1
Deuteranopia (green-blind)
#005EE9
Tritanopia (blue-blind)
#007595
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5949ec;
/* rgb */ color: rgb(89, 73, 236);
/* oklch */ color: oklch(52.8% 0.233 279.2);
Tailwind
colors: {
  custom: {
    50: '#987ef3',
    500: '#5949ec',
    950: '#000000',
  },
}
SCSS
$custom: #5949ec;
$custom-light: #987ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#5949ec",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 236
  },
  "hsl": {
    "h": 245.89,
    "s": 81.095,
    "l": 60.588
  },
  "oklch": {
    "l": 0.52825,
    "c": 0.23327,
    "h": 279.2
  },
  "luminance": 0.12945
}

Semantic roles & 50–950 ramp

primary
#5949EC
secondary
#E1E7A9
accent
#DD08C9
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5949EC

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

Preview Lab → · Contrast checker → · Palette generator →

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