#5177AF

Closest named color: Flat Blue (#3C73A8). oklch(56.6% 0.097 257.9), rgb(81, 119, 175).

Aa

Black text reads best on this color (4.60:1).

About this color

#5177AF is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.097 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.028 away. Black text reads best on it, at 4.60:1.

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

Values

HEX#5177AF
RGBrgb(81, 119, 175)
HSLhsl(216, 37%, 50%)
OKLCHoklch(56.6% 0.097 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 #5177AF 4.55:1 AA Lc -77.0 Fine for body text
Black text on #5177AF 4.60:1 AA Lc 32.6 Non-text elements, placeholder text
#5177AF text on white 4.55:1 AA Lc 71.5 Content text, not long reading
#5177AF text on black 4.60:1 AA Lc -30.1 Non-text elements, placeholder text

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

    #CFDAEA

    oklch(88.5% 0.025 257.6)

  4. Step 300

    300

    #AFC2DD

    oklch(80.8% 0.044 257.1)

  5. Step 400

    400

    #86A2CD

    oklch(70.7% 0.071 258.8)

  6. Step 500

    500

    #678BC0

    oklch(63.2% 0.09 257.9)

  7. Step 600

    600 (this color)

    #5177AF

    oklch(56.6% 0.097 257.9)

  8. Step 700

    700

    #3F6194

    oklch(49.1% 0.091 258.3)

  9. Step 800

    800

    #345078

    oklch(42.8% 0.075 257.3)

  10. Step 900

    900

    #2E4260

    oklch(37.6% 0.058 258.3)

  11. Step 950

    950

    #1B2738

    oklch(27% 0.036 257.1)

Export this scale for Tailwind in the Tailwind colors tool

#5177AF 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)#617BB10.024
Deuteranopia (no green cones)#5572AE0.014
Tritanopia (no blue cones)#1D838B0.086
Achromatopsia (no color)#7676760.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #5177AF

    #5177AF

    oklch(56.6% 0.097 257.9)

  • #956E2A

    #956E2A

    oklch(56.5% 0.097 78.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5177AF

    #5177AF

    oklch(56.6% 0.097 257.9)

  • #2681A3

    #2681A3

    oklch(56.6% 0.097 227.8)

  • #736CAC

    #736CAC

    oklch(56.5% 0.098 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #5177AF

    #5177AF

    oklch(56.6% 0.097 257.9)

  • #A46341

    #A46341

    oklch(56.5% 0.097 47.7)

  • #7C7A2F

    #7C7A2F

    oklch(56.6% 0.097 107.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5177AF

    #5177AF

    oklch(56.6% 0.097 257.9)

  • #A85D60

    #A85D60

    oklch(56.6% 0.098 18.1)

  • #59844A

    #59844A

    oklch(56.7% 0.098 138)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5177AF

    #5177AF

    oklch(56.6% 0.097 257.9)

  • #A05D80

    #A05D80

    oklch(56.5% 0.098 348.1)

  • #956E2A

    #956E2A

    oklch(56.5% 0.097 78.1)

  • #2D886B

    #2D886B

    oklch(56.5% 0.097 168.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5177AF 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.