#51678D

Closest named color: Denim (#3B638C). oklch(51.2% 0.066 261.1), rgb(81, 103, 141).

Aa

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

About this color

#51678D is a medium-dark, muted blue. In OKLCH its lightness is 51%, its chroma 0.066 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.030 away. White text reads best on it, at 5.71:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamuted (0.066)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.67:1
White text5.71:1

Values

HEX#51678D
RGBrgb(81, 103, 141)
HSLhsl(218, 27%, 44%)
OKLCHoklch(51.2% 0.066 261.1)

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 #51678D 5.71:1 AA Lc -83.8 Fine for body text
Black text on #51678D 3.67:1 AA large text Lc 25.5 Dividers and decoration only
#51678D text on white 5.71:1 AA Lc 78.5 Fine for body text
#51678D text on black 3.67:1 AA large text Lc -23.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

    #E6EAF0

    oklch(93.6% 0.009 258.3)

  3. Step 200

    200

    #D3D9E5

    oklch(88.4% 0.018 264.5)

  4. Step 300

    300

    #B5C1D6

    oklch(80.8% 0.032 261.7)

  5. Step 400

    400

    #8FA1C1

    oklch(70.6% 0.051 261.9)

  6. Step 500

    500

    #738AB2

    oklch(63.1% 0.066 261.3)

  7. Step 600

    600

    #5C749D

    oklch(55.7% 0.07 260.9)

  8. Step 700

    700 (this color)

    #51678D

    oklch(51.2% 0.066 261.1)

  9. Step 800

    800

    #3E4F6D

    oklch(42.6% 0.055 261.5)

  10. Step 900

    900

    #354259

    oklch(37.8% 0.043 261.6)

  11. Step 950

    950

    #1F2734

    oklch(27.1% 0.027 260)

Export this scale for Tailwind in the Tailwind colors tool

#51678D 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)#59698F0.013
Deuteranopia (no green cones)#53648C0.009
Tritanopia (no blue cones)#3C6F740.059
Achromatopsia (no color)#6666660.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #51678D

    #51678D

    oklch(51.2% 0.066 261.1)

  • #7A6339

    #7A6339

    oklch(51.3% 0.066 81.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51678D

    #51678D

    oklch(51.2% 0.066 261.1)

  • #3C6E86

    #3C6E86

    oklch(51.3% 0.066 230.7)

  • #67608A

    #67608A

    oklch(51.2% 0.066 291.5)

Open the analogous palette in the generator

Split complementary

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

  • #51678D

    #51678D

    oklch(51.2% 0.066 261.1)

  • #855C43

    #855C43

    oklch(51.2% 0.066 52.1)

  • #686A3C

    #686A3C

    oklch(51.1% 0.066 110.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51678D

    #51678D

    oklch(51.2% 0.066 261.1)

  • #895756

    #895756

    oklch(51.2% 0.067 20.9)

  • #51704C

    #51704C

    oklch(51.1% 0.066 141.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51678D

    #51678D

    oklch(51.2% 0.066 261.1)

  • #84576B

    #84576B

    oklch(51.2% 0.065 351.4)

  • #7A6339

    #7A6339

    oklch(51.3% 0.066 81.5)

  • #3B7362

    #3B7362

    oklch(51.2% 0.066 171.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #51678D 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.