#5178CA

Closest named color: Windows Blue (#3778BF). oklch(58.3% 0.134 263.6), rgb(81, 120, 202).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.134)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.88:1
White text4.29:1

Values

HEX#5178CA
RGBrgb(81, 120, 202)
HSLhsl(221, 53%, 55%)
OKLCHoklch(58.3% 0.134 263.6)

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 #5178CA 4.29:1 AA large text Lc -75.0 Content text, not long reading
Black text on #5178CA 4.88:1 AA Lc 34.6 Non-text elements, placeholder text
#5178CA text on white 4.29:1 AA large text Lc 69.5 Content text, not long reading
#5178CA text on black 4.88:1 AA Lc -32.2 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E4EAF6

    oklch(93.6% 0.017 264.5)

  3. Step 200

    200

    #CEDAF0

    oklch(88.6% 0.033 262.7)

  4. Step 300

    300

    #ADC1E8

    oklch(80.9% 0.06 263.7)

  5. Step 400

    400

    #81A0DD

    oklch(70.6% 0.096 263.4)

  6. Step 500

    500

    #6287D4

    oklch(63% 0.124 263.8)

  7. Step 600

    600 (this color)

    #5178CA

    oklch(58.3% 0.134 263.6)

  8. Step 700

    700

    #3B5DA7

    oklch(49.1% 0.125 263.8)

  9. Step 800

    800

    #314C87

    oklch(42.6% 0.103 264)

  10. Step 900

    900

    #2B406C

    oklch(37.7% 0.08 263.7)

  11. Step 950

    950

    #19263F

    oklch(27% 0.05 262.6)

Export this scale for Tailwind in the Tailwind colors tool

#5178CA 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)#5480CD0.022
Deuteranopia (no green cones)#4475C80.017
Tritanopia (no blue cones)#008A970.116
Achromatopsia (no color)#7A7A7A0.134

Harmonies

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

Complementary

The opposite hue (180°).

  • #5178CA

    #5178CA

    oklch(58.3% 0.134 263.6)

  • #9D7400

    #9D7400

    oklch(58.4% 0.12 83.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5178CA

    #5178CA

    oklch(58.3% 0.134 263.6)

  • #0086B7

    #0086B7

    oklch(58.4% 0.121 233.2)

  • #8069C2

    #8069C2

    oklch(58.3% 0.134 293.7)

Open the analogous palette in the generator

Split complementary

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

  • #5178CA

    #5178CA

    oklch(58.3% 0.134 263.6)

  • #B7611D

    #B7611D

    oklch(58.3% 0.134 53.4)

  • #7C8300

    #7C8300

    oklch(58.4% 0.131 113.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5178CA

    #5178CA

    oklch(58.3% 0.134 263.6)

  • #BE5654

    #BE5654

    oklch(58.3% 0.135 23.3)

  • #438F43

    #438F43

    oklch(58.3% 0.134 143.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5178CA

    #5178CA

    oklch(58.3% 0.134 263.6)

  • #B65681

    #B65681

    oklch(58.4% 0.133 353.9)

  • #9D7400

    #9D7400

    oklch(58.4% 0.12 83.8)

  • #009076

    #009076

    oklch(58.3% 0.111 173.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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