#5A7FA1

Closest named color: Stormy Blue (#507B9C). oklch(58.2% 0.067 246.9), rgb(90, 127, 161).

Aa

Black text reads best on this color (4.98:1).

About this color

#5A7FA1 is a medium-dark, muted blue. In OKLCH its lightness is 58%, its chroma 0.067 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Stormy Blue (#507B9C), ΔE 0.018 away. Black text reads best on it, at 4.98:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamuted (0.067)
Temperaturecool
Nearest nameStormy Blue (#507B9C)
Black text4.98:1
White text4.21:1

Values

HEX#5A7FA1
RGBrgb(90, 127, 161)
HSLhsl(209, 28%, 49%)
OKLCHoklch(58.2% 0.067 246.9)

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 #5A7FA1 4.21:1 AA large text Lc -74.5 Content text, not long reading
Black text on #5A7FA1 4.98:1 AA Lc 35.1 Non-text elements, placeholder text
#5A7FA1 text on white 4.21:1 AA large text Lc 69.0 Content text, not long reading
#5A7FA1 text on black 4.98:1 AA Lc -32.7 Non-text elements, placeholder text

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 600.

  1. Step 50

    50

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EAEF

    oklch(93.5% 0.009 247.9)

  3. Step 200

    200

    #D1DAE4

    oklch(88.4% 0.017 250.9)

  4. Step 300

    300

    #B2C3D4

    oklch(81% 0.03 248.2)

  5. Step 400

    400

    #89A4BE

    oklch(70.7% 0.049 247.5)

  6. Step 500

    500

    #6B8DAD

    oklch(63% 0.062 247.3)

  7. Step 600

    600 (this color)

    #5A7FA1

    oklch(58.2% 0.067 246.9)

  8. Step 700

    700

    #436482

    oklch(49.1% 0.062 246.8)

  9. Step 800

    800

    #37526A

    oklch(42.7% 0.052 246.2)

  10. Step 900

    900

    #304456

    oklch(37.8% 0.04 246.3)

  11. Step 950

    950

    #1C2832

    oklch(27% 0.025 244)

Export this scale for Tailwind in the Tailwind colors tool

#5A7FA1 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)#717FA30.030
Deuteranopia (no green cones)#6878A00.025
Tritanopia (no blue cones)#3E878A0.057
Achromatopsia (no color)#7B7B7B0.067

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7FA1

    #5A7FA1

    oklch(58.2% 0.067 246.9)

  • #96734F

    #96734F

    oklch(58.1% 0.067 66.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7FA1

    #5A7FA1

    oklch(58.2% 0.067 246.9)

  • #498595

    #498595

    oklch(58.2% 0.067 217.1)

  • #7178A3

    #7178A3

    oklch(58.4% 0.067 277)

Open the analogous palette in the generator

Split complementary

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

  • #5A7FA1

    #5A7FA1

    oklch(58.2% 0.067 246.9)

  • #9E6D5F

    #9E6D5F

    oklch(58.2% 0.067 36.6)

  • #867B4C

    #867B4C

    oklch(58.1% 0.067 96.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7FA1

    #5A7FA1

    oklch(58.2% 0.067 246.9)

  • #9E6A74

    #9E6A74

    oklch(58.2% 0.068 6.8)

  • #708357

    #708357

    oklch(58.3% 0.068 127.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7FA1

    #5A7FA1

    oklch(58.2% 0.067 246.9)

  • #956C8A

    #956C8A

    oklch(58.3% 0.067 336.5)

  • #96734F

    #96734F

    oklch(58.1% 0.067 66.7)

  • #59876B

    #59876B

    oklch(58.2% 0.066 156.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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