#5178D7

Closest named color: Windows Blue (#3778BF). oklch(59.1% 0.152 265.3), rgb(81, 120, 215).

Aa

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

About this color

#5178D7 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.152 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.046 away. Black text reads best on it, at 5.01:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.152)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text5.01:1
White text4.18:1

Values

HEX#5178D7
RGBrgb(81, 120, 215)
HSLhsl(223, 63%, 58%)
OKLCHoklch(59.1% 0.152 265.3)

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 #5178D7 4.18:1 AA large text Lc -74.1 Content text, not long reading
Black text on #5178D7 5.01:1 AA Lc 35.5 Non-text elements, placeholder text
#5178D7 text on white 4.18:1 AA large text Lc 68.6 Content text, not long reading
#5178D7 text on black 5.01:1 AA Lc -33.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

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CDD9F3

    oklch(88.4% 0.038 265.8)

  4. Step 300

    300

    #ABC1EE

    oklch(81% 0.068 264.5)

  5. Step 400

    400

    #7F9FE5

    oklch(70.7% 0.109 265)

  6. Step 500

    500

    #6085DD

    oklch(63% 0.139 265.4)

  7. Step 600

    600 (this color)

    #5178D7

    oklch(59.1% 0.152 265.3)

  8. Step 700

    700

    #395BB0

    oklch(49.2% 0.141 265.2)

  9. Step 800

    800

    #2F4B8E

    oklch(42.8% 0.116 264.9)

  10. Step 900

    900

    #2A3F72

    oklch(37.8% 0.091 265.4)

  11. Step 950

    950

    #192543

    oklch(27% 0.058 266.1)

Export this scale for Tailwind in the Tailwind colors tool

#5178D7 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)#4B82DB0.026
Deuteranopia (no green cones)#3676D50.027
Tritanopia (no blue cones)#008E9D0.129
Achromatopsia (no color)#7C7C7C0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #5178D7

    #5178D7

    oklch(59.1% 0.152 265.3)

  • #9E7700

    #9E7700

    oklch(59.2% 0.121 85.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5178D7

    #5178D7

    oklch(59.1% 0.152 265.3)

  • #0088BD

    #0088BD

    oklch(59.2% 0.125 234.9)

  • #8667CD

    #8667CD

    oklch(59.1% 0.152 295.4)

Open the analogous palette in the generator

Split complementary

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

  • #5178D7

    #5178D7

    oklch(59.1% 0.152 265.3)

  • #BD6100

    #BD6100

    oklch(59.1% 0.146 55.2)

  • #7B8600

    #7B8600

    oklch(59.1% 0.134 115.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5178D7

    #5178D7

    oklch(59.1% 0.152 265.3)

  • #C8524D

    #C8524D

    oklch(59.1% 0.152 25.2)

  • #34943F

    #34943F

    oklch(59.1% 0.152 145.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5178D7

    #5178D7

    oklch(59.1% 0.152 265.3)

  • #C05182

    #C05182

    oklch(59.2% 0.151 355.1)

  • #9E7700

    #9E7700

    oklch(59.2% 0.121 85.6)

  • #00937A

    #00937A

    oklch(59.2% 0.112 175)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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