#40537D

Closest named color: Dusk (#4E5481). oklch(44.6% 0.073 265), rgb(64, 83, 125).

Aa

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

About this color

#40537D is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.073 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.022 away. White text reads best on it, at 7.63:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.073)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.75:1
White text7.63:1

Values

HEX#40537D
RGBrgb(64, 83, 125)
HSLhsl(221, 32%, 37%)
OKLCHoklch(44.6% 0.073 265)

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 #40537D 7.63:1 AAA Lc -91.2 Preferred for body text
Black text on #40537D 2.75:1 Fails Lc 17.6 Dividers and decoration only
#40537D text on white 7.63:1 AAA Lc 86.4 Fine for body text
#40537D text on black 2.75:1 Fails Lc -15.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 800.

  1. Step 50

    50

    #F3F5F9

    oklch(97% 0.006 264.5)

  2. Step 100

    100

    #E6EAF2

    oklch(93.6% 0.012 264.5)

  3. Step 200

    200

    #D1D9E9

    oklch(88.4% 0.024 264.4)

  4. Step 300

    300

    #B3C1DD

    oklch(80.9% 0.043 264.3)

  5. Step 400

    400

    #8CA0CC

    oklch(70.6% 0.069 265.6)

  6. Step 500

    500

    #6F89BF

    oklch(63.2% 0.087 264.3)

  7. Step 600

    600

    #5872AB

    oklch(55.7% 0.094 264.8)

  8. Step 700

    700

    #485F93

    oklch(49.1% 0.088 265.2)

  9. Step 800

    800 (this color)

    #40537D

    oklch(44.6% 0.073 265)

  10. Step 900

    900

    #334160

    oklch(37.7% 0.057 265.2)

  11. Step 950

    950

    #1E2638

    oklch(27% 0.036 265.6)

Export this scale for Tailwind in the Tailwind colors tool

#40537D 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)#43577F0.013
Deuteranopia (no green cones)#3D517C0.008
Tritanopia (no blue cones)#285C620.066
Achromatopsia (no color)#5353530.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #40537D

    #40537D

    oklch(44.6% 0.073 265)

  • #67511E

    #67511E

    oklch(44.7% 0.074 85.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40537D

    #40537D

    oklch(44.6% 0.073 265)

  • #245A77

    #245A77

    oklch(44.5% 0.074 235.4)

  • #574C78

    #574C78

    oklch(44.6% 0.072 294.8)

Open the analogous palette in the generator

Split complementary

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

  • #40537D

    #40537D

    oklch(44.6% 0.073 265)

  • #73482A

    #73482A

    oklch(44.4% 0.073 54.5)

  • #535926

    #535926

    oklch(44.6% 0.073 115)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40537D

    #40537D

    oklch(44.6% 0.073 265)

  • #78433F

    #78433F

    oklch(44.6% 0.074 25)

  • #395F3A

    #395F3A

    oklch(44.6% 0.074 144.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40537D

    #40537D

    oklch(44.6% 0.073 265)

  • #744256

    #744256

    oklch(44.5% 0.074 355)

  • #67511E

    #67511E

    oklch(44.7% 0.074 85.4)

  • #1B6152

    #1B6152

    oklch(44.5% 0.073 175.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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