#40546A

Closest named color: YInMn Blue (#415A77). oklch(43.8% 0.044 251.2), rgb(64, 84, 106).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.044)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.69:1
White text7.79:1

Values

HEX#40546A
RGBrgb(64, 84, 106)
HSLhsl(211, 25%, 33%)
OKLCHoklch(43.8% 0.044 251.2)

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 #40546A 7.79:1 AAA Lc -91.8 Preferred for body text
Black text on #40546A 2.69:1 Fails Lc 17.0 Dividers and decoration only
#40546A text on white 7.79:1 AAA Lc 87.0 Fine for body text
#40546A text on black 2.69:1 Fails Lc -15.1 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

    #F4F6F8

    oklch(97.2% 0.003 247.9)

  2. Step 100

    100

    #E6EAEF

    oklch(93.5% 0.008 253.9)

  3. Step 200

    200

    #D2DAE3

    oklch(88.5% 0.015 251.2)

  4. Step 300

    300

    #B5C2D1

    oklch(80.9% 0.026 251.9)

  5. Step 400

    400

    #8EA3BA

    oklch(70.7% 0.041 250.8)

  6. Step 500

    500

    #728CA9

    oklch(63.1% 0.053 251.4)

  7. Step 600

    600

    #5A7694

    oklch(55.6% 0.057 250.6)

  8. Step 700

    700

    #4A637E

    oklch(49.1% 0.053 250.8)

  9. Step 800

    800 (this color)

    #40546A

    oklch(43.8% 0.044 251.2)

  10. Step 900

    900

    #344354

    oklch(37.7% 0.035 251.9)

  11. Step 950

    950

    #1F2731

    oklch(27% 0.022 254.2)

Export this scale for Tailwind in the Tailwind colors tool

#40546A 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)#4C556B0.018
Deuteranopia (no green cones)#47506A0.015
Tritanopia (no blue cones)#32595B0.038
Achromatopsia (no color)#5252520.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #40546A

    #40546A

    oklch(43.8% 0.044 251.2)

  • #624E37

    #624E37

    oklch(43.8% 0.044 70.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40546A

    #40546A

    oklch(43.8% 0.044 251.2)

  • #355863

    #355863

    oklch(43.8% 0.044 219.9)

  • #4E4F6A

    #4E4F6A

    oklch(43.8% 0.044 282.7)

Open the analogous palette in the generator

Split complementary

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

  • #40546A

    #40546A

    oklch(43.8% 0.044 251.2)

  • #684A3F

    #684A3F

    oklch(43.9% 0.045 41)

  • #575336

    #575336

    oklch(43.8% 0.044 101.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40546A

    #40546A

    oklch(43.8% 0.044 251.2)

  • #68484C

    #68484C

    oklch(43.8% 0.044 10.8)

  • #49573E

    #49573E

    oklch(43.7% 0.043 131.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40546A

    #40546A

    oklch(43.8% 0.044 251.2)

  • #634959

    #634959

    oklch(43.9% 0.043 341.6)

  • #624E37

    #624E37

    oklch(43.8% 0.044 70.2)

  • #3C5A4A

    #3C5A4A

    oklch(43.9% 0.044 160.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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