#40546C

Closest named color: YInMn Blue (#415A77). oklch(43.9% 0.047 253.4), rgb(64, 84, 108).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.047)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.70:1
White text7.77:1

Values

HEX#40546C
RGBrgb(64, 84, 108)
HSLhsl(213, 26%, 34%)
OKLCHoklch(43.9% 0.047 253.4)

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 #40546C 7.77:1 AAA Lc -91.7 Preferred for body text
Black text on #40546C 2.70:1 Fails Lc 17.1 Dividers and decoration only
#40546C text on white 7.77:1 AAA Lc 86.9 Fine for body text
#40546C text on black 2.70:1 Fails Lc -15.2 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

    #B5C2D2

    oklch(80.9% 0.027 253.6)

  5. Step 400

    400

    #8EA3BC

    oklch(70.8% 0.044 252.9)

  6. Step 500

    500

    #728CAB

    oklch(63.1% 0.056 253.1)

  7. Step 600

    600

    #5A7697

    oklch(55.7% 0.061 253)

  8. Step 700

    700

    #4A6381

    oklch(49.2% 0.057 253.4)

  9. Step 800

    800 (this color)

    #40546C

    oklch(43.9% 0.047 253.4)

  10. Step 900

    900

    #344355

    oklch(37.7% 0.037 253.3)

  11. Step 950

    950

    #1F2732

    oklch(27% 0.024 256.4)

Export this scale for Tailwind in the Tailwind colors tool

#40546C 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)#4B556D0.016
Deuteranopia (no green cones)#46506C0.014
Tritanopia (no blue cones)#31595C0.040
Achromatopsia (no color)#5252520.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #40546C

    #40546C

    oklch(43.9% 0.047 253.4)

  • #624E35

    #624E35

    oklch(43.8% 0.046 72.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40546C

    #40546C

    oklch(43.9% 0.047 253.4)

  • #345865

    #345865

    oklch(43.9% 0.047 223.1)

  • #4F4F6C

    #4F4F6C

    oklch(44% 0.047 284.3)

Open the analogous palette in the generator

Split complementary

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

  • #40546C

    #40546C

    oklch(43.9% 0.047 253.4)

  • #694A3D

    #694A3D

    oklch(43.9% 0.047 43.7)

  • #575435

    #575435

    oklch(44% 0.047 103.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40546C

    #40546C

    oklch(43.9% 0.047 253.4)

  • #6A484B

    #6A484B

    oklch(44% 0.047 13.3)

  • #48583D

    #48583D

    oklch(43.9% 0.047 133)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40546C

    #40546C

    oklch(43.9% 0.047 253.4)

  • #654859

    #654859

    oklch(43.9% 0.047 343.2)

  • #624E35

    #624E35

    oklch(43.8% 0.046 72.3)

  • #395B4B

    #395B4B

    oklch(44% 0.048 163.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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