#5178A3

Closest named color: Stormy Blue (#507B9C). oklch(56.2% 0.08 251.7), rgb(81, 120, 163).

Aa

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

About this color

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

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

Values

HEX#5178A3
RGBrgb(81, 120, 163)
HSLhsl(211, 34%, 48%)
OKLCHoklch(56.2% 0.08 251.7)

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 #5178A3 4.59:1 AA Lc -77.3 Fine for body text
Black text on #5178A3 4.56:1 AA Lc 32.2 Non-text elements, placeholder text
#5178A3 text on white 4.59:1 AA Lc 71.9 Content text, not long reading
#5178A3 text on black 4.56:1 AA Lc -29.8 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  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

    #B0C3D8

    oklch(80.9% 0.036 250.9)

  5. Step 400

    400

    #87A4C4

    oklch(70.8% 0.057 251.1)

  6. Step 500

    500

    #688DB5

    oklch(63.2% 0.073 251)

  7. Step 600

    600 (this color)

    #5178A3

    oklch(56.2% 0.08 251.7)

  8. Step 700

    700

    #40638A

    oklch(49% 0.075 252)

  9. Step 800

    800

    #355170

    oklch(42.7% 0.062 251.8)

  10. Step 900

    900

    #2E435B

    oklch(37.6% 0.049 252.4)

  11. Step 950

    950

    #1B2735

    oklch(26.8% 0.031 252.8)

Export this scale for Tailwind in the Tailwind colors tool

#5178A3 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)#677AA50.029
Deuteranopia (no green cones)#5D72A20.021
Tritanopia (no blue cones)#2A82870.070
Achromatopsia (no color)#7575750.080

Harmonies

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

Complementary

The opposite hue (180°).

  • #5178A3

    #5178A3

    oklch(56.2% 0.08 251.7)

  • #926D3D

    #926D3D

    oklch(56.1% 0.08 72.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5178A3

    #5178A3

    oklch(56.2% 0.08 251.7)

  • #368097

    #368097

    oklch(56.3% 0.081 221.5)

  • #6D6FA3

    #6D6FA3

    oklch(56.1% 0.08 281.8)

Open the analogous palette in the generator

Split complementary

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

  • #5178A3

    #5178A3

    oklch(56.2% 0.08 251.7)

  • #9D654F

    #9D654F

    oklch(56.2% 0.08 42.2)

  • #7F773C

    #7F773C

    oklch(56.3% 0.08 101.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5178A3

    #5178A3

    oklch(56.2% 0.08 251.7)

  • #9E6169

    #9E6169

    oklch(56.2% 0.08 11.4)

  • #647F4C

    #647F4C

    oklch(56.2% 0.081 131.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5178A3

    #5178A3

    oklch(56.2% 0.08 251.7)

  • #966283

    #966283

    oklch(56.3% 0.081 341.5)

  • #926D3D

    #926D3D

    oklch(56.1% 0.08 72.1)

  • #458466

    #458466

    oklch(56.2% 0.081 161.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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