#40647D

Closest named color: Denim (#3B638C). oklch(48.6% 0.058 239.8), rgb(64, 100, 125).

Aa

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

About this color

#40647D is a medium-dark, muted blue. In OKLCH its lightness is 49%, its chroma 0.058 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.026 away. White text reads best on it, at 6.29:1.

Hue familyBlues
Lightnessmedium-dark (49%)
Chromamuted (0.058)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.33:1
White text6.29:1

Values

HEX#40647D
RGBrgb(64, 100, 125)
HSLhsl(205, 32%, 37%)
OKLCHoklch(48.6% 0.058 239.8)

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 #40647D 6.29:1 AA Lc -86.4 Fine for body text
Black text on #40647D 3.33:1 AA large text Lc 22.8 Dividers and decoration only
#40647D text on white 6.29:1 AA Lc 81.3 Fine for body text
#40647D text on black 3.33:1 AA large text Lc -20.6 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

    #88A5BA

    oklch(70.7% 0.045 239.7)

  6. Step 500

    500

    #6A8FA9

    oklch(63.2% 0.057 239.4)

  7. Step 600

    600

    #517894

    oklch(55.5% 0.062 240.5)

  8. Step 700

    700 (this color)

    #40647D

    oklch(48.6% 0.058 239.8)

  9. Step 800

    800

    #365367

    oklch(42.8% 0.048 239.5)

  10. Step 900

    900

    #2F4454

    oklch(37.6% 0.038 241.8)

  11. Step 950

    950

    #1C2831

    oklch(27% 0.024 241.1)

Export this scale for Tailwind in the Tailwind colors tool

#40647D 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)#59647E0.032
Deuteranopia (no green cones)#515D7D0.028
Tritanopia (no blue cones)#246A6C0.046
Achromatopsia (no color)#6060600.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #40647D

    #40647D

    oklch(48.6% 0.058 239.8)

  • #78583E

    #78583E

    oklch(48.7% 0.057 60)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40647D

    #40647D

    oklch(48.6% 0.058 239.8)

  • #346871

    #346871

    oklch(48.5% 0.057 210.1)

  • #525E81

    #525E81

    oklch(48.6% 0.058 269.6)

Open the analogous palette in the generator

Split complementary

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

  • #40647D

    #40647D

    oklch(48.6% 0.058 239.8)

  • #7D534C

    #7D534C

    oklch(48.6% 0.058 29.8)

  • #6C5E38

    #6C5E38

    oklch(48.6% 0.058 89.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40647D

    #40647D

    oklch(48.6% 0.058 239.8)

  • #7B525E

    #7B525E

    oklch(48.7% 0.057 0.3)

  • #5B643F

    #5B643F

    oklch(48.5% 0.057 119.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40647D

    #40647D

    oklch(48.6% 0.058 239.8)

  • #72546F

    #72546F

    oklch(48.7% 0.056 329.8)

  • #78583E

    #78583E

    oklch(48.7% 0.057 60)

  • #48694E

    #48694E

    oklch(48.7% 0.058 149.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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