#40537A

Closest named color: YInMn Blue (#415A77). oklch(44.4% 0.069 263.9), rgb(64, 83, 122).

Aa

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

About this color

#40537A is a dark, muted blue. In OKLCH its lightness is 44%, its chroma 0.069 and its hue 264°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.024 away. White text reads best on it, at 7.67:1.

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.069)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.73:1
White text7.67:1

Values

HEX#40537A
RGBrgb(64, 83, 122)
HSLhsl(220, 31%, 36%)
OKLCHoklch(44.4% 0.069 263.9)

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 #40537A 7.67:1 AAA Lc -91.4 Preferred for body text
Black text on #40537A 2.73:1 Fails Lc 17.4 Dividers and decoration only
#40537A text on white 7.67:1 AAA Lc 86.6 Fine for body text
#40537A text on black 2.73:1 Fails Lc -15.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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E6EAF2

    oklch(93.6% 0.012 264.5)

  3. Step 200

    200

    #D2D9E8

    oklch(88.4% 0.022 265.8)

  4. Step 300

    300

    #B3C1DB

    oklch(80.9% 0.04 262.9)

  5. Step 400

    400

    #8CA1CA

    oklch(70.8% 0.065 263.6)

  6. Step 500

    500

    #7089BC

    oklch(63.1% 0.083 264)

  7. Step 600

    600

    #5872A8

    oklch(55.5% 0.09 264.1)

  8. Step 700

    700

    #486090

    oklch(49.1% 0.083 263.4)

  9. Step 800

    800 (this color)

    #40537A

    oklch(44.4% 0.069 263.9)

  10. Step 900

    900

    #33415E

    oklch(37.6% 0.053 264.2)

  11. Step 950

    950

    #1E2637

    oklch(26.9% 0.034 264.8)

Export this scale for Tailwind in the Tailwind colors tool

#40537A 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)#45567C0.012
Deuteranopia (no green cones)#3E51790.007
Tritanopia (no blue cones)#2A5B610.061
Achromatopsia (no color)#5353530.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #40537A

    #40537A

    oklch(44.4% 0.069 263.9)

  • #665023

    #665023

    oklch(44.4% 0.069 83.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40537A

    #40537A

    oklch(44.4% 0.069 263.9)

  • #275A74

    #275A74

    oklch(44.5% 0.069 233.5)

  • #564C76

    #564C76

    oklch(44.4% 0.069 294.4)

Open the analogous palette in the generator

Split complementary

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

  • #40537A

    #40537A

    oklch(44.4% 0.069 263.9)

  • #71492D

    #71492D

    oklch(44.4% 0.069 55)

  • #535829

    #535829

    oklch(44.4% 0.069 114.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40537A

    #40537A

    oklch(44.4% 0.069 263.9)

  • #754441

    #754441

    oklch(44.4% 0.068 23.9)

  • #3B5E3B

    #3B5E3B

    oklch(44.5% 0.069 144.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40537A

    #40537A

    oklch(44.4% 0.069 263.9)

  • #714356

    #714356

    oklch(44.3% 0.068 353.9)

  • #665023

    #665023

    oklch(44.4% 0.069 83.2)

  • #216051

    #216051

    oklch(44.4% 0.069 174.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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