#40637C

Closest named color: Denim (#3B638C). oklch(48.4% 0.057 240.5), rgb(64, 99, 124).

Aa

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

About this color

#40637C is a medium-dark, muted blue. In OKLCH its lightness is 48%, its chroma 0.057 and its hue 241°. 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.37:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromamuted (0.057)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.29:1
White text6.37:1

Values

HEX#40637C
RGBrgb(64, 99, 124)
HSLhsl(205, 32%, 37%)
OKLCHoklch(48.4% 0.057 240.5)

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 #40637C 6.37:1 AA Lc -86.7 Fine for body text
Black text on #40637C 3.29:1 AA large text Lc 22.4 Dividers and decoration only
#40637C text on white 6.37:1 AA Lc 81.6 Fine for body text
#40637C text on black 3.29:1 AA large text Lc -20.3 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

    #D1DBE2

    oklch(88.6% 0.015 238)

  4. Step 300

    300

    #B1C3D1

    oklch(80.8% 0.028 241.2)

  5. Step 400

    400

    #88A5BA

    oklch(70.7% 0.045 239.7)

  6. Step 500

    500

    #6A8EA9

    oklch(63% 0.057 241.2)

  7. Step 600

    600

    #527894

    oklch(55.5% 0.061 241.1)

  8. Step 700

    700 (this color)

    #40637C

    oklch(48.4% 0.057 240.5)

  9. Step 800

    800

    #375367

    oklch(42.9% 0.047 240.3)

  10. Step 900

    900

    #304453

    oklch(37.6% 0.036 241.3)

  11. Step 950

    950

    #1C2831

    oklch(27% 0.024 241.1)

Export this scale for Tailwind in the Tailwind colors tool

#40637C 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)#58637D0.031
Deuteranopia (no green cones)#505C7C0.028
Tritanopia (no blue cones)#25696B0.046
Achromatopsia (no color)#5F5F5F0.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #40637C

    #40637C

    oklch(48.4% 0.057 240.5)

  • #77573D

    #77573D

    oklch(48.4% 0.057 59.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40637C

    #40637C

    oklch(48.4% 0.057 240.5)

  • #346771

    #346771

    oklch(48.3% 0.057 211.9)

  • #525D7F

    #525D7F

    oklch(48.3% 0.057 270.4)

Open the analogous palette in the generator

Split complementary

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

  • #40637C

    #40637C

    oklch(48.4% 0.057 240.5)

  • #7C524B

    #7C524B

    oklch(48.3% 0.058 29.8)

  • #6B5D38

    #6B5D38

    oklch(48.3% 0.057 89.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40637C

    #40637C

    oklch(48.4% 0.057 240.5)

  • #7A515D

    #7A515D

    oklch(48.4% 0.057 0.4)

  • #5A643E

    #5A643E

    oklch(48.4% 0.058 120.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40637C

    #40637C

    oklch(48.4% 0.057 240.5)

  • #71536E

    #71536E

    oklch(48.3% 0.057 329.8)

  • #77573D

    #77573D

    oklch(48.4% 0.057 59.9)

  • #47684E

    #47684E

    oklch(48.4% 0.057 150.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40637C 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.