#5A628F

Closest named color: Dusky Blue (#475F94). oklch(50.8% 0.072 275.8), rgb(90, 98, 143).

Aa

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

About this color

#5A628F is a medium-dark, moderately saturated blue. In OKLCH its lightness is 51%, its chroma 0.072 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Dusky Blue (#475F94), ΔE 0.030 away. White text reads best on it, at 5.86:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameDusky Blue (#475F94)
Black text3.57:1
White text5.86:1

Values

HEX#5A628F
RGBrgb(90, 98, 143)
HSLhsl(231, 23%, 46%)
OKLCHoklch(50.8% 0.072 275.8)

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 #5A628F 5.86:1 AA Lc -84.5 Fine for body text
Black text on #5A628F 3.57:1 AA large text Lc 24.7 Dividers and decoration only
#5A628F text on white 5.86:1 AA Lc 79.3 Fine for body text
#5A628F text on black 3.57:1 AA large text Lc -22.5 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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D5D8E6

    oklch(88.4% 0.019 276.3)

  4. Step 300

    300

    #BABFD8

    oklch(80.9% 0.036 276.6)

  5. Step 400

    400

    #969EC4

    oklch(70.6% 0.056 275.6)

  6. Step 500

    500

    #7D86B5

    oklch(63.1% 0.072 275.8)

  7. Step 600

    600

    #676FA1

    oklch(55.6% 0.078 276.6)

  8. Step 700

    700 (this color)

    #5A628F

    oklch(50.8% 0.072 275.8)

  9. Step 800

    800

    #464C70

    oklch(42.7% 0.06 276.3)

  10. Step 900

    900

    #3B405A

    oklch(37.8% 0.045 275.6)

  11. Step 950

    950

    #222535

    oklch(26.9% 0.03 276)

Export this scale for Tailwind in the Tailwind colors tool

#5A628F 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)#5467910.015
Deuteranopia (no green cones)#50638E0.014
Tritanopia (no blue cones)#4B6B720.065
Achromatopsia (no color)#6565650.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A628F

    #5A628F

    oklch(50.8% 0.072 275.8)

  • #726532

    #726532

    oklch(50.7% 0.072 95.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A628F

    #5A628F

    oklch(50.8% 0.072 275.8)

  • #416A8D

    #416A8D

    oklch(50.9% 0.073 245.6)

  • #705B87

    #705B87

    oklch(50.9% 0.072 305.8)

Open the analogous palette in the generator

Split complementary

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

  • #5A628F

    #5A628F

    oklch(50.8% 0.072 275.8)

  • #825D37

    #825D37

    oklch(50.9% 0.072 65.7)

  • #5B6D3E

    #5B6D3E

    oklch(50.8% 0.073 126)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A628F

    #5A628F

    oklch(50.8% 0.072 275.8)

  • #8A5649

    #8A5649

    oklch(50.8% 0.073 34.8)

  • #417254

    #417254

    oklch(50.8% 0.072 155.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A628F

    #5A628F

    oklch(50.8% 0.072 275.8)

  • #89545F

    #89545F

    oklch(50.9% 0.072 6.5)

  • #726532

    #726532

    oklch(50.7% 0.072 95.3)

  • #2B736C

    #2B736C

    oklch(50.9% 0.072 186.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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