#5187AA

Closest named color: Dusty Blue (#5A86AD). oklch(60% 0.079 238.4), rgb(81, 135, 170).

Aa

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

About this color

#5187AA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.079 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Dusty Blue (#5A86AD), ΔE 0.011 away. Black text reads best on it, at 5.39:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameDusty Blue (#5A86AD)
Black text5.39:1
White text3.89:1

Values

HEX#5187AA
RGBrgb(81, 135, 170)
HSLhsl(204, 35%, 49%)
OKLCHoklch(60% 0.079 238.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 #5187AA 3.89:1 AA large text Lc -71.7 Content text, not long reading
Black text on #5187AA 5.39:1 AA Lc 37.8 Non-text elements, placeholder text
#5187AA text on white 3.89:1 AA large text Lc 66.2 Content text, not long reading
#5187AA text on black 5.39:1 AA Lc -35.4 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

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF1

    oklch(93.6% 0.012 239.9)

  3. Step 200

    200

    #CDDCE6

    oklch(88.6% 0.021 236.8)

  4. Step 300

    300

    #ABC5D7

    oklch(81% 0.038 238.2)

  5. Step 400

    400

    #7DA7C3

    oklch(70.8% 0.061 237.9)

  6. Step 500

    500 (this color)

    #5187AA

    oklch(60% 0.079 238.4)

  7. Step 600

    600

    #3E7AA0

    oklch(55.6% 0.086 238.7)

  8. Step 700

    700

    #306789

    oklch(49.2% 0.08 238.5)

  9. Step 800

    800

    #29546F

    oklch(42.7% 0.066 238.5)

  10. Step 900

    900

    #26455A

    oklch(37.6% 0.052 239.7)

  11. Step 950

    950

    #172935

    oklch(27.1% 0.033 238.8)

Export this scale for Tailwind in the Tailwind colors tool

#5187AA 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)#7786AC0.045
Deuteranopia (no green cones)#6B7DA90.038
Tritanopia (no blue cones)#1E90930.062
Achromatopsia (no color)#8181810.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #5187AA

    #5187AA

    oklch(60% 0.079 238.4)

  • #A47550

    #A47550

    oklch(60.1% 0.079 58.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #5187AA

    #5187AA

    oklch(60% 0.079 238.4)

  • #3E8D99

    #3E8D99

    oklch(59.9% 0.079 208.7)

  • #6C7FB0

    #6C7FB0

    oklch(60.1% 0.078 267.7)

Open the analogous palette in the generator

Split complementary

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

  • #5187AA

    #5187AA

    oklch(60% 0.079 238.4)

  • #AA6E66

    #AA6E66

    oklch(60% 0.078 27.9)

  • #947E47

    #947E47

    oklch(60.1% 0.079 88.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #5187AA

    #5187AA

    oklch(60% 0.079 238.4)

  • #A76C80

    #A76C80

    oklch(60% 0.079 357.9)

  • #7B8750

    #7B8750

    oklch(60% 0.078 118.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #5187AA

    #5187AA

    oklch(60% 0.079 238.4)

  • #9A6F98

    #9A6F98

    oklch(59.9% 0.079 328.1)

  • #A47550

    #A47550

    oklch(60.1% 0.079 58.8)

  • #5F8D66

    #5F8D66

    oklch(59.9% 0.077 148.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #5187AA 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.