#5B53BD#5B53BD

#5B53BD is a mid, vivid blue. Relative luminance 0.121; OKLCH L 50.7% C 0.161 H 282.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#5B53BD
RGBrgb(91, 83, 189)
HSLhsl(245, 45%, 53%)
HSVhsv(245, 56%, 74%)
CMYKcmyk(51.9%, 56.1%, 0%, 25.9%)
CIE-LABlab(41.35, 32.24, -55.00)
CIE-LCHlch(41.35, 63.75, 300.37°)
OKLaboklab(50.75% 0.0346 -0.1573)
OKLCHoklch(50.75% 0.161 282.4)
XYZxyz(16.5902, 12.0839, 49.5925)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B53BD #B5BD53
analogous
#5380BD #5B53BD #9053BD
triadic
#5B53BD #BD5B53 #53BD5B
tetradic
#5B53BD #BD5380 #B5BD53 #53BD90
square
#5B53BD #BD5380 #B5BD53 #53BD90
split-complementary
#5B53BD #BD9053 #80BD53
monochromatic
#2F296C #423A98 #5B53BD #857FCE #AFABDF

Accessibility & contrast

On white

6.15
#5B53BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5B53BD
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B53BD#FFFFFF#000000##FFFFFF
##5B53BD1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0965C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#346B80
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b53bd;
/* rgb */ color: rgb(91, 83, 189);
/* oklch */ color: oklch(50.7% 0.161 282.4);
Tailwind
colors: {
  custom: {
    50: '#9183d2',
    500: '#5b53bd',
    950: '#000000',
  },
}
SCSS
$custom: #5b53bd;
$custom-light: #9183d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5b53bd",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 189
  },
  "hsl": {
    "h": 244.528,
    "s": 44.538,
    "l": 53.333
  },
  "oklch": {
    "l": 0.50749,
    "c": 0.16106,
    "h": 282.4
  },
  "luminance": 0.12085
}

Semantic roles & 50–950 ramp

primary
#5B53BD
secondary
#C9CD9F
accent
#D454CB
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5B53BD

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

Preview Lab → · Contrast checker → · Palette generator →

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