#5D5ABC#5D5ABC

#5D5ABC is a mid, vivid blue. Relative luminance 0.133; OKLCH L 52.1% C 0.150 H 281.2°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5D5ABC
RGBrgb(93, 90, 188)
HSLhsl(242, 42%, 55%)
HSVhsv(242, 52%, 74%)
CMYKcmyk(50.5%, 52.1%, 0%, 26.3%)
CIE-LABlab(43.17, 28.03, -51.48)
CIE-LCHlch(43.17, 58.62, 298.57°)
OKLaboklab(52.12% 0.0292 -0.1468)
OKLCHoklch(52.12% 0.15 281.2)
XYZxyz(17.2447, 13.2694, 49.2198)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5ABC #B9BC5A
analogous
#5A88BC #5D5ABC #8E5ABC
triadic
#5D5ABC #BC5D5A #5ABC5D
tetradic
#5D5ABC #BC5A88 #B9BC5A #5ABC8E
square
#5D5ABC #BC5A88 #B9BC5A #5ABC8E
split-complementary
#5D5ABC #BC8E5A #88BC5A
monochromatic
#2F2D6F #413F9A #5D5ABC #8886CE #B2B1DF

Accessibility & contrast

On white

5.75
#5D5ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#5D5ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5ABC
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5ABC#FFFFFF#000000##FFFFFF
##5D5ABC1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286ABF
Deuteranopia (green-blind)
#1F62BA
Tritanopia (blue-blind)
#387082
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d5abc;
/* rgb */ color: rgb(93, 90, 188);
/* oklch */ color: oklch(52.1% 0.150 281.2);
Tailwind
colors: {
  custom: {
    50: '#9188d1',
    500: '#5d5abc',
    950: '#000000',
  },
}
SCSS
$custom: #5d5abc;
$custom-light: #9188d1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5abc",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 188
  },
  "hsl": {
    "h": 241.837,
    "s": 42.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.52123,
    "c": 0.14971,
    "h": 281.2
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#5D5ABC
secondary
#CCCEA4
accent
#D256CE
background
#F9F8FC
surface
#F2F0F9
border
#CCCBD2
text
#0D0B14
muted
#7E7C82

Preview Lab

Preview with #5D5ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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