#5D4FBE#5D4FBE

#5D4FBE is a mid, vivid blue. Relative luminance 0.116; OKLCH L 50.3% C 0.168 H 284.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#5D4FBE
RGBrgb(93, 79, 190)
HSLhsl(248, 46%, 53%)
HSVhsv(248, 58%, 75%)
CMYKcmyk(51.1%, 58.4%, 0%, 25.5%)
CIE-LABlab(40.63, 35.39, -56.74)
CIE-LCHlch(40.63, 66.87, 301.96°)
OKLaboklab(50.28% 0.0415 -0.1624)
OKLCHoklch(50.28% 0.168 284.3)
XYZxyz(16.6017, 11.6360, 50.0764)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FBE #B0BE4F
analogous
#4F78BE #5D4FBE #954FBE
triadic
#5D4FBE #BE5D4F #4FBE5D
tetradic
#5D4FBE #BE4F78 #B0BE4F #4FBE95
square
#5D4FBE #BE4F78 #B0BE4F #4FBE95
split-complementary
#5D4FBE #BE954F #78BE4F
monochromatic
#30286B #443898 #5D4FBE #867CCF #AFA8DF

Accessibility & contrast

On white

6.31
#5D4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#5D4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FBE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FBE#FFFFFF#000000##FFFFFF
##5D4FBE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#38697F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d4fbe;
/* rgb */ color: rgb(93, 79, 190);
/* oklch */ color: oklch(50.3% 0.168 284.3);
Tailwind
colors: {
  custom: {
    50: '#9281d2',
    500: '#5d4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fbe;
$custom-light: #9281d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fbe",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 247.568,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.50282,
    "c": 0.16759,
    "h": 284.3
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#5D4FBE
secondary
#C6CC9C
accent
#D652C5
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #5D4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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