#40516C

Closest named color: YInMn Blue (#415A77). oklch(43.2% 0.05 259.5), rgb(64, 81, 108).

Aa

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

About this color

#40516C is a dark, muted blue. In OKLCH its lightness is 43%, its chroma 0.050 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.029 away. White text reads best on it, at 8.04:1.

Hue familyBlues
Lightnessdark (43%)
Chromamuted (0.050)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.61:1
White text8.04:1

Values

HEX#40516C
RGBrgb(64, 81, 108)
HSLhsl(217, 26%, 34%)
OKLCHoklch(43.2% 0.05 259.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 #40516C 8.04:1 AAA Lc -92.5 Preferred for body text
Black text on #40516C 2.61:1 Fails Lc 16.2 Dividers and decoration only
#40516C text on white 8.04:1 AAA Lc 87.8 Fine for body text
#40516C text on black 2.61:1 Fails Lc -14.3 Not readable

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

  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

    #D3DAE4

    oklch(88.6% 0.016 257.2)

  4. Step 300

    300

    #B6C1D4

    oklch(80.8% 0.029 261.5)

  5. Step 400

    400

    #90A2BE

    oklch(70.8% 0.046 259.2)

  6. Step 500

    500

    #748BAE

    oklch(63.2% 0.059 258.7)

  7. Step 600

    600

    #5D749A

    oklch(55.6% 0.065 260.3)

  8. Step 700

    700

    #4C6183

    oklch(49% 0.061 259.9)

  9. Step 800

    800 (this color)

    #40516C

    oklch(43.2% 0.05 259.5)

  10. Step 900

    900

    #354256

    oklch(37.6% 0.038 258.9)

  11. Step 950

    950

    #1F2733

    oklch(27.1% 0.025 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#40516C 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)#47536D0.012
Deuteranopia (no green cones)#434E6B0.009
Tritanopia (no blue cones)#31575A0.045
Achromatopsia (no color)#5050500.050

Harmonies

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

Complementary

The opposite hue (180°).

  • #40516C

    #40516C

    oklch(43.2% 0.05 259.5)

  • #5F4D30

    #5F4D30

    oklch(43.1% 0.05 78.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40516C

    #40516C

    oklch(43.2% 0.05 259.5)

  • #325666

    #325666

    oklch(43.3% 0.049 228.2)

  • #4F4C6A

    #4F4C6A

    oklch(43.2% 0.049 288.7)

Open the analogous palette in the generator

Split complementary

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

  • #40516C

    #40516C

    oklch(43.2% 0.05 259.5)

  • #674838

    #674838

    oklch(43.1% 0.05 48.3)

  • #525332

    #525332

    oklch(43.2% 0.05 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40516C

    #40516C

    oklch(43.2% 0.05 259.5)

  • #694545

    #694545

    oklch(43.1% 0.05 19.3)

  • #42573D

    #42573D

    oklch(43.2% 0.049 139.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40516C

    #40516C

    oklch(43.2% 0.05 259.5)

  • #664554

    #664554

    oklch(43.2% 0.05 350.5)

  • #5F4D30

    #5F4D30

    oklch(43.1% 0.05 78.8)

  • #33594C

    #33594C

    oklch(43.1% 0.049 170.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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