#5A628C

Closest named color: Dusky Blue (#475F94). oklch(50.7% 0.068 275.4), rgb(90, 98, 140).

Aa

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

About this color

#5A628C is a medium-dark, muted blue. In OKLCH its lightness is 51%, its chroma 0.068 and its hue 275°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.031 away. White text reads best on it, at 5.89:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamuted (0.068)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.56:1
White text5.89:1

Values

HEX#5A628C
RGBrgb(90, 98, 140)
HSLhsl(230, 22%, 45%)
OKLCHoklch(50.7% 0.068 275.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 #5A628C 5.89:1 AA Lc -84.7 Fine for body text
Black text on #5A628C 3.56:1 AA large text Lc 24.6 Dividers and decoration only
#5A628C text on white 5.89:1 AA Lc 79.5 Fine for body text
#5A628C text on black 3.56:1 AA large text Lc -22.3 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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D5D8E5

    oklch(88.4% 0.018 275.6)

  4. Step 300

    300

    #BABFD6

    oklch(80.8% 0.033 275.9)

  5. Step 400

    400

    #979EC2

    oklch(70.6% 0.053 276.3)

  6. Step 500

    500

    #7E87B2

    oklch(63.2% 0.066 275.2)

  7. Step 600

    600

    #67709E

    oklch(55.6% 0.072 275.3)

  8. Step 700

    700 (this color)

    #5A628C

    oklch(50.7% 0.068 275.4)

  9. Step 800

    800

    #464C6E

    oklch(42.6% 0.057 276)

  10. Step 900

    900

    #3B4059

    oklch(37.8% 0.043 275.4)

  11. Step 950

    950

    #222534

    oklch(26.8% 0.028 275.6)

Export this scale for Tailwind in the Tailwind colors tool

#5A628C 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)#55668E0.012
Deuteranopia (no green cones)#51628B0.013
Tritanopia (no blue cones)#4C6A710.060
Achromatopsia (no color)#6464640.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A628C

    #5A628C

    oklch(50.7% 0.068 275.4)

  • #716536

    #716536

    oklch(50.7% 0.068 95.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A628C

    #5A628C

    oklch(50.7% 0.068 275.4)

  • #43698A

    #43698A

    oklch(50.7% 0.068 245.9)

  • #6E5B84

    #6E5B84

    oklch(50.6% 0.067 305.3)

Open the analogous palette in the generator

Split complementary

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

  • #5A628C

    #5A628C

    oklch(50.7% 0.068 275.4)

  • #805D3A

    #805D3A

    oklch(50.7% 0.068 65.3)

  • #5C6C41

    #5C6C41

    oklch(50.7% 0.067 125.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A628C

    #5A628C

    oklch(50.7% 0.068 275.4)

  • #87574A

    #87574A

    oklch(50.6% 0.068 35.9)

  • #447154

    #447154

    oklch(50.7% 0.068 154.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A628C

    #5A628C

    oklch(50.7% 0.068 275.4)

  • #865560

    #865560

    oklch(50.7% 0.067 5.1)

  • #716536

    #716536

    oklch(50.7% 0.068 95.4)

  • #30726A

    #30726A

    oklch(50.7% 0.068 184.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5A628C 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.