#5175AE

Closest named color: Flat Blue (#3C73A8). oklch(56.1% 0.098 259.3), rgb(81, 117, 174).

Aa

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

About this color

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

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

Values

HEX#5175AE
RGBrgb(81, 117, 174)
HSLhsl(217, 36%, 50%)
OKLCHoklch(56.1% 0.098 259.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 #5175AE 4.66:1 AA Lc -77.7 Fine for body text
Black text on #5175AE 4.50:1 AA Lc 31.8 Non-text elements, placeholder text
#5175AE text on white 4.66:1 AA Lc 72.3 Content text, not long reading
#5175AE text on black 4.50:1 AA Lc -29.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

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #D0DAEA

    oklch(88.6% 0.025 259.8)

  4. Step 300

    300

    #B0C2DE

    oklch(80.9% 0.044 259.2)

  5. Step 400

    400

    #86A2CD

    oklch(70.7% 0.071 258.8)

  6. Step 500

    500

    #688AC0

    oklch(63% 0.091 259.4)

  7. Step 600

    600 (this color)

    #5175AE

    oklch(56.1% 0.098 259.3)

  8. Step 700

    700

    #406194

    oklch(49.1% 0.091 258.8)

  9. Step 800

    800

    #354F78

    oklch(42.6% 0.076 259.2)

  10. Step 900

    900

    #2E4261

    oklch(37.7% 0.059 258.9)

  11. Step 950

    950

    #1B2739

    oklch(27.1% 0.038 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#5175AE 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)#5E79B00.021
Deuteranopia (no green cones)#5370AD0.014
Tritanopia (no blue cones)#1F82890.089
Achromatopsia (no color)#7474740.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #5175AE

    #5175AE

    oklch(56.1% 0.098 259.3)

  • #936D27

    #936D27

    oklch(56% 0.098 79.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5175AE

    #5175AE

    oklch(56.1% 0.098 259.3)

  • #257FA3

    #257FA3

    oklch(56.1% 0.098 229.6)

  • #736AAA

    #736AAA

    oklch(56% 0.098 289.3)

Open the analogous palette in the generator

Split complementary

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

  • #5175AE

    #5175AE

    oklch(56.1% 0.098 259.3)

  • #A3623E

    #A3623E

    oklch(56.1% 0.098 48.8)

  • #79792D

    #79792D

    oklch(56% 0.098 109.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5175AE

    #5175AE

    oklch(56.1% 0.098 259.3)

  • #A75C5D

    #A75C5D

    oklch(56.2% 0.098 19.8)

  • #558349

    #558349

    oklch(56.2% 0.099 139.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5175AE

    #5175AE

    oklch(56.1% 0.098 259.3)

  • #9F5C7D

    #9F5C7D

    oklch(56.1% 0.097 349.8)

  • #936D27

    #936D27

    oklch(56% 0.098 79.3)

  • #27876B

    #27876B

    oklch(56.1% 0.098 169.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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