#5E628D#5E628D

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

Color values

HEX#5E628D
RGBrgb(94, 98, 141)
HSLhsl(235, 20%, 46%)
HSVhsv(235, 33%, 55%)
CMYKcmyk(33.3%, 30.5%, 0%, 44.7%)
CIE-LABlab(42.82, 9.20, -24.21)
CIE-LCHlch(42.82, 25.90, 290.80°)
OKLaboklab(51.05% 0.0114 -0.0673)
OKLCHoklch(51.05% 0.068 279.6)
XYZxyz(13.7902, 13.0377, 26.9841)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E628D #8D895E
analogous
#5E798D #5E628D #715E8D
triadic
#5E628D #8D5E62 #628D5E
tetradic
#5E628D #8D5E79 #8D895E #5E8D71
square
#5E628D #8D5E79 #8D895E #5E8D71
split-complementary
#5E628D #8D715E #798D5E
monochromatic
#2D2F44 #464868 #5E628D #7F82A9 #A3A6C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E628D#FFFFFF#000000##FFFFFF
##5E628D1.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)
#55678F
Deuteranopia (green-blind)
#53648C
Tritanopia (blue-blind)
#526A71
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #5e628d;
/* rgb */ color: rgb(94, 98, 141);
/* oklch */ color: oklch(51.0% 0.068 279.6);
Tailwind
colors: {
  custom: {
    50: '#8d8eae',
    500: '#5e628d',
    950: '#000000',
  },
}
SCSS
$custom: #5e628d;
$custom-light: #8d8eae;
$custom-dark: #000000;
JSON
{
  "hex": "#5e628d",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 141
  },
  "hsl": {
    "h": 234.894,
    "s": 20,
    "l": 46.078
  },
  "oklch": {
    "l": 0.51048,
    "c": 0.06823,
    "h": 279.6
  },
  "luminance": 0.13038
}

Semantic roles & 50–950 ramp

primary
#5E628D
secondary
#B0AE97
accent
#B66BBD
background
#F8F8FA
surface
#F0F0F4
border
#CBCBCE
text
#0C0C10
muted
#7D7D7F

Preview Lab

Preview with #5E628D

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

Preview Lab → · Contrast checker → · Palette generator →

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