#5B53CD#5B53CD

#5B53CD is a mid, vivid blue. Relative luminance 0.128; OKLCH L 51.9% C 0.182 H 280.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5B53CD
RGBrgb(91, 83, 205)
HSLhsl(244, 55%, 56%)
HSVhsv(244, 60%, 80%)
CMYKcmyk(55.6%, 59.5%, 0%, 19.6%)
CIE-LABlab(42.49, 37.27, -62.44)
CIE-LCHlch(42.49, 72.72, 300.83°)
OKLaboklab(51.95% 0.0345 -0.1792)
OKLCHoklch(51.95% 0.182 280.9)
XYZxyz(18.4237, 12.8173, 59.2489)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B53CD #C5CD53
analogous
#5388CD #5B53CD #9853CD
triadic
#5B53CD #CD5B53 #53CD5B
tetradic
#5B53CD #CD5388 #C5CD53 #53CD98
square
#5B53CD #CD5388 #C5CD53 #53CD98
split-complementary
#5B53CD #CD9853 #88CD53
monochromatic
#2B2580 #3B33B0 #5B53CD #8882DB #B5B2E9

Accessibility & contrast

On white

5.89
#5B53CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#5B53CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B53CD
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B53CD#FFFFFF#000000##FFFFFF
##5B53CD1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D1
Deuteranopia (green-blind)
#0060CB
Tritanopia (blue-blind)
#217088
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5b53cd;
/* rgb */ color: rgb(91, 83, 205);
/* oklch */ color: oklch(51.9% 0.182 280.9);
Tailwind
colors: {
  custom: {
    50: '#9384dd',
    500: '#5b53cd',
    950: '#000000',
  },
}
SCSS
$custom: #5b53cd;
$custom-light: #9384dd;
$custom-dark: #000000;
JSON
{
  "hex": "#5b53cd",
  "rgb": {
    "r": 91,
    "g": 83,
    "b": 205
  },
  "hsl": {
    "h": 243.934,
    "s": 54.955,
    "l": 56.471
  },
  "oklch": {
    "l": 0.5195,
    "c": 0.18247,
    "h": 280.9
  },
  "luminance": 0.12818
}

Semantic roles & 50–950 ramp

primary
#5B53CD
secondary
#D4D7A5
accent
#DE4AD5
background
#F9F8FD
surface
#F2EFFB
border
#CCCAD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5B53CD

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

Preview Lab → · Contrast checker → · Palette generator →

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