#5180CC

Closest named color: Cool Blue (#4984B8). oklch(60.2% 0.127 259.6), rgb(81, 128, 204).

Aa

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

About this color

#5180CC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.127 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.037 away. Black text reads best on it, at 5.30:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.127)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.30:1
White text3.95:1

Values

HEX#5180CC
RGBrgb(81, 128, 204)
HSLhsl(217, 55%, 56%)
OKLCHoklch(60.2% 0.127 259.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 #5180CC 3.95:1 AA large text Lc -72.2 Content text, not long reading
Black text on #5180CC 5.30:1 AA Lc 37.4 Non-text elements, placeholder text
#5180CC text on white 3.95:1 AA large text Lc 66.7 Content text, not long reading
#5180CC text on black 5.30:1 AA Lc -34.9 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 500.

  1. Step 50

    50

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E3EAF6

    oklch(93.5% 0.018 261.3)

  3. Step 200

    200

    #CCDAF1

    oklch(88.5% 0.035 260.4)

  4. Step 300

    300

    #A9C2E9

    oklch(80.9% 0.062 259.2)

  5. Step 400

    400

    #7BA2DF

    oklch(70.8% 0.1 259.1)

  6. Step 500

    500 (this color)

    #5180CC

    oklch(60.2% 0.127 259.6)

  7. Step 600

    600

    #3F71C3

    oklch(55.5% 0.139 259.8)

  8. Step 700

    700

    #315FA9

    oklch(49.2% 0.129 259.5)

  9. Step 800

    800

    #294E88

    oklch(42.7% 0.106 259.1)

  10. Step 900

    900

    #26416D

    oklch(37.7% 0.083 259.7)

  11. Step 950

    950

    #162640

    oklch(26.9% 0.053 259.7)

Export this scale for Tailwind in the Tailwind colors tool

#5180CC 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)#6086CF0.025
Deuteranopia (no green cones)#4F7BCA0.014
Tritanopia (no blue cones)#00919C0.109
Achromatopsia (no color)#8080800.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #5180CC

    #5180CC

    oklch(60.2% 0.127 259.6)

  • #A87600

    #A87600

    oklch(60.1% 0.125 79)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5180CC

    #5180CC

    oklch(60.2% 0.127 259.6)

  • #008DBA

    #008DBA

    oklch(60.2% 0.12 229.7)

  • #8072C7

    #8072C7

    oklch(60.2% 0.127 289.6)

Open the analogous palette in the generator

Split complementary

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

  • #5180CC

    #5180CC

    oklch(60.2% 0.127 259.6)

  • #BC6733

    #BC6733

    oklch(60.2% 0.127 49.7)

  • #86860E

    #86860E

    oklch(60.1% 0.127 109.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5180CC

    #5180CC

    oklch(60.2% 0.127 259.6)

  • #C15E61

    #C15E61

    oklch(60.2% 0.127 19.8)

  • #559345

    #559345

    oklch(60.3% 0.128 139.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5180CC

    #5180CC

    oklch(60.2% 0.127 259.6)

  • #B85E8C

    #B85E8C

    oklch(60.2% 0.128 349.7)

  • #A87600

    #A87600

    oklch(60.1% 0.125 79)

  • #009775

    #009775

    oklch(60.1% 0.12 169.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5180CC 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.