#5271A0

Closest named color: Dull Blue (#49759C). oklch(54.5% 0.082 258.5), rgb(82, 113, 160).

Aa

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

About this color

#5271A0 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.082 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Dull Blue (#49759C), ΔE 0.017 away. White text reads best on it, at 4.96:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.082)
Temperaturecool
Nearest nameDull Blue (#49759C)
Black text4.22:1
White text4.96:1

Values

HEX#5271A0
RGBrgb(82, 113, 160)
HSLhsl(216, 32%, 47%)
OKLCHoklch(54.5% 0.082 258.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 #5271A0 4.96:1 AA Lc -79.7 Fine for body text
Black text on #5271A0 4.22:1 AA large text Lc 29.8 Dividers and decoration only
#5271A0 text on white 4.96:1 AA Lc 74.3 Content text, not long reading
#5271A0 text on black 4.22:1 AA large text Lc -27.4 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E6EAF1

    oklch(93.6% 0.01 261.8)

  3. Step 200

    200

    #D1DAE7

    oklch(88.5% 0.02 257.5)

  4. Step 300

    300

    #B2C2D9

    oklch(80.9% 0.037 257.4)

  5. Step 400

    400

    #8AA2C6

    oklch(70.7% 0.059 258.4)

  6. Step 500

    500

    #6D8BB8

    oklch(63.2% 0.076 258.3)

  7. Step 600

    600 (this color)

    #5271A0

    oklch(54.5% 0.082 258.5)

  8. Step 700

    700

    #45618C

    oklch(49% 0.077 258.7)

  9. Step 800

    800

    #395072

    oklch(42.8% 0.064 258)

  10. Step 900

    900

    #31425C

    oklch(37.6% 0.05 258.7)

  11. Step 950

    950

    #1D2736

    oklch(27% 0.031 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#5271A0 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)#5F74A20.020
Deuteranopia (no green cones)#566C9F0.014
Tritanopia (no blue cones)#317B820.072
Achromatopsia (no color)#7070700.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #5271A0

    #5271A0

    oklch(54.5% 0.082 258.5)

  • #8A6A34

    #8A6A34

    oklch(54.5% 0.082 78.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5271A0

    #5271A0

    oklch(54.5% 0.082 258.5)

  • #347996

    #347996

    oklch(54.4% 0.082 228.7)

  • #6E689D

    #6E689D

    oklch(54.5% 0.082 288.6)

Open the analogous palette in the generator

Split complementary

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

  • #5271A0

    #5271A0

    oklch(54.5% 0.082 258.5)

  • #976144

    #976144

    oklch(54.5% 0.082 48.7)

  • #747437

    #747437

    oklch(54.5% 0.083 108.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5271A0

    #5271A0

    oklch(54.5% 0.082 258.5)

  • #9A5C5D

    #9A5C5D

    oklch(54.5% 0.082 19)

  • #577C4C

    #577C4C

    oklch(54.6% 0.083 138.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5271A0

    #5271A0

    oklch(54.5% 0.082 258.5)

  • #945C78

    #945C78

    oklch(54.6% 0.082 348.8)

  • #8A6A34

    #8A6A34

    oklch(54.5% 0.082 78.7)

  • #378067

    #378067

    oklch(54.6% 0.084 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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