#5D628D#5D628D

#5D628D is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.0% C 0.068 H 278.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#5D628D
RGBrgb(93, 98, 141)
HSLhsl(234, 21%, 46%)
HSVhsv(234, 34%, 55%)
CMYKcmyk(34%, 30.5%, 0%, 44.7%)
CIE-LABlab(42.74, 8.89, -24.34)
CIE-LCHlch(42.74, 25.91, 290.06°)
OKLaboklab(50.97% 0.0102 -0.0677)
OKLCHoklch(50.97% 0.068 278.6)
XYZxyz(13.6883, 12.9852, 26.9793)
Luminance0.1299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D628D #8D885D
analogous
#5D7A8D #5D628D #705D8D
triadic
#5D628D #8D5D62 #628D5D
tetradic
#5D628D #8D5D7A #8D885D #5D8D70
square
#5D628D #8D5D7A #8D885D #5D8D70
split-complementary
#5D628D #8D705D #7A8D5D
monochromatic
#2C2F43 #454868 #5D628D #7E82AA #A2A6C2

Accessibility & contrast

On white

5.84
#5D628D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5D628D
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D628D#FFFFFF#000000##FFFFFF
##5D628D1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55678F
Deuteranopia (green-blind)
#52638C
Tritanopia (blue-blind)
#506A71
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d628d;
/* rgb */ color: rgb(93, 98, 141);
/* oklch */ color: oklch(51.0% 0.068 278.6);
Tailwind
colors: {
  custom: {
    50: '#8c8eae',
    500: '#5d628d',
    950: '#000000',
  },
}
SCSS
$custom: #5d628d;
$custom-light: #8c8eae;
$custom-dark: #000000;
JSON
{
  "hex": "#5d628d",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 141
  },
  "hsl": {
    "h": 233.75,
    "s": 20.513,
    "l": 45.882
  },
  "oklch": {
    "l": 0.50967,
    "c": 0.06843,
    "h": 278.6
  },
  "luminance": 0.12986
}

Semantic roles & 50–950 ramp

primary
#5D628D
secondary
#B0AD96
accent
#B56BBD
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #5D628D

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

Preview Lab → · Contrast checker → · Palette generator →

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