#5A49BB#5A49BB

#5A49BB is a mid, vivid blue. Relative luminance 0.105; OKLCH L 48.8% C 0.172 H 284.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#5A49BB
RGBrgb(90, 73, 187)
HSLhsl(249, 46%, 51%)
HSVhsv(249, 61%, 73%)
CMYKcmyk(51.9%, 61%, 0%, 26.7%)
CIE-LABlab(38.77, 37.48, -58.01)
CIE-LCHlch(38.77, 69.07, 302.87°)
OKLaboklab(48.78% 0.0441 -0.1662)
OKLCHoklch(48.78% 0.172 284.9)
XYZxyz(15.5659, 10.5258, 48.2155)
Luminance0.1053 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A49BB #AABB49
analogous
#4971BB #5A49BB #9349BB
triadic
#5A49BB #BB5A49 #49BB5A
tetradic
#5A49BB #BB4971 #AABB49 #49BB93
square
#5A49BB #BB4971 #AABB49 #49BB93
split-complementary
#5A49BB #BB9349 #71BB49
monochromatic
#2F2564 #443691 #5A49BB #8276CC #ABA2DC

Accessibility & contrast

On white

6.76
#5A49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#5A49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5A49BB
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A49BB#FFFFFF#000000##FFFFFF
##5A49BB1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBF
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#34647B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5a49bb;
/* rgb */ color: rgb(90, 73, 187);
/* oklch */ color: oklch(48.8% 0.172 284.9);
Tailwind
colors: {
  custom: {
    50: '#917cd0',
    500: '#5a49bb',
    950: '#000000',
  },
}
SCSS
$custom: #5a49bb;
$custom-light: #917cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#5a49bb",
  "rgb": {
    "r": 90,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 248.947,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.48781,
    "c": 0.17198,
    "h": 284.9
  },
  "luminance": 0.10527
}

Semantic roles & 50–950 ramp

primary
#5A49BB
secondary
#C2C997
accent
#D553C2
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0D0914
muted
#7E7B82

Preview Lab

Preview with #5A49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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