#5B49CA#5B49CA

#5B49CA is a mid, vivid blue. Relative luminance 0.113; OKLCH L 50.1% C 0.191 H 283.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5B49CA
RGBrgb(91, 73, 202)
HSLhsl(248, 55%, 54%)
HSVhsv(248, 64%, 79%)
CMYKcmyk(55%, 63.9%, 0%, 20.8%)
CIE-LABlab(40.00, 42.27, -64.75)
CIE-LCHlch(40.00, 77.32, 303.14°)
OKLaboklab(50.06% 0.0443 -0.186)
OKLCHoklch(50.06% 0.191 283.4)
XYZxyz(17.3543, 11.2525, 57.1231)
Luminance0.1125 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49CA #B8CA49
analogous
#4978CA #5B49CA #9C49CA
triadic
#5B49CA #CA5B49 #49CA5B
tetradic
#5B49CA #CA4978 #B8CA49 #49CA9C
square
#5B49CA #CA4978 #B8CA49 #49CA9C
split-complementary
#5B49CA #CA9C49 #78CA49
monochromatic
#2E2276 #4130A6 #5B49CA #8678D8 #B0A8E6

Accessibility & contrast

On white

6.46
#5B49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5B49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49CA
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49CA#FFFFFF#000000##FFFFFF
##5B49CA1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CE
Deuteranopia (green-blind)
#005AC7
Tritanopia (blue-blind)
#276983
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5b49ca;
/* rgb */ color: rgb(91, 73, 202);
/* oklch */ color: oklch(50.1% 0.191 283.4);
Tailwind
colors: {
  custom: {
    50: '#937ddb',
    500: '#5b49ca',
    950: '#000000',
  },
}
SCSS
$custom: #5b49ca;
$custom-light: #937ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49ca",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 248.372,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.50061,
    "c": 0.1912,
    "h": 283.4
  },
  "luminance": 0.11254
}

Semantic roles & 50–950 ramp

primary
#5B49CA
secondary
#CBD39C
accent
#DE4AC9
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0E0A15
muted
#7E7C83

Preview Lab

Preview with #5B49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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