#5170BC

Closest named color: Windows Blue (#3778BF). oklch(55.8% 0.124 265.8), rgb(81, 112, 188).

Aa

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

About this color

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

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

Values

HEX#5170BC
RGBrgb(81, 112, 188)
HSLhsl(223, 44%, 53%)
OKLCHoklch(55.8% 0.124 265.8)

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 #5170BC 4.77:1 AA Lc -78.4 Fine for body text
Black text on #5170BC 4.39:1 AA large text Lc 31.1 Non-text elements, placeholder text
#5170BC text on white 4.77:1 AA Lc 73.0 Content text, not long reading
#5170BC text on black 4.39:1 AA large text Lc -28.7 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  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

    #B0C1E6

    oklch(81% 0.056 265.7)

  5. Step 400

    400

    #86A0D9

    oklch(70.8% 0.089 265.3)

  6. Step 500

    500

    #6987CE

    oklch(63.1% 0.113 265.9)

  7. Step 600

    600 (this color)

    #5170BC

    oklch(55.8% 0.124 265.8)

  8. Step 700

    700

    #415DA2

    oklch(49.1% 0.116 265.7)

  9. Step 800

    800

    #364C83

    oklch(42.7% 0.096 266)

  10. Step 900

    900

    #2F4069

    oklch(37.8% 0.074 265.9)

  11. Step 950

    950

    #1B263D

    oklch(27% 0.046 264.1)

Export this scale for Tailwind in the Tailwind colors tool

#5170BC 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)#5078BF0.022
Deuteranopia (no green cones)#426EBA0.018
Tritanopia (no blue cones)#03818D0.111
Achromatopsia (no color)#7272720.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #5170BC

    #5170BC

    oklch(55.8% 0.124 265.8)

  • #926E00

    #926E00

    oklch(55.9% 0.114 85.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5170BC

    #5170BC

    oklch(55.8% 0.124 265.8)

  • #007DB0

    #007DB0

    oklch(55.8% 0.12 236)

  • #7B63B4

    #7B63B4

    oklch(55.9% 0.124 295.8)

Open the analogous palette in the generator

Split complementary

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

  • #5170BC

    #5170BC

    oklch(55.8% 0.124 265.8)

  • #A95D1C

    #A95D1C

    oklch(55.7% 0.124 55.7)

  • #717C0B

    #717C0B

    oklch(55.8% 0.124 115.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5170BC

    #5170BC

    oklch(55.8% 0.124 265.8)

  • #B1534D

    #B1534D

    oklch(55.8% 0.124 25.6)

  • #3C8644

    #3C8644

    oklch(55.6% 0.124 145.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5170BC

    #5170BC

    oklch(55.8% 0.124 265.8)

  • #AB5176

    #AB5176

    oklch(55.7% 0.125 356)

  • #926E00

    #926E00

    oklch(55.9% 0.114 85.8)

  • #008771

    #008771

    oklch(55.7% 0.104 175.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5170BC 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.