#5174B7

Closest named color: Windows Blue (#3778BF). oklch(56.3% 0.112 262.4), rgb(81, 116, 183).

Aa

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

About this color

#5174B7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.112 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.026 away. White text reads best on it, at 4.63:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.53:1
White text4.63:1

Values

HEX#5174B7
RGBrgb(81, 116, 183)
HSLhsl(219, 41%, 52%)
OKLCHoklch(56.3% 0.112 262.4)

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 #5174B7 4.63:1 AA Lc -77.5 Fine for body text
Black text on #5174B7 4.53:1 AA Lc 32.0 Non-text elements, placeholder text
#5174B7 text on white 4.63:1 AA Lc 72.0 Content text, not long reading
#5174B7 text on black 4.53:1 AA Lc -29.6 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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #CFDAEC

    oklch(88.5% 0.028 260.3)

  4. Step 300

    300

    #AFC1E2

    oklch(80.8% 0.051 262.6)

  5. Step 400

    400

    #86A1D3

    oklch(70.7% 0.08 262.5)

  6. Step 500

    500

    #6789C8

    oklch(63.1% 0.103 262.1)

  7. Step 600

    600 (this color)

    #5174B7

    oklch(56.3% 0.112 262.4)

  8. Step 700

    700

    #405F9B

    oklch(49.1% 0.103 262.5)

  9. Step 800

    800

    #354E7E

    oklch(42.7% 0.086 262.5)

  10. Step 900

    900

    #2E4165

    oklch(37.7% 0.067 262.4)

  11. Step 950

    950

    #1B263B

    oklch(26.9% 0.042 262.7)

Export this scale for Tailwind in the Tailwind colors tool

#5174B7 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)#597ABA0.020
Deuteranopia (no green cones)#4C70B60.013
Tritanopia (no blue cones)#10838D0.100
Achromatopsia (no color)#7575750.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #5174B7

    #5174B7

    oklch(56.3% 0.112 262.4)

  • #966E0E

    #966E0E

    oklch(56.4% 0.112 82.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5174B7

    #5174B7

    oklch(56.3% 0.112 262.4)

  • #1080AC

    #1080AC

    oklch(56.4% 0.112 232.3)

  • #7868B1

    #7868B1

    oklch(56.4% 0.111 292.5)

Open the analogous palette in the generator

Split complementary

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

  • #5174B7

    #5174B7

    oklch(56.3% 0.112 262.4)

  • #A86130

    #A86130

    oklch(56.4% 0.112 52.9)

  • #777C20

    #777C20

    oklch(56.4% 0.112 112.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5174B7

    #5174B7

    oklch(56.3% 0.112 262.4)

  • #AE5857

    #AE5857

    oklch(56.4% 0.113 22)

  • #4B8647

    #4B8647

    oklch(56.4% 0.112 142.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5174B7

    #5174B7

    oklch(56.3% 0.112 262.4)

  • #A7587C

    #A7587C

    oklch(56.5% 0.112 352.6)

  • #966E0E

    #966E0E

    oklch(56.4% 0.112 82.2)

  • #008A6F

    #008A6F

    oklch(56.4% 0.109 172.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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