#5949EA#5949EA

#5949EA is a mid, highly saturated blue. Relative luminance 0.128; OKLCH L 52.6% C 0.231 H 279.4°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5949EA
RGBrgb(89, 73, 234)
HSLhsl(246, 79%, 60%)
HSVhsv(246, 69%, 92%)
CMYKcmyk(62%, 68.8%, 0%, 8.2%)
CIE-LABlab(42.50, 51.77, -78.98)
CIE-LCHlch(42.50, 94.44, 303.24°)
OKLaboklab(52.65% 0.0376 -0.2278)
OKLCHoklch(52.65% 0.231 279.4)
XYZxyz(21.3489, 12.8278, 79.1769)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5949EA #DAEA49
analogous
#4989EA #5949EA #AA49EA
triadic
#5949EA #EA5949 #49EA59
tetradic
#5949EA #EA4989 #DAEA49 #49EAAA
square
#5949EA #EA4989 #DAEA49 #49EAAA
split-complementary
#5949EA #EAAA49 #89EA49
monochromatic
#2213A6 #2D19DC #5949EA #8B80F0 #BDB7F7

Accessibility & contrast

On white

5.89
#5949EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#5949EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5949EA
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5949EA#FFFFFF#000000##FFFFFF
##5949EA1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEF
Deuteranopia (green-blind)
#005EE7
Tritanopia (blue-blind)
#007494
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5949ea;
/* rgb */ color: rgb(89, 73, 234);
/* oklch */ color: oklch(52.6% 0.231 279.4);
Tailwind
colors: {
  custom: {
    50: '#987ef2',
    500: '#5949ea',
    950: '#000000',
  },
}
SCSS
$custom: #5949ea;
$custom-light: #987ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5949ea",
  "rgb": {
    "r": 89,
    "g": 73,
    "b": 234
  },
  "hsl": {
    "h": 245.963,
    "s": 79.31,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52646,
    "c": 0.23088,
    "h": 279.4
  },
  "luminance": 0.12829
}

Semantic roles & 50–950 ramp

primary
#5949EA
secondary
#E0E6A9
accent
#DC0AC7
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5949EA

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

Preview Lab → · Contrast checker → · Palette generator →

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