#40657D

Closest named color: Slate (#516572). oklch(48.9% 0.057 238), rgb(64, 101, 125).

Aa

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

About this color

#40657D is a medium-dark, muted blue. In OKLCH its lightness is 49%, its chroma 0.057 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Slate (#516572), ΔE 0.026 away. White text reads best on it, at 6.22:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamuted (0.057)
Temperaturecool
Nearest nameSlate (#516572)
Black text3.37:1
White text6.22:1

Values

HEX#40657D
RGBrgb(64, 101, 125)
HSLhsl(204, 32%, 37%)
OKLCHoklch(48.9% 0.057 238)

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 #40657D 6.22:1 AA Lc -86.1 Fine for body text
Black text on #40657D 3.37:1 AA large text Lc 23.1 Dividers and decoration only
#40657D text on white 6.22:1 AA Lc 80.9 Fine for body text
#40657D text on black 3.37:1 AA large text Lc -20.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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EBEF

    oklch(93.7% 0.008 236.6)

  3. Step 200

    200

    #D0DBE2

    oklch(88.5% 0.015 235.4)

  4. Step 300

    300

    #B1C4D1

    oklch(81% 0.028 237.7)

  5. Step 400

    400

    #87A5B9

    oklch(70.6% 0.044 237.4)

  6. Step 500

    500

    #698FA8

    oklch(63.1% 0.057 237.7)

  7. Step 600

    600

    #507993

    oklch(55.6% 0.061 237.2)

  8. Step 700

    700 (this color)

    #40657D

    oklch(48.9% 0.057 238)

  9. Step 800

    800

    #365366

    oklch(42.7% 0.047 238.1)

  10. Step 900

    900

    #2F4553

    oklch(37.8% 0.036 236.9)

  11. Step 950

    950

    #1C2831

    oklch(27% 0.024 241.1)

Export this scale for Tailwind in the Tailwind colors tool

#40657D 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)#5A647E0.034
Deuteranopia (no green cones)#525E7D0.029
Tritanopia (no blue cones)#246B6D0.045
Achromatopsia (no color)#6161610.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #40657D

    #40657D

    oklch(48.9% 0.057 238)

  • #79583F

    #79583F

    oklch(48.9% 0.058 58.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40657D

    #40657D

    oklch(48.9% 0.057 238)

  • #356971

    #356971

    oklch(48.8% 0.057 208.5)

  • #525F81

    #525F81

    oklch(48.9% 0.057 268.1)

Open the analogous palette in the generator

Split complementary

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

  • #40657D

    #40657D

    oklch(48.9% 0.057 238)

  • #7E544E

    #7E544E

    oklch(49% 0.057 28.3)

  • #6E5E39

    #6E5E39

    oklch(48.8% 0.057 86.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40657D

    #40657D

    oklch(48.9% 0.057 238)

  • #7B5260

    #7B5260

    oklch(48.8% 0.058 357.3)

  • #5D653F

    #5D653F

    oklch(49% 0.058 118.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40657D

    #40657D

    oklch(48.9% 0.057 238)

  • #725571

    #725571

    oklch(49% 0.057 327.5)

  • #79583F

    #79583F

    oklch(48.9% 0.058 58.1)

  • #4A694E

    #4A694E

    oklch(48.9% 0.056 148)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40657D 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.