#51587F

Closest named color: Dusk (#4E5481). oklch(47.1% 0.064 275.9), rgb(81, 88, 127).

Aa

White text reads best on this color (6.88:1).

About this color

#51587F is a medium-dark, muted blue. In OKLCH its lightness is 47%, its chroma 0.064 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.014 away. White text reads best on it, at 6.88:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamuted (0.064)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text3.05:1
White text6.88:1

Values

HEX#51587F
RGBrgb(81, 88, 127)
HSLhsl(231, 22%, 41%)
OKLCHoklch(47.1% 0.064 275.9)

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 #51587F 6.88:1 AA Lc -88.7 Fine for body text
Black text on #51587F 3.05:1 AA large text Lc 20.3 Dividers and decoration only
#51587F text on white 6.88:1 AA Lc 83.8 Fine for body text
#51587F text on black 3.05:1 AA large text Lc -18.2 Dividers and decoration only

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 700.

  1. Step 50

    50

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D6D8E5

    oklch(88.5% 0.018 279)

  4. Step 300

    300

    #BBBFD5

    oklch(80.8% 0.031 277.5)

  5. Step 400

    400

    #989FC0

    oklch(70.8% 0.049 275.7)

  6. Step 500

    500

    #7F87B0

    oklch(63.2% 0.062 275.9)

  7. Step 600

    600

    #68709C

    oklch(55.6% 0.069 276)

  8. Step 700

    700 (this color)

    #51587F

    oklch(47.1% 0.064 275.9)

  9. Step 800

    800

    #474D6C

    oklch(42.8% 0.052 275.5)

  10. Step 900

    900

    #3B4058

    oklch(37.7% 0.042 275.1)

  11. Step 950

    950

    #232533

    oklch(26.9% 0.026 278.2)

Export this scale for Tailwind in the Tailwind colors tool

#51587F 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)#4C5C810.013
Deuteranopia (no green cones)#49587E0.012
Tritanopia (no blue cones)#4460660.057
Achromatopsia (no color)#5A5A5A0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #51587F

    #51587F

    oklch(47.1% 0.064 275.9)

  • #665B2F

    #665B2F

    oklch(47.1% 0.064 95.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51587F

    #51587F

    oklch(47.1% 0.064 275.9)

  • #3C5F7D

    #3C5F7D

    oklch(47.2% 0.063 245.6)

  • #645278

    #645278

    oklch(47.2% 0.064 305.8)

Open the analogous palette in the generator

Split complementary

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

  • #51587F

    #51587F

    oklch(47.1% 0.064 275.9)

  • #745433

    #745433

    oklch(47.2% 0.064 66.1)

  • #526239

    #526239

    oklch(47.2% 0.065 126.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51587F

    #51587F

    oklch(47.1% 0.064 275.9)

  • #7B4E42

    #7B4E42

    oklch(47.2% 0.064 35.6)

  • #3C664C

    #3C664C

    oklch(47.1% 0.064 155.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51587F

    #51587F

    oklch(47.1% 0.064 275.9)

  • #7A4C56

    #7A4C56

    oklch(47.2% 0.064 5.6)

  • #665B2F

    #665B2F

    oklch(47.1% 0.064 95.7)

  • #2A6760

    #2A6760

    oklch(47.2% 0.064 185.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51587F 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.