#5A627C

Closest named color: Slate (#516572). oklch(49.9% 0.043 271.4), rgb(90, 98, 124).

Aa

White text reads best on this color (6.04:1).

About this color

#5A627C is a medium-dark, muted blue. In OKLCH its lightness is 50%, its chroma 0.043 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Slate (#516572), ΔE 0.025 away. White text reads best on it, at 6.04:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromamuted (0.043)
Temperaturecool
Nearest nameSlate (#516572)
Black text3.47:1
White text6.04:1

Values

HEX#5A627C
RGBrgb(90, 98, 124)
HSLhsl(226, 16%, 42%)
OKLCHoklch(49.9% 0.043 271.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #5A627C 6.04:1 AA Lc -85.4 Fine for body text
Black text on #5A627C 3.47:1 AA large text Lc 23.8 Dividers and decoration only
#5A627C text on white 6.04:1 AA Lc 80.2 Fine for body text
#5A627C text on black 3.47:1 AA large text Lc -21.6 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #F5F5F7

    oklch(97.1% 0.003 286.4)

  2. Step 100

    100

    #E8EAEE

    oklch(93.7% 0.006 264.5)

  3. Step 200

    200

    #D6D9E1

    oklch(88.5% 0.011 269.5)

  4. Step 300

    300

    #BBC0CE

    oklch(80.8% 0.02 270.2)

  5. Step 400

    400

    #99A0B6

    oklch(70.7% 0.033 271.5)

  6. Step 500

    500

    #8088A4

    oklch(63% 0.043 272.6)

  7. Step 600

    600

    #69728F

    oklch(55.5% 0.046 271.4)

  8. Step 700

    700 (this color)

    #5A627C

    oklch(49.9% 0.043 271.4)

  9. Step 800

    800

    #484E63

    oklch(42.7% 0.036 272.4)

  10. Step 900

    900

    #3C4151

    oklch(37.7% 0.028 271.4)

  11. Step 950

    950

    #23262F

    oklch(26.9% 0.017 270.7)

Export this scale for Tailwind in the Tailwind colors tool

#5A627C with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#5A647D0.006
Deuteranopia (no green cones)#58617B0.005
Tritanopia (no blue cones)#51676B0.038
Achromatopsia (no color)#6363630.043

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #5A627C

    #5A627C

    oklch(49.9% 0.043 271.4)

  • #6C6347

    #6C6347

    oklch(50.1% 0.043 92.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A627C

    #5A627C

    oklch(49.9% 0.043 271.4)

  • #4D667A

    #4D667A

    oklch(49.8% 0.044 242.9)

  • #675E78

    #675E78

    oklch(50% 0.042 300.7)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #5A627C

    #5A627C

    oklch(49.9% 0.043 271.4)

  • #755E4A

    #755E4A

    oklch(49.9% 0.043 62.6)

  • #5F674C

    #5F674C

    oklch(49.9% 0.042 121.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A627C

    #5A627C

    oklch(49.9% 0.043 271.4)

  • #7A5A54

    #7A5A54

    oklch(49.9% 0.044 30.7)

  • #516A57

    #516A57

    oklch(49.8% 0.042 152)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A627C

    #5A627C

    oklch(49.9% 0.043 271.4)

  • #785961

    #785961

    oklch(49.9% 0.042 1.7)

  • #6C6347

    #6C6347

    oklch(50.1% 0.043 92.4)

  • #476B65

    #476B65

    oklch(49.9% 0.042 183)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #5A627C, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #5A627C in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.