#5D5ACA#5D5ACA

#5D5ACA is a mid, vivid blue. Relative luminance 0.139; OKLCH L 53.1% C 0.169 H 280.2°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#5D5ACA
RGBrgb(93, 90, 202)
HSLhsl(242, 51%, 57%)
HSVhsv(242, 55%, 79%)
CMYKcmyk(54%, 55.4%, 0%, 20.8%)
CIE-LABlab(44.09, 32.45, -58.10)
CIE-LCHlch(44.09, 66.55, 299.18°)
OKLaboklab(53.11% 0.0298 -0.1663)
OKLCHoklch(53.11% 0.169 280.2)
XYZxyz(18.8277, 13.9026, 57.5570)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5ACA #C7CA5A
analogous
#5A8FCA #5D5ACA #955ACA
triadic
#5D5ACA #CA5D5A #5ACA5D
tetradic
#5D5ACA #CA5A8F #C7CA5A #5ACA95
square
#5D5ACA #CA5A8F #C7CA5A #5ACA95
split-complementary
#5D5ACA #CA955A #8FCA5A
monochromatic
#2C2980 #3B38AF #5D5ACA #8A88D9 #B8B7E8

Accessibility & contrast

On white

5.55
#5D5ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#5D5ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5ACA
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5ACA#FFFFFF#000000##FFFFFF
##5D5ACA1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6DCE
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#2B7489
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d5aca;
/* rgb */ color: rgb(93, 90, 202);
/* oklch */ color: oklch(53.1% 0.169 280.2);
Tailwind
colors: {
  custom: {
    50: '#9389db',
    500: '#5d5aca',
    950: '#000000',
  },
}
SCSS
$custom: #5d5aca;
$custom-light: #9389db;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5aca",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 202
  },
  "hsl": {
    "h": 241.607,
    "s": 51.376,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5311,
    "c": 0.16896,
    "h": 280.2
  },
  "luminance": 0.13904
}

Semantic roles & 50–950 ramp

primary
#5D5ACA
secondary
#D5D7A9
accent
#DB4DD7
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D5ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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