#5178A1

Closest named color: Stormy Blue (#507B9C). oklch(56.1% 0.078 250.5), rgb(81, 120, 161).

Aa

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

About this color

#5178A1 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.078 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Stormy Blue (#507B9C), ΔE 0.013 away. White text reads best on it, at 4.61:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameStormy Blue (#507B9C)
Black text4.55:1
White text4.61:1

Values

HEX#5178A1
RGBrgb(81, 120, 161)
HSLhsl(211, 33%, 47%)
OKLCHoklch(56.1% 0.078 250.5)

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 #5178A1 4.61:1 AA Lc -77.4 Fine for body text
Black text on #5178A1 4.55:1 AA Lc 32.1 Non-text elements, placeholder text
#5178A1 text on white 4.61:1 AA Lc 72.0 Content text, not long reading
#5178A1 text on black 4.55:1 AA Lc -29.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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE6

    oklch(88.4% 0.02 252.9)

  4. Step 300

    300

    #B0C3D7

    oklch(80.9% 0.035 249.6)

  5. Step 400

    400

    #87A4C3

    oklch(70.8% 0.056 250.3)

  6. Step 500

    500

    #688DB4

    oklch(63.1% 0.072 250.3)

  7. Step 600

    600 (this color)

    #5178A1

    oklch(56.1% 0.078 250.5)

  8. Step 700

    700

    #406488

    oklch(49.2% 0.071 249.5)

  9. Step 800

    800

    #35516F

    oklch(42.6% 0.061 251)

  10. Step 900

    900

    #2E435A

    oklch(37.6% 0.048 251.4)

  11. Step 950

    950

    #1B2835

    oklch(27.1% 0.03 249)

Export this scale for Tailwind in the Tailwind colors tool

#5178A1 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)#6879A30.029
Deuteranopia (no green cones)#5D71A00.023
Tritanopia (no blue cones)#2C81860.067
Achromatopsia (no color)#7575750.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #5178A1

    #5178A1

    oklch(56.1% 0.078 250.5)

  • #926D3F

    #926D3F

    oklch(56.2% 0.078 71.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5178A1

    #5178A1

    oklch(56.1% 0.078 250.5)

  • #387F95

    #387F95

    oklch(56% 0.078 221.2)

  • #6C6FA2

    #6C6FA2

    oklch(56% 0.079 280.9)

Open the analogous palette in the generator

Split complementary

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

  • #5178A1

    #5178A1

    oklch(56.1% 0.078 250.5)

  • #9C6551

    #9C6551

    oklch(56.1% 0.078 40.7)

  • #7F763D

    #7F763D

    oklch(56.1% 0.078 100.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5178A1

    #5178A1

    oklch(56.1% 0.078 250.5)

  • #9D616A

    #9D616A

    oklch(56.1% 0.079 10.2)

  • #657E4D

    #657E4D

    oklch(56.1% 0.077 130.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5178A1

    #5178A1

    oklch(56.1% 0.078 250.5)

  • #946283

    #946283

    oklch(56% 0.079 340.2)

  • #926D3F

    #926D3F

    oklch(56.2% 0.078 71.1)

  • #488365

    #488365

    oklch(56.1% 0.078 160.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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