#5175AA

Closest named color: Flat Blue (#3C73A8). oklch(55.9% 0.093 257.9), rgb(81, 117, 170).

Aa

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

About this color

#5175AA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.093 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.69:1.

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

Values

HEX#5175AA
RGBrgb(81, 117, 170)
HSLhsl(216, 35%, 49%)
OKLCHoklch(55.9% 0.093 257.9)

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 #5175AA 4.69:1 AA Lc -77.9 Fine for body text
Black text on #5175AA 4.47:1 AA large text Lc 31.6 Non-text elements, placeholder text
#5175AA text on white 4.69:1 AA Lc 72.5 Content text, not long reading
#5175AA text on black 4.47:1 AA large text Lc -29.2 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

    #87A2CA

    oklch(70.6% 0.066 258.1)

  6. Step 500

    500

    #698BBD

    oklch(63.1% 0.085 257.9)

  7. Step 600

    600 (this color)

    #5175AA

    oklch(55.9% 0.093 257.9)

  8. Step 700

    700

    #416191

    oklch(49% 0.086 258.3)

  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

    #1C2738

    oklch(27.1% 0.035 258.9)

Export this scale for Tailwind in the Tailwind colors tool

#5175AA 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)#6078AC0.021
Deuteranopia (no green cones)#5570A90.014
Tritanopia (no blue cones)#2481880.083
Achromatopsia (no color)#7474740.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #5175AA

    #5175AA

    oklch(55.9% 0.093 257.9)

  • #926D2E

    #926D2E

    oklch(56% 0.093 78.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5175AA

    #5175AA

    oklch(55.9% 0.093 257.9)

  • #2B7E9F

    #2B7E9F

    oklch(55.8% 0.093 228.6)

  • #716BA7

    #716BA7

    oklch(55.8% 0.092 287.6)

Open the analogous palette in the generator

Split complementary

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

  • #5175AA

    #5175AA

    oklch(55.9% 0.093 257.9)

  • #A06242

    #A06242

    oklch(55.8% 0.093 47.5)

  • #797831

    #797831

    oklch(55.8% 0.093 108.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5175AA

    #5175AA

    oklch(55.9% 0.093 257.9)

  • #A35D5F

    #A35D5F

    oklch(55.9% 0.092 18.6)

  • #58814A

    #58814A

    oklch(55.9% 0.093 138.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5175AA

    #5175AA

    oklch(55.9% 0.093 257.9)

  • #9C5D7E

    #9C5D7E

    oklch(55.9% 0.093 347.8)

  • #926D2E

    #926D2E

    oklch(56% 0.093 78.1)

  • #318569

    #318569

    oklch(55.8% 0.092 167.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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