#51678E

Closest named color: Denim (#3B638C). oklch(51.2% 0.068 261.5), rgb(81, 103, 142).

Aa

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

About this color

#51678E is a medium-dark, muted blue. In OKLCH its lightness is 51%, its chroma 0.068 and its hue 262°. 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.70:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamuted (0.068)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.68:1
White text5.70:1

Values

HEX#51678E
RGBrgb(81, 103, 142)
HSLhsl(218, 27%, 44%)
OKLCHoklch(51.2% 0.068 261.5)

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 #51678E 5.70:1 AA Lc -83.8 Fine for body text
Black text on #51678E 3.68:1 AA large text Lc 25.6 Dividers and decoration only
#51678E text on white 5.70:1 AA Lc 78.5 Fine for body text
#51678E text on black 3.68:1 AA large text Lc -23.3 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

    #D3D9E6

    oklch(88.5% 0.019 266)

  4. Step 300

    300

    #B5C1D6

    oklch(80.8% 0.032 261.7)

  5. Step 400

    400

    #8FA1C2

    oklch(70.6% 0.053 262.5)

  6. Step 500

    500

    #738AB3

    oklch(63.1% 0.068 261.8)

  7. Step 600

    600

    #5B749E

    oklch(55.6% 0.072 260.5)

  8. Step 700

    700 (this color)

    #51678E

    oklch(51.2% 0.068 261.5)

  9. Step 800

    800

    #3E4F6E

    oklch(42.7% 0.056 262.1)

  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

#51678E 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)#596A900.015
Deuteranopia (no green cones)#52648D0.008
Tritanopia (no blue cones)#3C6F750.059
Achromatopsia (no color)#6666660.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #51678E

    #51678E

    oklch(51.2% 0.068 261.5)

  • #7A6337

    #7A6337

    oklch(51.2% 0.068 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51678E

    #51678E

    oklch(51.2% 0.068 261.5)

  • #3B6E87

    #3B6E87

    oklch(51.3% 0.068 231.4)

  • #67608B

    #67608B

    oklch(51.3% 0.068 291.3)

Open the analogous palette in the generator

Split complementary

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

  • #51678E

    #51678E

    oklch(51.2% 0.068 261.5)

  • #865C42

    #865C42

    oklch(51.3% 0.067 52.4)

  • #686B3B

    #686B3B

    oklch(51.3% 0.069 111.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51678E

    #51678E

    oklch(51.2% 0.068 261.5)

  • #8A5755

    #8A5755

    oklch(51.3% 0.068 22.2)

  • #51714C

    #51714C

    oklch(51.3% 0.068 141.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51678E

    #51678E

    oklch(51.2% 0.068 261.5)

  • #85566B

    #85566B

    oklch(51.2% 0.068 351.4)

  • #7A6337

    #7A6337

    oklch(51.2% 0.068 82.4)

  • #3A7462

    #3A7462

    oklch(51.4% 0.068 171.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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