#5175AB

Closest named color: Flat Blue (#3C73A8). oklch(55.9% 0.094 258.3), rgb(81, 117, 171).

Aa

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

About this color

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

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

Values

HEX#5175AB
RGBrgb(81, 117, 171)
HSLhsl(216, 36%, 49%)
OKLCHoklch(55.9% 0.094 258.3)

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 #5175AB 4.68:1 AA Lc -77.9 Fine for body text
Black text on #5175AB 4.48:1 AA large text Lc 31.7 Non-text elements, placeholder text
#5175AB text on white 4.68:1 AA Lc 72.4 Content text, not long reading
#5175AB text on black 4.48:1 AA large text Lc -29.3 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

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #D0DAE9

    oklch(88.5% 0.023 258.4)

  4. Step 300

    300

    #B0C2DC

    oklch(80.9% 0.042 257.5)

  5. Step 400

    400

    #87A2CB

    oklch(70.7% 0.068 258.6)

  6. Step 500

    500

    #698BBE

    oklch(63.2% 0.086 258.3)

  7. Step 600

    600 (this color)

    #5175AB

    oklch(55.9% 0.094 258.3)

  8. Step 700

    700

    #416192

    oklch(49.1% 0.088 258.7)

  9. Step 800

    800

    #365076

    oklch(42.8% 0.071 257.8)

  10. Step 900

    900

    #2F425F

    oklch(37.7% 0.056 258.6)

  11. Step 950

    950

    #1B2738

    oklch(27% 0.036 257.1)

Export this scale for Tailwind in the Tailwind colors tool

#5175AB 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)#6079AD0.023
Deuteranopia (no green cones)#5570AA0.014
Tritanopia (no blue cones)#2381880.084
Achromatopsia (no color)#7474740.094

Harmonies

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

Complementary

The opposite hue (180°).

  • #5175AB

    #5175AB

    oklch(55.9% 0.094 258.3)

  • #926D2C

    #926D2C

    oklch(55.9% 0.094 78.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5175AB

    #5175AB

    oklch(55.9% 0.094 258.3)

  • #297EA0

    #297EA0

    oklch(55.8% 0.095 229)

  • #726BA8

    #726BA8

    oklch(56% 0.093 288.3)

Open the analogous palette in the generator

Split complementary

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

  • #5175AB

    #5175AB

    oklch(55.9% 0.094 258.3)

  • #A16241

    #A16241

    oklch(55.9% 0.095 47.7)

  • #797830

    #797830

    oklch(55.8% 0.094 108.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5175AB

    #5175AB

    oklch(55.9% 0.094 258.3)

  • #A45C5F

    #A45C5F

    oklch(55.8% 0.094 17.9)

  • #58814A

    #58814A

    oklch(55.9% 0.093 138.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5175AB

    #5175AB

    oklch(55.9% 0.094 258.3)

  • #9D5C7E

    #9D5C7E

    oklch(55.9% 0.095 348)

  • #926D2C

    #926D2C

    oklch(55.9% 0.094 78.7)

  • #2F866A

    #2F866A

    oklch(56% 0.094 168.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5175AB 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.