#5D5AC8#5D5AC8

#5D5AC8 is a mid, vivid blue. Relative luminance 0.138; OKLCH L 53.0% C 0.166 H 280.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5D5AC8
RGBrgb(93, 90, 200)
HSLhsl(242, 50%, 57%)
HSVhsv(242, 55%, 78%)
CMYKcmyk(53.5%, 55%, 0%, 21.6%)
CIE-LABlab(43.96, 31.81, -57.17)
CIE-LCHlch(43.96, 65.42, 299.09°)
OKLaboklab(52.97% 0.0298 -0.1636)
OKLCHoklch(52.97% 0.166 280.3)
XYZxyz(18.5925, 13.8085, 56.3180)
Luminance0.1381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5AC8 #C5C85A
analogous
#5A8EC8 #5D5AC8 #945AC8
triadic
#5D5AC8 #C85D5A #5AC85D
tetradic
#5D5AC8 #C85A8E #C5C85A #5AC894
square
#5D5AC8 #C85A8E #C5C85A #5AC894
split-complementary
#5D5AC8 #C8945A #8EC85A
monochromatic
#2C2A7E #3C39AC #5D5AC8 #8A88D7 #B7B6E7

Accessibility & contrast

On white

5.58
#5D5AC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#5D5AC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5AC8
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5AC8#FFFFFF#000000##FFFFFF
##5D5AC81.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126CCC
Deuteranopia (green-blind)
#0064C6
Tritanopia (blue-blind)
#2D7388
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d5ac8;
/* rgb */ color: rgb(93, 90, 200);
/* oklch */ color: oklch(53.0% 0.166 280.3);
Tailwind
colors: {
  custom: {
    50: '#9388d9',
    500: '#5d5ac8',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ac8;
$custom-light: #9388d9;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ac8",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 200
  },
  "hsl": {
    "h": 241.636,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52966,
    "c": 0.16624,
    "h": 280.3
  },
  "luminance": 0.1381
}

Semantic roles & 50–950 ramp

primary
#5D5AC8
secondary
#D4D5A8
accent
#DA4ED6
background
#F9F8FD
surface
#F2F0FB
border
#CCCBD4
text
#0E0B15
muted
#7E7C83

Preview Lab

Preview with #5D5AC8

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

Preview Lab → · Contrast checker → · Palette generator →

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