#5B49DF#5B49DF

#5B49DF is a mid, highly saturated blue. Relative luminance 0.123; OKLCH L 51.8% C 0.217 H 281.1°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#5B49DF
RGBrgb(91, 73, 223)
HSLhsl(247, 70%, 58%)
HSVhsv(247, 67%, 87%)
CMYKcmyk(59.2%, 67.3%, 0%, 12.5%)
CIE-LABlab(41.71, 48.69, -74.02)
CIE-LCHlch(41.71, 88.60, 303.34°)
OKLaboklab(51.83% 0.0418 -0.2132)
OKLCHoklch(51.83% 0.217 281.1)
XYZxyz(20.0120, 12.3155, 71.1203)
Luminance0.1232 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49DF #CDDF49
analogous
#4982DF #5B49DF #A649DF
triadic
#5B49DF #DF5B49 #49DF5B
tetradic
#5B49DF #DF4982 #CDDF49 #49DFA6
square
#5B49DF #DF4982 #CDDF49 #49DFA6
split-complementary
#5B49DF #DFA649 #82DF49
monochromatic
#291A94 #3723C8 #5B49DF #8A7DE8 #B9B1F1

Accessibility & contrast

On white

6.06
#5B49DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5B49DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49DF
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49DF#FFFFFF#000000##FFFFFF
##5B49DF1.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E4
Deuteranopia (green-blind)
#005DDC
Tritanopia (blue-blind)
#00708E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b49df;
/* rgb */ color: rgb(91, 73, 223);
/* oklch */ color: oklch(51.8% 0.217 281.1);
Tailwind
colors: {
  custom: {
    50: '#977dea',
    500: '#5b49df',
    950: '#000000',
  },
}
SCSS
$custom: #5b49df;
$custom-light: #977dea;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49df",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 223
  },
  "hsl": {
    "h": 247.2,
    "s": 70.093,
    "l": 58.039
  },
  "oklch": {
    "l": 0.51829,
    "c": 0.21728,
    "h": 281.1
  },
  "luminance": 0.12317
}

Semantic roles & 50–950 ramp

primary
#5B49DF
secondary
#D9E0A4
accent
#ED3BD8
background
#FAF7FE
surface
#F3EEFD
border
#CDC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #5B49DF

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

Preview Lab → · Contrast checker → · Palette generator →

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