#40596A

Closest named color: YInMn Blue (#415A77). oklch(45.1% 0.041 238.6), rgb(64, 89, 106).

Aa

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

About this color

#40596A is a medium-dark, muted blue. In OKLCH its lightness is 45%, its chroma 0.041 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.021 away. White text reads best on it, at 7.35:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamuted (0.041)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.85:1
White text7.35:1

Values

HEX#40596A
RGBrgb(64, 89, 106)
HSLhsl(204, 25%, 33%)
OKLCHoklch(45.1% 0.041 238.6)

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 #40596A 7.35:1 AAA Lc -90.4 Preferred for body text
Black text on #40596A 2.85:1 Fails Lc 18.5 Dividers and decoration only
#40596A text on white 7.35:1 AAA Lc 85.5 Fine for body text
#40596A text on black 2.85:1 Fails Lc -16.5 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 800.

  1. Step 50

    50

    #F3F6F7

    oklch(97.1% 0.003 219.5)

  2. Step 100

    100

    #E6EBEE

    oklch(93.7% 0.007 233.6)

  3. Step 200

    200

    #D1DBE1

    oklch(88.6% 0.014 233.8)

  4. Step 300

    300

    #B3C3CF

    oklch(80.9% 0.024 240.2)

  5. Step 400

    400

    #8BA5B6

    oklch(70.8% 0.038 236.8)

  6. Step 500

    500

    #6E8EA4

    oklch(63% 0.049 238.6)

  7. Step 600

    600

    #56788F

    oklch(55.6% 0.053 238.5)

  8. Step 700

    700

    #46657A

    oklch(49.1% 0.05 238.7)

  9. Step 800

    800 (this color)

    #40596A

    oklch(45.1% 0.041 238.6)

  10. Step 900

    900

    #324451

    oklch(37.7% 0.032 240.1)

  11. Step 950

    950

    #1D282F

    oklch(27% 0.02 236.4)

Export this scale for Tailwind in the Tailwind colors tool

#40596A 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)#52586B0.025
Deuteranopia (no green cones)#4C546A0.021
Tritanopia (no blue cones)#315D5E0.033
Achromatopsia (no color)#5656560.041

Harmonies

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

Complementary

The opposite hue (180°).

  • #40596A

    #40596A

    oklch(45.1% 0.041 238.6)

  • #67503F

    #67503F

    oklch(45% 0.041 57.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40596A

    #40596A

    oklch(45.1% 0.041 238.6)

  • #395C62

    #395C62

    oklch(45.1% 0.041 209.4)

  • #4C556D

    #4C556D

    oklch(45.1% 0.041 268.7)

Open the analogous palette in the generator

Split complementary

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

  • #40596A

    #40596A

    oklch(45.1% 0.041 238.6)

  • #6B4D49

    #6B4D49

    oklch(45.1% 0.042 27.4)

  • #5F543B

    #5F543B

    oklch(45% 0.041 86.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40596A

    #40596A

    oklch(45.1% 0.041 238.6)

  • #694C55

    #694C55

    oklch(45.1% 0.041 358.5)

  • #53593F

    #53593F

    oklch(45.1% 0.041 118.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40596A

    #40596A

    oklch(45.1% 0.041 238.6)

  • #624D61

    #624D61

    oklch(44.9% 0.042 327.8)

  • #67503F

    #67503F

    oklch(45% 0.041 57.9)

  • #465C49

    #465C49

    oklch(45.1% 0.041 148.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40596A 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.