#5B4DDB#5B4DDB

#5B4DDB is a mid, highly saturated blue. Relative luminance 0.126; OKLCH L 52.1% C 0.208 H 280.8°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#5B4DDB
RGBrgb(91, 77, 219)
HSLhsl(246, 66%, 58%)
HSVhsv(246, 65%, 86%)
CMYKcmyk(58.4%, 64.8%, 0%, 14.1%)
CIE-LABlab(42.22, 45.19, -70.91)
CIE-LCHlch(42.22, 84.08, 302.51°)
OKLaboklab(52.1% 0.039 -0.2041)
OKLCHoklch(52.1% 0.208 280.8)
XYZxyz(19.7504, 12.6450, 68.4041)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B4DDB #CDDB4D
analogous
#4D86DB #5B4DDB #A24DDB
triadic
#5B4DDB #DB5B4D #4DDB5B
tetradic
#5B4DDB #DB4D86 #CDDB4D #4DDBA2
square
#5B4DDB #DB4D86 #CDDB4D #4DDBA2
split-complementary
#5B4DDB #DBA24D #86DB4D
monochromatic
#291D90 #3727C3 #5B4DDB #8A80E5 #B9B3F0

Accessibility & contrast

On white

5.95
#5B4DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5B4DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B4DDB
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B4DDB#FFFFFF#000000##FFFFFF
##5B4DDB1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DF
Deuteranopia (green-blind)
#005ED8
Tritanopia (blue-blind)
#00718D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b4ddb;
/* rgb */ color: rgb(91, 77, 219);
/* oklch */ color: oklch(52.1% 0.208 280.8);
Tailwind
colors: {
  custom: {
    50: '#9680e7',
    500: '#5b4ddb',
    950: '#000000',
  },
}
SCSS
$custom: #5b4ddb;
$custom-light: #9680e7;
$custom-dark: #000000;
JSON
{
  "hex": "#5b4ddb",
  "rgb": {
    "r": 91,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 245.915,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.52095,
    "c": 0.20777,
    "h": 280.8
  },
  "luminance": 0.12646
}

Semantic roles & 50–950 ramp

primary
#5B4DDB
secondary
#D9DEA6
accent
#E93FD8
background
#F9F7FE
surface
#F2EEFD
border
#CCC9D5
text
#0F0A16
muted
#7E7C84

Preview Lab

Preview with #5B4DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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