#5178B2

Closest named color: Steel Blue (#4682B4). oklch(57% 0.1 258.1), rgb(81, 120, 178).

Aa

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

About this color

#5178B2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.100 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is Steel Blue (#4682B4), ΔE 0.028 away. Black text reads best on it, at 4.67:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.100)
Temperaturecool
Nearest nameSteel Blue (#4682B4)
Black text4.67:1
White text4.48:1

Values

HEX#5178B2
RGBrgb(81, 120, 178)
HSLhsl(216, 39%, 51%)
OKLCHoklch(57% 0.1 258.1)

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 #5178B2 4.48:1 AA large text Lc -76.5 Fine for body text
Black text on #5178B2 4.67:1 AA Lc 33.1 Non-text elements, placeholder text
#5178B2 text on white 4.48:1 AA large text Lc 71.0 Content text, not long reading
#5178B2 text on black 4.67:1 AA Lc -30.6 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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E5EAF3

    oklch(93.6% 0.013 262.4)

  3. Step 200

    200

    #CFDAEA

    oklch(88.5% 0.025 257.6)

  4. Step 300

    300

    #AFC2DE

    oklch(80.9% 0.045 258)

  5. Step 400

    400

    #85A2CE

    oklch(70.7% 0.072 258.6)

  6. Step 500

    500

    #668BC1

    oklch(63.1% 0.092 257.7)

  7. Step 600

    600 (this color)

    #5178B2

    oklch(57% 0.1 258.1)

  8. Step 700

    700

    #3E6195

    oklch(49.1% 0.093 258.1)

  9. Step 800

    800

    #334F79

    oklch(42.6% 0.078 258.3)

  10. Step 900

    900

    #2D4261

    oklch(37.6% 0.06 258)

  11. Step 950

    950

    #1B2739

    oklch(27.1% 0.038 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#5178B2 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)#617CB40.024
Deuteranopia (no green cones)#5573B10.014
Tritanopia (no blue cones)#18858D0.089
Achromatopsia (no color)#7777770.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #5178B2

    #5178B2

    oklch(57% 0.1 258.1)

  • #976F28

    #976F28

    oklch(56.9% 0.1 78.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5178B2

    #5178B2

    oklch(57% 0.1 258.1)

  • #2282A6

    #2282A6

    oklch(56.9% 0.101 228.5)

  • #756DAF

    #756DAF

    oklch(57% 0.1 288.3)

Open the analogous palette in the generator

Split complementary

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

  • #5178B2

    #5178B2

    oklch(57% 0.1 258.1)

  • #A76440

    #A76440

    oklch(57% 0.1 48.1)

  • #7D7B2C

    #7D7B2C

    oklch(56.9% 0.1 107.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5178B2

    #5178B2

    oklch(57% 0.1 258.1)

  • #AA5D60

    #AA5D60

    oklch(56.8% 0.1 18.3)

  • #598549

    #598549

    oklch(56.9% 0.1 137.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5178B2

    #5178B2

    oklch(57% 0.1 258.1)

  • #A25E82

    #A25E82

    oklch(57% 0.1 347.7)

  • #976F28

    #976F28

    oklch(56.9% 0.1 78.3)

  • #298A6C

    #298A6C

    oklch(57% 0.101 168.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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