#5A71AC

Closest named color: Flat Blue (#3C73A8). oklch(55.6% 0.096 267.1), rgb(90, 113, 172).

Aa

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

About this color

#5A71AC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.096 and its hue 267°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.034 away. White text reads best on it, at 4.78:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.39:1
White text4.78:1

Values

HEX#5A71AC
RGBrgb(90, 113, 172)
HSLhsl(223, 33%, 51%)
OKLCHoklch(55.6% 0.096 267.1)

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 #5A71AC 4.78:1 AA Lc -78.5 Fine for body text
Black text on #5A71AC 4.39:1 AA large text Lc 31.0 Non-text elements, placeholder text
#5A71AC text on white 4.78:1 AA Lc 73.1 Content text, not long reading
#5A71AC text on black 4.39:1 AA large text Lc -28.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 600.

  1. Step 50

    50

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D2D9EA

    oklch(88.5% 0.025 267.9)

  4. Step 300

    300

    #B4C0DD

    oklch(80.8% 0.043 267.6)

  5. Step 400

    400

    #8DA0CD

    oklch(70.7% 0.07 266.8)

  6. Step 500

    500

    #7188C0

    oklch(63.1% 0.089 266.8)

  7. Step 600

    600 (this color)

    #5A71AC

    oklch(55.6% 0.096 267.1)

  8. Step 700

    700

    #4A5E94

    oklch(49% 0.09 267.6)

  9. Step 800

    800

    #3D4D78

    oklch(42.7% 0.075 267.7)

  10. Step 900

    900

    #344060

    oklch(37.6% 0.057 267.9)

  11. Step 950

    950

    #1E2639

    oklch(27% 0.037 266.4)

Export this scale for Tailwind in the Tailwind colors tool

#5A71AC 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)#5B76AE0.014
Deuteranopia (no green cones)#536FAB0.011
Tritanopia (no blue cones)#3A7D860.086
Achromatopsia (no color)#7272720.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #5A71AC

    #5A71AC

    oklch(55.6% 0.096 267.1)

  • #8C6F27

    #8C6F27

    oklch(55.6% 0.096 86.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5A71AC

    #5A71AC

    oklch(55.6% 0.096 267.1)

  • #327BA5

    #327BA5

    oklch(55.6% 0.097 237.5)

  • #7967A5

    #7967A5

    oklch(55.7% 0.096 296.5)

Open the analogous palette in the generator

Split complementary

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

  • #5A71AC

    #5A71AC

    oklch(55.6% 0.096 267.1)

  • #9E6437

    #9E6437

    oklch(55.7% 0.096 56.9)

  • #6F7B34

    #6F7B34

    oklch(55.7% 0.097 117.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5A71AC

    #5A71AC

    oklch(55.6% 0.096 267.1)

  • #A45C54

    #A45C54

    oklch(55.6% 0.096 27.3)

  • #4A8351

    #4A8351

    oklch(55.7% 0.097 146.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5A71AC

    #5A71AC

    oklch(55.6% 0.096 267.1)

  • #A05A74

    #A05A74

    oklch(55.6% 0.097 357)

  • #8C6F27

    #8C6F27

    oklch(55.6% 0.096 86.4)

  • #1B8572

    #1B8572

    oklch(55.5% 0.096 177.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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