#5B49CF#5B49CF

#5B49CF is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.5% C 0.198 H 282.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5B49CF
RGBrgb(91, 73, 207)
HSLhsl(248, 58%, 55%)
HSVhsv(248, 65%, 81%)
CMYKcmyk(56%, 64.7%, 0%, 18.8%)
CIE-LABlab(40.40, 43.80, -66.99)
CIE-LCHlch(40.40, 80.04, 303.18°)
OKLaboklab(50.47% 0.0438 -0.1926)
OKLCHoklch(50.47% 0.198 282.8)
XYZxyz(17.9559, 11.4931, 60.2916)
Luminance0.1149 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49CF #BDCF49
analogous
#497ACF #5B49CF #9E49CF
triadic
#5B49CF #CF5B49 #49CF5B
tetradic
#5B49CF #CF497A #BDCF49 #49CF9E
square
#5B49CF #CF497A #BDCF49 #49CF9E
split-complementary
#5B49CF #CF9E49 #7ACF49
monochromatic
#2D217D #3F2EAD #5B49CF #8779DC #B2AAE9

Accessibility & contrast

On white

6.37
#5B49CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5B49CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49CF
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49CF#FFFFFF#000000##FFFFFF
##5B49CF1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#206B85
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b49cf;
/* rgb */ color: rgb(91, 73, 207);
/* oklch */ color: oklch(50.5% 0.198 282.8);
Tailwind
colors: {
  custom: {
    50: '#947ddf',
    500: '#5b49cf',
    950: '#000000',
  },
}
SCSS
$custom: #5b49cf;
$custom-light: #947ddf;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49cf",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 207
  },
  "hsl": {
    "h": 248.06,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.50473,
    "c": 0.19751,
    "h": 282.8
  },
  "luminance": 0.11494
}

Semantic roles & 50–950 ramp

primary
#5B49CF
secondary
#CFD69E
accent
#E146CD
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B49CF

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

Preview Lab → · Contrast checker → · Palette generator →

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