#5B49CD#5B49CD

#5B49CD is a mid, vivid blue. Relative luminance 0.114; OKLCH L 50.3% C 0.195 H 283.0°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5B49CD
RGBrgb(91, 73, 205)
HSLhsl(248, 57%, 55%)
HSVhsv(248, 64%, 80%)
CMYKcmyk(55.6%, 64.4%, 0%, 19.6%)
CIE-LABlab(40.24, 43.19, -66.10)
CIE-LCHlch(40.24, 78.96, 303.16°)
OKLaboklab(50.31% 0.044 -0.19)
OKLCHoklch(50.31% 0.195 283)
XYZxyz(17.7130, 11.3959, 59.0120)
Luminance0.1140 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49CD #BBCD49
analogous
#4979CD #5B49CD #9D49CD
triadic
#5B49CD #CD5B49 #49CD5B
tetradic
#5B49CD #CD4979 #BBCD49 #49CD9D
square
#5B49CD #CD4979 #BBCD49 #49CD9D
split-complementary
#5B49CD #CD9D49 #79CD49
monochromatic
#2E227A #402FAA #5B49CD #8679DA #B2A9E7

Accessibility & contrast

On white

6.40
#5B49CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#5B49CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49CD
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49CD#FFFFFF#000000##FFFFFF
##5B49CD1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#005ACA
Tritanopia (blue-blind)
#236A84
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5b49cd;
/* rgb */ color: rgb(91, 73, 205);
/* oklch */ color: oklch(50.3% 0.195 283.0);
Tailwind
colors: {
  custom: {
    50: '#947ddd',
    500: '#5b49cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b49cd;
$custom-light: #947ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49cd",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 205
  },
  "hsl": {
    "h": 248.182,
    "s": 56.897,
    "l": 54.51
  },
  "oklch": {
    "l": 0.50307,
    "c": 0.19499,
    "h": 283
  },
  "luminance": 0.11397
}

Semantic roles & 50–950 ramp

primary
#5B49CD
secondary
#CDD59D
accent
#E048CB
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B49CD

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

Preview Lab → · Contrast checker → · Palette generator →

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