#5D5ACB#5D5ACB

#5D5ACB is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.2% C 0.170 H 280.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5D5ACB
RGBrgb(93, 90, 203)
HSLhsl(242, 52%, 57%)
HSVhsv(242, 56%, 80%)
CMYKcmyk(54.2%, 55.7%, 0%, 20.4%)
CIE-LABlab(44.16, 32.76, -58.57)
CIE-LCHlch(44.16, 67.11, 299.22°)
OKLaboklab(53.18% 0.0298 -0.1677)
OKLCHoklch(53.18% 0.17 280.1)
XYZxyz(18.9465, 13.9501, 58.1826)
Luminance0.1395 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5ACB #C8CB5A
analogous
#5A8FCB #5D5ACB #965ACB
triadic
#5D5ACB #CB5D5A #5ACB5D
tetradic
#5D5ACB #CB5A8F #C8CB5A #5ACB96
square
#5D5ACB #CB5A8F #C8CB5A #5ACB96
split-complementary
#5D5ACB #CB965A #8FCB5A
monochromatic
#2B2982 #3B38B0 #5D5ACB #8B89DA #B8B7E8

Accessibility & contrast

On white

5.54
#5D5ACB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5D5ACB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5ACB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5ACB#FFFFFF#000000##FFFFFF
##5D5ACB1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066DCF
Deuteranopia (green-blind)
#0064C9
Tritanopia (blue-blind)
#2A748A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d5acb;
/* rgb */ color: rgb(93, 90, 203);
/* oklch */ color: oklch(53.2% 0.170 280.1);
Tailwind
colors: {
  custom: {
    50: '#9489dc',
    500: '#5d5acb',
    950: '#000000',
  },
}
SCSS
$custom: #5d5acb;
$custom-light: #9489dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5acb",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 203
  },
  "hsl": {
    "h": 241.593,
    "s": 52.074,
    "l": 57.451
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.17031,
    "h": 280.1
  },
  "luminance": 0.13951
}

Semantic roles & 50–950 ramp

primary
#5D5ACB
secondary
#D6D7AA
accent
#DC4CD8
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D5ACB

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

Preview Lab → · Contrast checker → · Palette generator →

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