#5B49DB#5B49DB

#5B49DB is a mid, highly saturated blue. Relative luminance 0.121; OKLCH L 51.5% C 0.212 H 281.5°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#5B49DB
RGBrgb(91, 73, 219)
HSLhsl(247, 67%, 57%)
HSVhsv(247, 67%, 86%)
CMYKcmyk(58.4%, 66.7%, 0%, 14.1%)
CIE-LABlab(41.38, 47.47, -72.29)
CIE-LCHlch(41.38, 86.48, 303.29°)
OKLaboklab(51.48% 0.0424 -0.2081)
OKLCHoklch(51.48% 0.212 281.5)
XYZxyz(19.4791, 12.1024, 68.3136)
Luminance0.1210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B49DB #C9DB49
analogous
#4980DB #5B49DB #A449DB
triadic
#5B49DB #DB5B49 #49DB5B
tetradic
#5B49DB #DB4980 #C9DB49 #49DBA4
square
#5B49DB #DB4980 #C9DB49 #49DBA4
split-complementary
#5B49DB #DBA449 #80DB49
monochromatic
#2A1C8E #3926C1 #5B49DB #897CE5 #B7AFEF

Accessibility & contrast

On white

6.14
#5B49DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5B49DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B49DB
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B49DB#FFFFFF#000000##FFFFFF
##5B49DB1.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#005CD8
Tritanopia (blue-blind)
#006F8C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b49db;
/* rgb */ color: rgb(91, 73, 219);
/* oklch */ color: oklch(51.5% 0.212 281.5);
Tailwind
colors: {
  custom: {
    50: '#967de7',
    500: '#5b49db',
    950: '#000000',
  },
}
SCSS
$custom: #5b49db;
$custom-light: #967de7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b49db",
  "rgb": {
    "r": 91,
    "g": 73,
    "b": 219
  },
  "hsl": {
    "h": 247.397,
    "s": 66.972,
    "l": 57.255
  },
  "oklch": {
    "l": 0.51484,
    "c": 0.2124,
    "h": 281.5
  },
  "luminance": 0.12104
}

Semantic roles & 50–950 ramp

primary
#5B49DB
secondary
#D6DDA2
accent
#EA3ED5
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B49DB

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

Preview Lab → · Contrast checker → · Palette generator →

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