#5178BA

Closest named color: Windows Blue (#3778BF). oklch(57.4% 0.112 260.4), rgb(81, 120, 186).

Aa

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

About this color

#5178BA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.112 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.025 away. Black text reads best on it, at 4.74:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.74:1
White text4.42:1

Values

HEX#5178BA
RGBrgb(81, 120, 186)
HSLhsl(218, 43%, 52%)
OKLCHoklch(57.4% 0.112 260.4)

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 #5178BA 4.42:1 AA large text Lc -76.0 Fine for body text
Black text on #5178BA 4.74:1 AA Lc 33.5 Non-text elements, placeholder text
#5178BA text on white 4.42:1 AA large text Lc 70.5 Content text, not long reading
#5178BA text on black 4.74:1 AA Lc -31.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

    #F3F6FA

    oklch(97.2% 0.006 255.5)

  2. Step 100

    100

    #E4EAF4

    oklch(93.5% 0.015 260.7)

  3. Step 200

    200

    #CFDAEC

    oklch(88.5% 0.028 260.3)

  4. Step 300

    300

    #AEC2E2

    oklch(81% 0.05 259.8)

  5. Step 400

    400

    #84A2D3

    oklch(70.8% 0.08 260.1)

  6. Step 500

    500

    #658AC8

    oklch(63.2% 0.103 260.4)

  7. Step 600

    600 (this color)

    #5178BA

    oklch(57.4% 0.112 260.4)

  8. Step 700

    700

    #3D609B

    oklch(49.1% 0.103 260.3)

  9. Step 800

    800

    #334E7E

    oklch(42.6% 0.087 261.2)

  10. Step 900

    900

    #2C4165

    oklch(37.6% 0.068 260.7)

  11. Step 950

    950

    #1A273B

    oklch(27.1% 0.042 258.8)

Export this scale for Tailwind in the Tailwind colors tool

#5178BA 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)#5D7DBD0.021
Deuteranopia (no green cones)#5073B90.014
Tritanopia (no blue cones)#0487900.101
Achromatopsia (no color)#7878780.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #5178BA

    #5178BA

    oklch(57.4% 0.112 260.4)

  • #9A7016

    #9A7016

    oklch(57.3% 0.111 80.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5178BA

    #5178BA

    oklch(57.4% 0.112 260.4)

  • #0F84AE

    #0F84AE

    oklch(57.5% 0.112 230.2)

  • #796CB5

    #796CB5

    oklch(57.5% 0.111 290.7)

Open the analogous palette in the generator

Split complementary

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

  • #5178BA

    #5178BA

    oklch(57.4% 0.112 260.4)

  • #AC6336

    #AC6336

    oklch(57.4% 0.112 50.6)

  • #7C7E22

    #7C7E22

    oklch(57.4% 0.112 110.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5178BA

    #5178BA

    oklch(57.4% 0.112 260.4)

  • #B15B5C

    #B15B5C

    oklch(57.4% 0.112 20.5)

  • #528847

    #528847

    oklch(57.3% 0.111 140.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5178BA

    #5178BA

    oklch(57.4% 0.112 260.4)

  • #A95B81

    #A95B81

    oklch(57.4% 0.111 350.6)

  • #9A7016

    #9A7016

    oklch(57.3% 0.111 80.6)

  • #088D6F

    #088D6F

    oklch(57.3% 0.111 170.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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