#5D628F#5D628F

#5D628F is a mid, moderate blue. Relative luminance 0.130; OKLCH L 51.1% C 0.072 H 278.7°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5D628F
RGBrgb(93, 98, 143)
HSLhsl(234, 21%, 46%)
HSVhsv(234, 35%, 56%)
CMYKcmyk(35%, 31.5%, 0%, 43.9%)
CIE-LABlab(42.83, 9.46, -25.40)
CIE-LCHlch(42.83, 27.10, 290.42°)
OKLaboklab(51.07% 0.0108 -0.0707)
OKLCHoklch(51.07% 0.072 278.7)
XYZxyz(13.8384, 13.0452, 27.7701)
Luminance0.1305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D628F #8F8A5D
analogous
#5D7B8F #5D628F #715D8F
triadic
#5D628F #8F5D62 #628F5D
tetradic
#5D628F #8F5D7B #8F8A5D #5D8F71
square
#5D628F #8F5D7B #8F8A5D #5D8F71
split-complementary
#5D628F #8F715D #7B8F5D
monochromatic
#2D2F45 #45496A #5D628F #7E83AB #A3A6C3

Accessibility & contrast

On white

5.82
#5D628F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#5D628F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D628F
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D628F#FFFFFF#000000##FFFFFF
##5D628F1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546791
Deuteranopia (green-blind)
#51638E
Tritanopia (blue-blind)
#4F6B72
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5d628f;
/* rgb */ color: rgb(93, 98, 143);
/* oklch */ color: oklch(51.1% 0.072 278.7);
Tailwind
colors: {
  custom: {
    50: '#8c8eb0',
    500: '#5d628f',
    950: '#000000',
  },
}
SCSS
$custom: #5d628f;
$custom-light: #8c8eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#5d628f",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 143
  },
  "hsl": {
    "h": 234,
    "s": 21.186,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51067,
    "c": 0.07153,
    "h": 278.7
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#5D628F
secondary
#B1AF96
accent
#B56ABE
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #5D628F

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

Preview Lab → · Contrast checker → · Palette generator →

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