#5949E5#5949E5

#5949E5 is a mid, highly saturated blue. Relative luminance 0.125; OKLCH L 52.2% C 0.225 H 279.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5949E5
RGBrgb(89, 73, 229)
HSLhsl(246, 75%, 59%)
HSVhsv(246, 68%, 90%)
CMYKcmyk(61.1%, 68.1%, 0%, 10.2%)
CIE-LABlab(42.07, 50.24, -76.86)
CIE-LCHlch(42.07, 91.83, 303.17°)
OKLaboklab(52.2% 0.0384 -0.2216)
OKLCHoklch(52.2% 0.225 279.8)
XYZxyz(20.6407, 12.5445, 75.4472)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949E5 #D5E549
analogous
#4987E5 #5949E5 #A749E5
triadic
#5949E5 #E55949 #49E559
tetradic
#5949E5 #E54987 #D5E549 #49E5A7
square
#5949E5 #E54987 #D5E549 #49E5A7
split-complementary
#5949E5 #E5A749 #87E549
monochromatic
#24169D #311ED3 #5949E5 #8A7FED #BBB4F4

Accessibility & contrast

On white

5.98
#5949E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5949E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949E5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949E5#FFFFFF#000000##FFFFFF
##5949E51.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069EA
Deuteranopia (green-blind)
#005DE2
Tritanopia (blue-blind)
#007291
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5949e5;
/* rgb */ color: rgb(89, 73, 229);
/* oklch */ color: oklch(52.2% 0.225 279.8);
Tailwind
colors: {
  custom: {
    50: '#977dee',
    500: '#5949e5',
    950: '#000000',
  },
}
SCSS
$custom: #5949e5;
$custom-light: #977dee;
$custom-dark: #000000;
JSON
{
  "hex": "#5949e5",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 229
  },
  "hsl": {
    "h": 246.154,
    "s": 75,
    "l": 59.216
  },
  "oklch": {
    "l": 0.52202,
    "c": 0.22489,
    "h": 279.8
  },
  "luminance": 0.12546
}

Semantic roles & 50–950 ramp

primary
#5949E5
secondary
#DDE3A6
accent
#F236DE
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5949E5

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

Preview Lab → · Contrast checker → · Palette generator →

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