#5D5A91#5D5A91

#5D5A91 is a mid, moderate blue. Relative luminance 0.117; OKLCH L 49.5% C 0.087 H 285.2°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#5D5A91
RGBrgb(93, 90, 145)
HSLhsl(243, 23%, 46%)
HSVhsv(243, 38%, 57%)
CMYKcmyk(35.9%, 37.9%, 0%, 43.1%)
CIE-LABlab(40.71, 15.02, -29.92)
CIE-LCHlch(40.71, 33.48, 296.65°)
OKLaboklab(49.47% 0.0228 -0.0838)
OKLCHoklch(49.47% 0.087 285.2)
XYZxyz(13.2798, 11.6834, 28.3380)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5A91 #8E915A
analogous
#5A7291 #5D5A91 #785A91
triadic
#5D5A91 #915D5A #5A915D
tetradic
#5D5A91 #915A72 #8E915A #5A9178
square
#5D5A91 #915A72 #8E915A #5A9178
split-complementary
#5D5A91 #91785A #72915A
monochromatic
#2D2B45 #45436B #5D5A91 #7E7BAD #A3A1C5

Accessibility & contrast

On white

6.29
#5D5A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#5D5A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5A91
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5A91#FFFFFF#000000##FFFFFF
##5D5A911.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#496293
Deuteranopia (green-blind)
#475E90
Tritanopia (blue-blind)
#4F646E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5d5a91;
/* rgb */ color: rgb(93, 90, 145);
/* oklch */ color: oklch(49.5% 0.087 285.2);
Tailwind
colors: {
  custom: {
    50: '#8d88b1',
    500: '#5d5a91',
    950: '#000000',
  },
}
SCSS
$custom: #5d5a91;
$custom-light: #8d88b1;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5a91",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 145
  },
  "hsl": {
    "h": 243.273,
    "s": 23.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.49465,
    "c": 0.08682,
    "h": 285.2
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#5D5A91
secondary
#B1B294
accent
#C068BB
background
#F8F8FA
surface
#F0EFF5
border
#CBCACF
text
#0C0B10
muted
#7D7C7F

Preview Lab

Preview with #5D5A91

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

Preview Lab → · Contrast checker → · Palette generator →

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