#51668C

Closest named color: Denim (#3B638C). oklch(50.9% 0.066 261.9), rgb(81, 102, 140).

Aa

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

About this color

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

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

Values

HEX#51668C
RGBrgb(81, 102, 140)
HSLhsl(219, 27%, 43%)
OKLCHoklch(50.9% 0.066 261.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 #51668C 5.78:1 AA Lc -84.1 Fine for body text
Black text on #51668C 3.62:1 AA large text Lc 25.2 Dividers and decoration only
#51668C text on white 5.78:1 AA Lc 78.9 Fine for body text
#51668C text on black 3.62:1 AA large text Lc -22.9 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

    #748AB2

    oklch(63.1% 0.066 262.2)

  7. Step 600

    600

    #5C749D

    oklch(55.7% 0.07 260.9)

  8. Step 700

    700 (this color)

    #51668C

    oklch(50.9% 0.066 261.9)

  9. Step 800

    800

    #3E4F6D

    oklch(42.6% 0.055 261.5)

  10. Step 900

    900

    #354258

    oklch(37.7% 0.042 260.8)

  11. Step 950

    950

    #1F2734

    oklch(27.1% 0.027 260)

Export this scale for Tailwind in the Tailwind colors tool

#51668C 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)#58698E0.014
Deuteranopia (no green cones)#52638B0.009
Tritanopia (no blue cones)#3D6E730.059
Achromatopsia (no color)#6565650.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #51668C

    #51668C

    oklch(50.9% 0.066 261.9)

  • #796238

    #796238

    oklch(50.9% 0.066 81.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #51668C

    #51668C

    oklch(50.9% 0.066 261.9)

  • #3C6D85

    #3C6D85

    oklch(51% 0.065 231.2)

  • #665F89

    #665F89

    oklch(50.9% 0.066 291.5)

Open the analogous palette in the generator

Split complementary

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

  • #51668C

    #51668C

    oklch(50.9% 0.066 261.9)

  • #845B42

    #845B42

    oklch(50.9% 0.066 52.1)

  • #676A3C

    #676A3C

    oklch(51% 0.066 111.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #51668C

    #51668C

    oklch(50.9% 0.066 261.9)

  • #885755

    #885755

    oklch(51% 0.066 22.2)

  • #50704C

    #50704C

    oklch(51% 0.067 141.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #51668C

    #51668C

    oklch(50.9% 0.066 261.9)

  • #83566A

    #83566A

    oklch(50.9% 0.066 351.4)

  • #796238

    #796238

    oklch(50.9% 0.066 81.4)

  • #3A7261

    #3A7261

    oklch(50.8% 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 #51668C, closest first.

Similar named colors

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

Use #51668C 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.