#5D53BF#5D53BF

#5D53BF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 51.1% C 0.164 H 283.1°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#5D53BF
RGBrgb(93, 83, 191)
HSLhsl(246, 46%, 54%)
HSVhsv(246, 57%, 75%)
CMYKcmyk(51.3%, 56.5%, 0%, 25.1%)
CIE-LABlab(41.65, 33.27, -55.68)
CIE-LCHlch(41.65, 64.86, 300.86°)
OKLaboklab(51.06% 0.0372 -0.1592)
OKLCHoklch(51.06% 0.164 283.1)
XYZxyz(17.0086, 12.2743, 50.7531)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D53BF #B5BF53
analogous
#537FBF #5D53BF #9353BF
triadic
#5D53BF #BF5D53 #53BF5D
tetradic
#5D53BF #BF537F #B5BF53 #53BF93
square
#5D53BF #BF537F #B5BF53 #53BF93
split-complementary
#5D53BF #BF9353 #7FBF53
monochromatic
#30296E #433A9B #5D53BF #8780D0 #B1ACE0

Accessibility & contrast

On white

6.08
#5D53BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#5D53BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D53BF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D53BF#FFFFFF#000000##FFFFFF
##5D53BF1.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0366C3
Deuteranopia (green-blind)
#005FBD
Tritanopia (blue-blind)
#376C81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5d53bf;
/* rgb */ color: rgb(93, 83, 191);
/* oklch */ color: oklch(51.1% 0.164 283.1);
Tailwind
colors: {
  custom: {
    50: '#9283d3',
    500: '#5d53bf',
    950: '#000000',
  },
}
SCSS
$custom: #5d53bf;
$custom-light: #9283d3;
$custom-dark: #000000;
JSON
{
  "hex": "#5d53bf",
  "rgb": {
    "r": 93,
    "g": 83,
    "b": 191
  },
  "hsl": {
    "h": 245.556,
    "s": 45.763,
    "l": 53.725
  },
  "oklch": {
    "l": 0.51056,
    "c": 0.1635,
    "h": 283.1
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#5D53BF
secondary
#CACEA0
accent
#D552C9
background
#F9F8FD
surface
#F2EFFA
border
#CCCAD3
text
#0E0B14
muted
#7E7C83

Preview Lab

Preview with #5D53BF

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

Preview Lab → · Contrast checker → · Palette generator →

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