#5178AF

Closest named color: Steel Blue (#4682B4). oklch(56.8% 0.096 257.1), rgb(81, 120, 175).

Aa

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

About this color

#5178AF is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.096 and its hue 257°. 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.65:1.

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

Values

HEX#5178AF
RGBrgb(81, 120, 175)
HSLhsl(215, 37%, 50%)
OKLCHoklch(56.8% 0.096 257.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 #5178AF 4.51:1 AA Lc -76.7 Fine for body text
Black text on #5178AF 4.65:1 AA Lc 32.9 Non-text elements, placeholder text
#5178AF text on white 4.51:1 AA Lc 71.2 Content text, not long reading
#5178AF text on black 4.65:1 AA Lc -30.5 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #CFDAE9

    oklch(88.5% 0.024 256.1)

  4. Step 300

    300

    #AFC2DD

    oklch(80.8% 0.044 257.1)

  5. Step 400

    400

    #85A3CC

    oklch(70.8% 0.069 256.3)

  6. Step 500

    500

    #678BBF

    oklch(63.1% 0.089 257.5)

  7. Step 600

    600 (this color)

    #5178AF

    oklch(56.8% 0.096 257.1)

  8. Step 700

    700

    #3E6293

    oklch(49.2% 0.089 256.4)

  9. Step 800

    800

    #345077

    oklch(42.8% 0.074 256.8)

  10. Step 900

    900

    #2D4260

    oklch(37.6% 0.058 257.3)

  11. Step 950

    950

    #1B2738

    oklch(27% 0.036 257.1)

Export this scale for Tailwind in the Tailwind colors tool

#5178AF 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)#627BB10.023
Deuteranopia (no green cones)#5672AE0.017
Tritanopia (no blue cones)#1D848C0.085
Achromatopsia (no color)#7676760.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #5178AF

    #5178AF

    oklch(56.8% 0.096 257.1)

  • #966F2D

    #966F2D

    oklch(56.8% 0.096 77.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5178AF

    #5178AF

    oklch(56.8% 0.096 257.1)

  • #2782A3

    #2782A3

    oklch(56.9% 0.097 227)

  • #736DAD

    #736DAD

    oklch(56.7% 0.098 287.1)

Open the analogous palette in the generator

Split complementary

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

  • #5178AF

    #5178AF

    oklch(56.8% 0.096 257.1)

  • #A56443

    #A56443

    oklch(56.8% 0.097 47.1)

  • #7D7A30

    #7D7A30

    oklch(56.7% 0.096 106.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5178AF

    #5178AF

    oklch(56.8% 0.096 257.1)

  • #A85E62

    #A85E62

    oklch(56.8% 0.096 17.1)

  • #5B844A

    #5B844A

    oklch(56.8% 0.096 137)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5178AF

    #5178AF

    oklch(56.8% 0.096 257.1)

  • #A05E82

    #A05E82

    oklch(56.8% 0.098 346.8)

  • #966F2D

    #966F2D

    oklch(56.8% 0.096 77.6)

  • #30896B

    #30896B

    oklch(56.9% 0.097 167.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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