#5D5EA4#5D5EA4

#5D5EA4 is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.4% C 0.109 H 281.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5D5EA4
RGBrgb(93, 94, 164)
HSLhsl(239, 28%, 50%)
HSVhsv(239, 43%, 64%)
CMYKcmyk(43.3%, 42.7%, 0%, 35.7%)
CIE-LABlab(42.78, 18.12, -38.00)
CIE-LCHlch(42.78, 42.10, 295.50°)
OKLaboklab(51.37% 0.0213 -0.1073)
OKLCHoklch(51.37% 0.109 281.2)
XYZxyz(15.2158, 13.0122, 36.8246)
Luminance0.1301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5EA4 #A4A35D
analogous
#5D81A4 #5D5EA4 #7F5DA4
triadic
#5D5EA4 #A45D5E #5EA45D
tetradic
#5D5EA4 #A45D81 #A4A35D #5DA47F
square
#5D5EA4 #A45D81 #A4A35D #5DA47F
split-complementary
#5D5EA4 #A47F5D #81A45D
monochromatic
#303156 #46477D #5D5EA4 #8485BA #ABACD0

Accessibility & contrast

On white

5.83
#5D5EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#5D5EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5EA4
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5EA4#FFFFFF#000000##FFFFFF
##5D5EA41.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4468A7
Deuteranopia (green-blind)
#4063A2
Tritanopia (blue-blind)
#476C79
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d5ea4;
/* rgb */ color: rgb(93, 94, 164);
/* oklch */ color: oklch(51.4% 0.109 281.2);
Tailwind
colors: {
  custom: {
    50: '#8e8bbf',
    500: '#5d5ea4',
    950: '#000000',
  },
}
SCSS
$custom: #5d5ea4;
$custom-light: #8e8bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5ea4",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 164
  },
  "hsl": {
    "h": 239.155,
    "s": 28.063,
    "l": 50.392
  },
  "oklch": {
    "l": 0.51372,
    "c": 0.10935,
    "h": 281.2
  },
  "luminance": 0.13013
}

Semantic roles & 50–950 ramp

primary
#5D5EA4
secondary
#BEBE9F
accent
#C363C4
background
#F8F8FB
surface
#F0F0F7
border
#CBCBD0
text
#0D0C12
muted
#7D7D81

Preview Lab

Preview with #5D5EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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