#5171BA

Closest named color: Windows Blue (#3778BF). oklch(55.9% 0.12 264.9), rgb(81, 113, 186).

Aa

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

About this color

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

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

Values

HEX#5171BA
RGBrgb(81, 113, 186)
HSLhsl(222, 43%, 52%)
OKLCHoklch(55.9% 0.12 264.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 #5171BA 4.75:1 AA Lc -78.3 Fine for body text
Black text on #5171BA 4.42:1 AA large text Lc 31.3 Non-text elements, placeholder text
#5171BA text on white 4.75:1 AA Lc 72.8 Content text, not long reading
#5171BA text on black 4.42:1 AA large text Lc -28.9 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

    #E5EAF5

    oklch(93.6% 0.016 266.3)

  3. Step 200

    200

    #CFD9EE

    oklch(88.4% 0.031 265.3)

  4. Step 300

    300

    #B0C1E4

    oklch(81% 0.053 264.7)

  5. Step 400

    400

    #86A0D7

    oklch(70.7% 0.086 264.7)

  6. Step 500

    500

    #6888CC

    oklch(63.2% 0.109 264.3)

  7. Step 600

    600 (this color)

    #5171BA

    oklch(55.9% 0.12 264.9)

  8. Step 700

    700

    #415EA0

    oklch(49.2% 0.111 264.7)

  9. Step 800

    800

    #364D81

    oklch(42.8% 0.091 264.8)

  10. Step 900

    900

    #2F4068

    oklch(37.7% 0.072 265.6)

  11. Step 950

    950

    #1B263D

    oklch(27% 0.046 264.1)

Export this scale for Tailwind in the Tailwind colors tool

#5171BA 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)#5378BD0.020
Deuteranopia (no green cones)#466EB80.016
Tritanopia (no blue cones)#09818C0.108
Achromatopsia (no color)#7373730.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #5171BA

    #5171BA

    oklch(55.9% 0.12 264.9)

  • #936D00

    #936D00

    oklch(55.8% 0.114 84.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5171BA

    #5171BA

    oklch(55.9% 0.12 264.9)

  • #007EAF

    #007EAF

    oklch(56% 0.118 234.7)

  • #7A64B2

    #7A64B2

    oklch(55.9% 0.119 295.3)

Open the analogous palette in the generator

Split complementary

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

  • #5171BA

    #5171BA

    oklch(55.9% 0.12 264.9)

  • #A85E23

    #A85E23

    oklch(55.7% 0.12 55)

  • #727C14

    #727C14

    oklch(55.9% 0.12 115.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5171BA

    #5171BA

    oklch(55.9% 0.12 264.9)

  • #AF554F

    #AF554F

    oklch(55.9% 0.119 25.5)

  • #418645

    #418645

    oklch(55.9% 0.12 144.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5171BA

    #5171BA

    oklch(55.9% 0.12 264.9)

  • #A95378

    #A95378

    oklch(55.8% 0.12 354.6)

  • #936D00

    #936D00

    oklch(55.8% 0.114 84.3)

  • #008870

    #008870

    oklch(55.9% 0.106 174.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5171BA 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.