#5D5ABE#5D5ABE

#5D5ABE is a mid, vivid blue. Relative luminance 0.134; OKLCH L 52.3% C 0.152 H 281.1°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#5D5ABE
RGBrgb(93, 90, 190)
HSLhsl(242, 43%, 55%)
HSVhsv(242, 53%, 75%)
CMYKcmyk(51.1%, 52.6%, 0%, 25.5%)
CIE-LABlab(43.30, 28.66, -52.44)
CIE-LCHlch(43.30, 59.76, 298.66°)
OKLaboklab(52.26% 0.0293 -0.1496)
OKLCHoklch(52.26% 0.152 281.1)
XYZxyz(17.4618, 13.3562, 50.3631)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5ABE #BBBE5A
analogous
#5A89BE #5D5ABE #8F5ABE
triadic
#5D5ABE #BE5D5A #5ABE5D
tetradic
#5D5ABE #BE5A89 #BBBE5A #5ABE8F
square
#5D5ABE #BE5A89 #BBBE5A #5ABE8F
split-complementary
#5D5ABE #BE8F5A #89BE5A
monochromatic
#2F2D71 #413E9D #5D5ABE #8886CF #B3B2E1

Accessibility & contrast

On white

5.72
#5D5ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#5D5ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5ABE
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5ABE#FFFFFF#000000##FFFFFF
##5D5ABE1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC1
Deuteranopia (green-blind)
#1B63BC
Tritanopia (blue-blind)
#367083
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5d5abe;
/* rgb */ color: rgb(93, 90, 190);
/* oklch */ color: oklch(52.3% 0.152 281.1);
Tailwind
colors: {
  custom: {
    50: '#9288d2',
    500: '#5d5abe',
    950: '#000000',
  },
}
SCSS
$custom: #5d5abe;
$custom-light: #9288d2;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5abe",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 190
  },
  "hsl": {
    "h": 241.8,
    "s": 43.478,
    "l": 54.902
  },
  "oklch": {
    "l": 0.5226,
    "c": 0.15249,
    "h": 281.1
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#5D5ABE
secondary
#CECFA5
accent
#D355CF
background
#F9F8FD
surface
#F2F0FA
border
#CCCBD3
text
#0D0B14
muted
#7E7C83

Preview Lab

Preview with #5D5ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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