#5C627E#5C627E

#5C627E is a mid, muted blue. Relative luminance 0.125; OKLCH L 50.2% C 0.045 H 275.2°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5C627E
RGBrgb(92, 98, 126)
HSLhsl(229, 16%, 43%)
HSVhsv(229, 27%, 49%)
CMYKcmyk(27%, 22.2%, 0%, 50.6%)
CIE-LABlab(42.03, 4.47, -16.40)
CIE-LCHlch(42.03, 17.00, 285.25°)
OKLaboklab(50.18% 0.0041 -0.0451)
OKLCHoklch(50.18% 0.045 275.2)
XYZxyz(12.5462, 12.5167, 21.4896)
Luminance0.1252 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C627E #7E785C
analogous
#5C737E #5C627E #675C7E
triadic
#5C627E #7E5C62 #627E5C
tetradic
#5C627E #7E5C73 #7E785C #5C7E67
square
#5C627E #7E5C73 #7E785C #5C7E67
split-complementary
#5C627E #7E675C #737E5C
monochromatic
#282B37 #42465B #5C627E #7A809E #9DA2B7

Accessibility & contrast

On white

5.99
#5C627E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#5C627E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C627E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C627E#FFFFFF#000000##FFFFFF
##5C627E1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A657F
Deuteranopia (green-blind)
#58627D
Tritanopia (blue-blind)
#54676B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5c627e;
/* rgb */ color: rgb(92, 98, 126);
/* oklch */ color: oklch(50.2% 0.045 275.2);
Tailwind
colors: {
  custom: {
    50: '#8b8ea3',
    500: '#5c627e',
    950: '#000000',
  },
}
SCSS
$custom: #5c627e;
$custom-light: #8b8ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#5c627e",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 126
  },
  "hsl": {
    "h": 229.412,
    "s": 15.596,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50182,
    "c": 0.04526,
    "h": 275.2
  },
  "luminance": 0.12517
}

Semantic roles & 50–950 ramp

primary
#5C627E
secondary
#A6A290
accent
#AB6FB8
background
#F8F8FA
surface
#F0F0F3
border
#CBCBCD
text
#0C0C0F
muted
#7D7D7F

Preview Lab

Preview with #5C627E

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

Preview Lab → · Contrast checker → · Palette generator →

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