#5B53BC#5B53BC

#5B53BC is a mid, vivid blue. Relative luminance 0.120; OKLCH L 50.7% C 0.160 H 282.5°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5B53BC
RGBrgb(91, 83, 188)
HSLhsl(245, 44%, 53%)
HSVhsv(245, 56%, 74%)
CMYKcmyk(51.6%, 55.9%, 0%, 26.3%)
CIE-LABlab(41.28, 31.92, -54.53)
CIE-LCHlch(41.28, 63.19, 300.35°)
OKLaboklab(50.68% 0.0346 -0.1559)
OKLCHoklch(50.68% 0.16 282.5)
XYZxyz(16.4820, 12.0406, 49.0228)
Luminance0.1204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B53BC #B4BC53
analogous
#5380BC #5B53BC #8F53BC
triadic
#5B53BC #BC5B53 #53BC5B
tetradic
#5B53BC #BC5380 #B4BC53 #53BC8F
square
#5B53BC #BC5380 #B4BC53 #53BC8F
split-complementary
#5B53BC #BC8F53 #80BC53
monochromatic
#2F2A6B #423B97 #5B53BC #857FCD #AFABDE

Accessibility & contrast

On white

6.16
#5B53BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5B53BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B53BC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B53BC#FFFFFF#000000##FFFFFF
##5B53BC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D65C0
Deuteranopia (green-blind)
#005EBA
Tritanopia (blue-blind)
#346B7F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5b53bc;
/* rgb */ color: rgb(91, 83, 188);
/* oklch */ color: oklch(50.7% 0.160 282.5);
Tailwind
colors: {
  custom: {
    50: '#9183d1',
    500: '#5b53bc',
    950: '#000000',
  },
}
SCSS
$custom: #5b53bc;
$custom-light: #9183d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5b53bc",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 188
  },
  "hsl": {
    "h": 244.571,
    "s": 43.933,
    "l": 53.137
  },
  "oklch": {
    "l": 0.50677,
    "c": 0.1597,
    "h": 282.5
  },
  "luminance": 0.12041
}

Semantic roles & 50–950 ramp

primary
#5B53BC
secondary
#C9CC9F
accent
#D454CA
background
#F9F8FC
surface
#F2EFF9
border
#CCCAD2
text
#0D0A14
muted
#7E7C82

Preview Lab

Preview with #5B53BC

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

Preview Lab → · Contrast checker → · Palette generator →

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