#40596B

Closest named color: YInMn Blue (#415A77). oklch(45.1% 0.042 240.2), rgb(64, 89, 107).

Aa

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

About this color

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

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

Values

HEX#40596B
RGBrgb(64, 89, 107)
HSLhsl(205, 25%, 34%)
OKLCHoklch(45.1% 0.042 240.2)

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 #40596B 7.34:1 AAA Lc -90.3 Preferred for body text
Black text on #40596B 2.85:1 Fails Lc 18.5 Dividers and decoration only
#40596B text on white 7.34:1 AAA Lc 85.5 Fine for body text
#40596B 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

    #8BA4B7

    oklch(70.6% 0.039 240.9)

  6. Step 500

    500

    #6E8EA5

    oklch(63.1% 0.05 239.8)

  7. Step 600

    600

    #567891

    oklch(55.7% 0.055 240.8)

  8. Step 700

    700

    #46657B

    oklch(49.2% 0.051 240)

  9. Step 800

    800 (this color)

    #40596B

    oklch(45.1% 0.042 240.2)

  10. Step 900

    900

    #324452

    oklch(37.7% 0.033 242.1)

  11. Step 950

    950

    #1D2830

    oklch(27% 0.021 240.1)

Export this scale for Tailwind in the Tailwind colors tool

#40596B 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)#51596C0.024
Deuteranopia (no green cones)#4B546B0.020
Tritanopia (no blue cones)#315D5F0.033
Achromatopsia (no color)#5656560.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #40596B

    #40596B

    oklch(45.1% 0.042 240.2)

  • #67503E

    #67503E

    oklch(45% 0.042 59.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40596B

    #40596B

    oklch(45.1% 0.042 240.2)

  • #395C63

    #395C63

    oklch(45.1% 0.042 211.6)

  • #4C556E

    #4C556E

    oklch(45.2% 0.043 269.2)

Open the analogous palette in the generator

Split complementary

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

  • #40596B

    #40596B

    oklch(45.1% 0.042 240.2)

  • #6B4D48

    #6B4D48

    oklch(45.1% 0.042 29.5)

  • #5F553A

    #5F553A

    oklch(45.2% 0.043 90.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40596B

    #40596B

    oklch(45.1% 0.042 240.2)

  • #6A4C54

    #6A4C54

    oklch(45.1% 0.042 1.3)

  • #52593F

    #52593F

    oklch(45% 0.041 120.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40596B

    #40596B

    oklch(45.1% 0.042 240.2)

  • #634D61

    #634D61

    oklch(45% 0.043 329.3)

  • #67503E

    #67503E

    oklch(45% 0.042 59.5)

  • #455C49

    #455C49

    oklch(45% 0.042 149.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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