#40516B

Closest named color: YInMn Blue (#415A77). oklch(43.2% 0.048 258.7), rgb(64, 81, 107).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (43%)
Chromamuted (0.048)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.60:1
White text8.05:1

Values

HEX#40516B
RGBrgb(64, 81, 107)
HSLhsl(216, 25%, 34%)
OKLCHoklch(43.2% 0.048 258.7)

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 #40516B 8.05:1 AAA Lc -92.5 Preferred for body text
Black text on #40516B 2.60:1 Fails Lc 16.1 Dividers and decoration only
#40516B text on white 8.05:1 AAA Lc 87.9 Fine for body text
#40516B text on black 2.60: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

    #E7EAEF

    oklch(93.6% 0.007 260.7)

  3. Step 200

    200

    #D3DAE4

    oklch(88.6% 0.016 257.2)

  4. Step 300

    300

    #B6C1D3

    oklch(80.8% 0.028 260.3)

  5. Step 400

    400

    #90A2BD

    oklch(70.7% 0.045 258.4)

  6. Step 500

    500

    #748BAD

    oklch(63.1% 0.058 258)

  7. Step 600

    600

    #5D7498

    oklch(55.5% 0.063 259.2)

  8. Step 700

    700

    #4C6282

    oklch(49.2% 0.058 257.7)

  9. Step 800

    800 (this color)

    #40516B

    oklch(43.2% 0.048 258.7)

  10. Step 900

    900

    #354256

    oklch(37.6% 0.038 258.9)

  11. Step 950

    950

    #1F2732

    oklch(27% 0.024 256.4)

Export this scale for Tailwind in the Tailwind colors tool

#40516B 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)#48526C0.012
Deuteranopia (no green cones)#434E6A0.009
Tritanopia (no blue cones)#32575A0.043
Achromatopsia (no color)#5050500.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #40516B

    #40516B

    oklch(43.2% 0.048 258.7)

  • #5F4D31

    #5F4D31

    oklch(43.1% 0.049 78)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40516B

    #40516B

    oklch(43.2% 0.048 258.7)

  • #325665

    #325665

    oklch(43.2% 0.048 226.6)

  • #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°).

  • #40516B

    #40516B

    oklch(43.2% 0.048 258.7)

  • #664839

    #664839

    oklch(43% 0.048 47.6)

  • #525333

    #525333

    oklch(43.3% 0.049 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40516B

    #40516B

    oklch(43.2% 0.048 258.7)

  • #684546

    #684546

    oklch(43% 0.049 17.4)

  • #43573D

    #43573D

    oklch(43.2% 0.048 138.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40516B

    #40516B

    oklch(43.2% 0.048 258.7)

  • #654555

    #654555

    oklch(43.1% 0.05 348)

  • #5F4D31

    #5F4D31

    oklch(43.1% 0.049 78)

  • #34594B

    #34594B

    oklch(43.2% 0.049 168)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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