#5D5ACC#5D5ACC

#5D5ACC is a mid, vivid blue. Relative luminance 0.140; OKLCH L 53.3% C 0.172 H 280.0°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#5D5ACC
RGBrgb(93, 90, 204)
HSLhsl(242, 53%, 58%)
HSVhsv(242, 56%, 80%)
CMYKcmyk(54.4%, 55.9%, 0%, 20%)
CIE-LABlab(44.23, 33.08, -59.03)
CIE-LCHlch(44.23, 67.67, 299.26°)
OKLaboklab(53.26% 0.0299 -0.169)
OKLCHoklch(53.26% 0.172 280)
XYZxyz(19.0660, 13.9979, 58.8122)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5ACC #C9CC5A
analogous
#5A90CC #5D5ACC #965ACC
triadic
#5D5ACC #CC5D5A #5ACC5D
tetradic
#5D5ACC #CC5A90 #C9CC5A #5ACC96
square
#5D5ACC #CC5A90 #C9CC5A #5ACC96
split-complementary
#5D5ACC #CC965A #90CC5A
monochromatic
#2B2983 #3A37B2 #5D5ACC #8B89DA #B9B7E9

Accessibility & contrast

On white

5.53
#5D5ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5D5ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5ACC
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5ACC#FFFFFF#000000##FFFFFF
##5D5ACC1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026DD0
Deuteranopia (green-blind)
#0064CA
Tritanopia (blue-blind)
#28748A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5d5acc;
/* rgb */ color: rgb(93, 90, 204);
/* oklch */ color: oklch(53.3% 0.172 280.0);
Tailwind
colors: {
  custom: {
    50: '#9489dc',
    500: '#5d5acc',
    950: '#000000',
  },
}
SCSS
$custom: #5d5acc;
$custom-light: #9489dc;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5acc",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 241.579,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.53256,
    "c": 0.17167,
    "h": 280
  },
  "luminance": 0.13999
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5D5ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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