#5A49E9#5A49E9

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

Color values

HEX#5A49E9
RGBrgb(90, 73, 233)
HSLhsl(246, 78%, 60%)
HSVhsv(246, 69%, 91%)
CMYKcmyk(61.4%, 68.7%, 0%, 8.6%)
CIE-LABlab(42.49, 51.60, -78.43)
CIE-LCHlch(42.49, 93.88, 303.34°)
OKLaboklab(52.63% 0.039 -0.2262)
OKLCHoklch(52.63% 0.23 279.8)
XYZxyz(21.3023, 12.8203, 78.4270)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49E9 #D8E949
analogous
#4988E9 #5A49E9 #AA49E9
triadic
#5A49E9 #E95A49 #49E95A
tetradic
#5A49E9 #E94988 #D8E949 #49E9AA
square
#5A49E9 #E94988 #D8E949 #49E9AA
split-complementary
#5A49E9 #E9AA49 #88E949
monochromatic
#2314A4 #2F1ADA #5A49E9 #8C80F0 #BDB6F6

Accessibility & contrast

On white

5.89
#5A49E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5A49E9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49E9
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49E9#FFFFFF#000000##FFFFFF
##5A49E91.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5a49e9;
/* rgb */ color: rgb(90, 73, 233);
/* oklch */ color: oklch(52.6% 0.230 279.8);
Tailwind
colors: {
  custom: {
    50: '#987ef1',
    500: '#5a49e9',
    950: '#000000',
  },
}
SCSS
$custom: #5a49e9;
$custom-light: #987ef1;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49e9",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 233
  },
  "hsl": {
    "h": 246.375,
    "s": 78.431,
    "l": 60
  },
  "oklch": {
    "l": 0.5263,
    "c": 0.2295,
    "h": 279.8
  },
  "luminance": 0.12822
}

Semantic roles & 50–950 ramp

primary
#5A49E9
secondary
#DFE6A8
accent
#F533E0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A17
muted
#7F7C85

Preview Lab

Preview with #5A49E9

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

Preview Lab → · Contrast checker → · Palette generator →

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