#5271A6

Closest named color: Flat Blue (#3C73A8). oklch(54.8% 0.091 260.7), rgb(82, 113, 166).

Aa

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

About this color

#5271A6 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.091 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.023 away. White text reads best on it, at 4.91:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.091)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.27:1
White text4.91:1

Values

HEX#5271A6
RGBrgb(82, 113, 166)
HSLhsl(218, 34%, 49%)
OKLCHoklch(54.8% 0.091 260.7)

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 #5271A6 4.91:1 AA Lc -79.4 Fine for body text
Black text on #5271A6 4.27:1 AA large text Lc 30.1 Non-text elements, placeholder text
#5271A6 text on white 4.91:1 AA Lc 74.0 Content text, not long reading
#5271A6 text on black 4.27:1 AA large text Lc -27.7 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

    #F3F5F9

    oklch(97% 0.006 264.5)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D1DAE9

    oklch(88.6% 0.023 260.7)

  4. Step 300

    300

    #B2C2DC

    oklch(81% 0.041 260.1)

  5. Step 400

    400

    #8AA2CA

    oklch(70.8% 0.065 260.5)

  6. Step 500

    500

    #6C8ABC

    oklch(63.1% 0.083 260.4)

  7. Step 600

    600 (this color)

    #5271A6

    oklch(54.8% 0.091 260.7)

  8. Step 700

    700

    #456191

    oklch(49.2% 0.084 260.7)

  9. Step 800

    800

    #394F75

    oklch(42.7% 0.069 260.9)

  10. Step 900

    900

    #31425F

    oklch(37.8% 0.055 260.8)

  11. Step 950

    950

    #1D2737

    oklch(27.1% 0.033 259.6)

Export this scale for Tailwind in the Tailwind colors tool

#5271A6 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)#5D75A80.019
Deuteranopia (no green cones)#536DA50.011
Tritanopia (no blue cones)#2C7D840.082
Achromatopsia (no color)#7070700.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #5271A6

    #5271A6

    oklch(54.8% 0.091 260.7)

  • #8C6B2C

    #8C6B2C

    oklch(54.8% 0.09 80.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5271A6

    #5271A6

    oklch(54.8% 0.091 260.7)

  • #2D7A9C

    #2D7A9C

    oklch(54.7% 0.091 230.9)

  • #7167A2

    #7167A2

    oklch(54.8% 0.091 290.9)

Open the analogous palette in the generator

Split complementary

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

  • #5271A6

    #5271A6

    oklch(54.8% 0.091 260.7)

  • #9B613E

    #9B613E

    oklch(54.9% 0.09 51)

  • #747632

    #747632

    oklch(54.9% 0.091 110.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5271A6

    #5271A6

    oklch(54.8% 0.091 260.7)

  • #9F5A5A

    #9F5A5A

    oklch(54.7% 0.091 20.4)

  • #537E4B

    #537E4B

    oklch(54.8% 0.09 140.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5271A6

    #5271A6

    oklch(54.8% 0.091 260.7)

  • #995A78

    #995A78

    oklch(54.8% 0.091 350.5)

  • #8C6B2C

    #8C6B2C

    oklch(54.8% 0.09 80.9)

  • #2B826A

    #2B826A

    oklch(54.8% 0.091 171.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5271A6 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.