#5A49EA#5A49EA

#5A49EA is a mid, highly saturated blue. Relative luminance 0.129; OKLCH L 52.7% C 0.231 H 279.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5A49EA
RGBrgb(90, 73, 234)
HSLhsl(246, 79%, 60%)
HSVhsv(246, 69%, 92%)
CMYKcmyk(61.5%, 68.8%, 0%, 8.2%)
CIE-LABlab(42.58, 51.90, -78.86)
CIE-LCHlch(42.58, 94.40, 303.35°)
OKLaboklab(52.72% 0.0389 -0.2274)
OKLCHoklch(52.72% 0.231 279.7)
XYZxyz(21.4456, 12.8776, 79.1815)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49EA #D9EA49
analogous
#4989EA #5A49EA #AA49EA
triadic
#5A49EA #EA5A49 #49EA5A
tetradic
#5A49EA #EA4989 #D9EA49 #49EAAA
square
#5A49EA #EA4989 #D9EA49 #49EAAA
split-complementary
#5A49EA #EAAA49 #89EA49
monochromatic
#2313A6 #2E19DC #5A49EA #8C80F0 #BDB7F7

Accessibility & contrast

On white

5.87
#5A49EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#5A49EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49EA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49EA#FFFFFF#000000##FFFFFF
##5A49EA1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a49ea;
/* rgb */ color: rgb(90, 73, 234);
/* oklch */ color: oklch(52.7% 0.231 279.7);
Tailwind
colors: {
  custom: {
    50: '#987ef2',
    500: '#5a49ea',
    950: '#000000',
  },
}
SCSS
$custom: #5a49ea;
$custom-light: #987ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49ea",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 234
  },
  "hsl": {
    "h": 246.335,
    "s": 79.31,
    "l": 60.196
  },
  "oklch": {
    "l": 0.52719,
    "c": 0.2307,
    "h": 279.7
  },
  "luminance": 0.12879
}

Semantic roles & 50–950 ramp

primary
#5A49EA
secondary
#E0E6A9
accent
#DC0AC5
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A49EA

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

Preview Lab → · Contrast checker → · Palette generator →

#5A49EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva