#5949EE#5949EE

#5949EE is a mid, highly saturated blue. Relative luminance 0.131; OKLCH L 53.0% C 0.236 H 279.0°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5949EE
RGBrgb(89, 73, 238)
HSLhsl(246, 83%, 61%)
HSVhsv(246, 69%, 93%)
CMYKcmyk(62.6%, 69.3%, 0%, 6.7%)
CIE-LABlab(42.85, 52.99, -80.67)
CIE-LCHlch(42.85, 96.51, 303.30°)
OKLaboklab(53.01% 0.037 -0.2327)
OKLCHoklch(53.01% 0.236 279)
XYZxyz(21.9300, 13.0603, 82.2376)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949EE #DEEE49
analogous
#498BEE #5949EE #AB49EE
triadic
#5949EE #EE5949 #49EE59
tetradic
#5949EE #EE498B #DEEE49 #49EEAB
square
#5949EE #EE498B #DEEE49 #49EEAB
split-complementary
#5949EE #EEAB49 #8BEE49
monochromatic
#1F10AC #2915E4 #5949EE #8C81F3 #BFB9F8

Accessibility & contrast

On white

5.81
#5949EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5949EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949EE
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949EE#FFFFFF#000000##FFFFFF
##5949EE1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CF3
Deuteranopia (green-blind)
#005FEB
Tritanopia (blue-blind)
#007696
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5949ee;
/* rgb */ color: rgb(89, 73, 238);
/* oklch */ color: oklch(53.0% 0.236 279.0);
Tailwind
colors: {
  custom: {
    50: '#987ef5',
    500: '#5949ee',
    950: '#000000',
  },
}
SCSS
$custom: #5949ee;
$custom-light: #987ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#5949ee",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 238
  },
  "hsl": {
    "h": 245.818,
    "s": 82.915,
    "l": 60.98
  },
  "oklch": {
    "l": 0.53005,
    "c": 0.23564,
    "h": 279
  },
  "luminance": 0.13062
}

Semantic roles & 50–950 ramp

primary
#5949EE
secondary
#E2E9AA
accent
#DF06CA
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5949EE

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

Preview Lab → · Contrast checker → · Palette generator →

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