#5178B7

Closest named color: Windows Blue (#3778BF). oklch(57.2% 0.107 259.6), rgb(81, 120, 183).

Aa

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

About this color

#5178B7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.107 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.027 away. Black text reads best on it, at 4.72:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.107)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.72:1
White text4.44:1

Values

HEX#5178B7
RGBrgb(81, 120, 183)
HSLhsl(217, 41%, 52%)
OKLCHoklch(57.2% 0.107 259.6)

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 #5178B7 4.44:1 AA large text Lc -76.2 Fine for body text
Black text on #5178B7 4.72:1 AA Lc 33.4 Non-text elements, placeholder text
#5178B7 text on white 4.44:1 AA large text Lc 70.7 Content text, not long reading
#5178B7 text on black 4.72:1 AA Lc -30.9 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF3

    oklch(93.5% 0.014 258.3)

  3. Step 200

    200

    #CFDAEB

    oklch(88.5% 0.026 259)

  4. Step 300

    300

    #AFC2E0

    oklch(80.9% 0.047 259.5)

  5. Step 400

    400

    #84A2D1

    oklch(70.7% 0.077 259.2)

  6. Step 500

    500

    #658AC5

    oklch(63.1% 0.099 259.5)

  7. Step 600

    600 (this color)

    #5178B7

    oklch(57.2% 0.107 259.6)

  8. Step 700

    700

    #3D6099

    oklch(49% 0.101 259.7)

  9. Step 800

    800

    #334F7C

    oklch(42.7% 0.083 259.5)

  10. Step 900

    900

    #2D4264

    oklch(37.8% 0.064 259.7)

  11. Step 950

    950

    #1A273A

    oklch(27% 0.04 257.8)

Export this scale for Tailwind in the Tailwind colors tool

#5178B7 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)#5F7DBA0.023
Deuteranopia (no green cones)#5273B60.014
Tritanopia (no blue cones)#0E868F0.096
Achromatopsia (no color)#7777770.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #5178B7

    #5178B7

    oklch(57.2% 0.107 259.6)

  • #99701E

    #99701E

    oklch(57.2% 0.107 80)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5178B7

    #5178B7

    oklch(57.2% 0.107 259.6)

  • #1883AB

    #1883AB

    oklch(57.2% 0.108 229.9)

  • #776CB3

    #776CB3

    oklch(57.2% 0.108 289.6)

Open the analogous palette in the generator

Split complementary

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

  • #5178B7

    #5178B7

    oklch(57.2% 0.107 259.6)

  • #AA633A

    #AA633A

    oklch(57.2% 0.107 49.4)

  • #7D7D26

    #7D7D26

    oklch(57.3% 0.107 109.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5178B7

    #5178B7

    oklch(57.2% 0.107 259.6)

  • #AE5C5E

    #AE5C5E

    oklch(57.2% 0.107 19.5)

  • #558748

    #558748

    oklch(57.2% 0.107 139.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5178B7

    #5178B7

    oklch(57.2% 0.107 259.6)

  • #A65C81

    #A65C81

    oklch(57.2% 0.107 349.7)

  • #99701E

    #99701E

    oklch(57.2% 0.107 80)

  • #198C6E

    #198C6E

    oklch(57.2% 0.107 169.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5178B7 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.