#5949E1#5949E1

#5949E1 is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.9% C 0.220 H 280.2°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5949E1
RGBrgb(89, 73, 225)
HSLhsl(246, 72%, 58%)
HSVhsv(246, 68%, 88%)
CMYKcmyk(60.4%, 67.6%, 0%, 11.8%)
CIE-LABlab(41.73, 49.02, -75.15)
CIE-LCHlch(41.73, 89.72, 303.11°)
OKLaboklab(51.85% 0.039 -0.2166)
OKLCHoklch(51.85% 0.22 280.2)
XYZxyz(20.0887, 12.3237, 72.5397)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949E1 #D1E149
analogous
#4985E1 #5949E1 #A549E1
triadic
#5949E1 #E15949 #49E159
tetradic
#5949E1 #E14985 #D1E149 #49E1A5
square
#5949E1 #E14985 #D1E149 #49E1A5
split-complementary
#5949E1 #E1A549 #85E149
monochromatic
#261997 #3322CB #5949E1 #897EEA #B9B2F2

Accessibility & contrast

On white

6.06
#5949E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#5949E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949E1
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949E1#FFFFFF#000000##FFFFFF
##5949E11.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E6
Deuteranopia (green-blind)
#005DDE
Tritanopia (blue-blind)
#00718F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5949e1;
/* rgb */ color: rgb(89, 73, 225);
/* oklch */ color: oklch(51.9% 0.220 280.2);
Tailwind
colors: {
  custom: {
    50: '#967dec',
    500: '#5949e1',
    950: '#000000',
  },
}
SCSS
$custom: #5949e1;
$custom-light: #967dec;
$custom-dark: #000000;
JSON
{
  "hex": "#5949e1",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 225
  },
  "hsl": {
    "h": 246.316,
    "s": 71.698,
    "l": 58.431
  },
  "oklch": {
    "l": 0.51851,
    "c": 0.22004,
    "h": 280.2
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

primary
#5949E1
secondary
#DBE1A5
accent
#EE39DB
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5949E1

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

Preview Lab → · Contrast checker → · Palette generator →

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