#5D4FBB#5D4FBB

#5D4FBB is a mid, vivid blue. Relative luminance 0.115; OKLCH L 50.1% C 0.164 H 284.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#5D4FBB
RGBrgb(93, 79, 187)
HSLhsl(248, 44%, 52%)
HSVhsv(248, 58%, 73%)
CMYKcmyk(50.3%, 57.8%, 0%, 26.7%)
CIE-LABlab(40.42, 34.47, -55.33)
CIE-LCHlch(40.42, 65.19, 301.93°)
OKLaboklab(50.06% 0.0416 -0.1582)
OKLCHoklch(50.06% 0.164 284.7)
XYZxyz(16.2771, 11.5062, 48.3673)
Luminance0.1151 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D4FBB #ADBB4F
analogous
#4F77BB #5D4FBB #934FBB
triadic
#5D4FBB #BB5D4F #4FBB5D
tetradic
#5D4FBB #BB4F77 #ADBB4F #4FBB93
square
#5D4FBB #BB4F77 #ADBB4F #4FBB93
split-complementary
#5D4FBB #BB934F #77BB4F
monochromatic
#302868 #453994 #5D4FBB #867BCC #AEA7DD

Accessibility & contrast

On white

6.36
#5D4FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5D4FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D4FBB
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D4FBB#FFFFFF#000000##FFFFFF
##5D4FBB1.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#3A687D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d4fbb;
/* rgb */ color: rgb(93, 79, 187);
/* oklch */ color: oklch(50.1% 0.164 284.7);
Tailwind
colors: {
  custom: {
    50: '#9281d0',
    500: '#5d4fbb',
    950: '#000000',
  },
}
SCSS
$custom: #5d4fbb;
$custom-light: #9281d0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d4fbb",
  "rgb": {
    "r": 93,
    "g": 79,
    "b": 187
  },
  "hsl": {
    "h": 247.778,
    "s": 44.262,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50059,
    "c": 0.16358,
    "h": 284.7
  },
  "luminance": 0.11507
}

Semantic roles & 50–950 ramp

primary
#5D4FBB
secondary
#C4CA9B
accent
#D454C3
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #5D4FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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