#5A7EAB

Closest named color: Off Blue (#5684AE). oklch(58.5% 0.081 254.5), rgb(90, 126, 171).

Aa

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

About this color

#5A7EAB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 58%, its chroma 0.081 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Off Blue (#5684AE), ΔE 0.017 away. Black text reads best on it, at 5.00:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameOff Blue (#5684AE)
Black text5.00:1
White text4.19:1

Values

HEX#5A7EAB
RGBrgb(90, 126, 171)
HSLhsl(213, 33%, 51%)
OKLCHoklch(58.5% 0.081 254.5)

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 #5A7EAB 4.19:1 AA large text Lc -74.3 Content text, not long reading
Black text on #5A7EAB 5.00:1 AA Lc 35.2 Non-text elements, placeholder text
#5A7EAB text on white 4.19:1 AA large text Lc 68.8 Content text, not long reading
#5A7EAB text on black 5.00:1 AA Lc -32.8 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE7

    oklch(88.5% 0.021 254.9)

  4. Step 300

    300

    #B1C2D8

    oklch(80.8% 0.036 254.9)

  5. Step 400

    400

    #88A3C5

    oklch(70.7% 0.058 254.4)

  6. Step 500

    500

    #6A8CB6

    oklch(63.1% 0.074 254.1)

  7. Step 600

    600 (this color)

    #5A7EAB

    oklch(58.5% 0.081 254.5)

  8. Step 700

    700

    #42638B

    oklch(49.2% 0.075 253.9)

  9. Step 800

    800

    #375171

    oklch(42.9% 0.062 254.2)

  10. Step 900

    900

    #30435B

    oklch(37.8% 0.048 254.6)

  11. Step 950

    950

    #1C2735

    oklch(26.9% 0.03 254.7)

Export this scale for Tailwind in the Tailwind colors tool

#5A7EAB 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)#6D80AD0.025
Deuteranopia (no green cones)#6378AA0.019
Tritanopia (no blue cones)#38888E0.070
Achromatopsia (no color)#7C7C7C0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A7EAB

    #5A7EAB

    oklch(58.5% 0.081 254.5)

  • #987442

    #987442

    oklch(58.3% 0.081 74.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A7EAB

    #5A7EAB

    oklch(58.5% 0.081 254.5)

  • #3F869F

    #3F869F

    oklch(58.5% 0.08 223.9)

  • #7675AA

    #7675AA

    oklch(58.5% 0.081 284.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A7EAB

    #5A7EAB

    oklch(58.5% 0.081 254.5)

  • #A46C53

    #A46C53

    oklch(58.5% 0.081 44.8)

  • #837E43

    #837E43

    oklch(58.4% 0.08 104.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A7EAB

    #5A7EAB

    oklch(58.5% 0.081 254.5)

  • #A6676D

    #A6676D

    oklch(58.4% 0.081 13.7)

  • #678655

    #678655

    oklch(58.3% 0.08 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A7EAB

    #5A7EAB

    oklch(58.5% 0.081 254.5)

  • #9E6887

    #9E6887

    oklch(58.4% 0.081 344.5)

  • #987442

    #987442

    oklch(58.3% 0.081 74.1)

  • #498B6F

    #498B6F

    oklch(58.5% 0.081 164.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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