#404560

Closest named color: Dark Grey Blue (#29465B). oklch(39.7% 0.046 276), rgb(64, 69, 96).

Aa

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

About this color

#404560 is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.046 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.033 away. White text reads best on it, at 9.38:1.

Hue familyBlues
Lightnessdark (40%)
Chromamuted (0.046)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.23:1
White text9.38:1

Values

HEX#404560
RGBrgb(64, 69, 96)
HSLhsl(231, 20%, 31%)
OKLCHoklch(39.7% 0.046 276)

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 #404560 9.38:1 AAA Lc -96.0 Preferred for body text
Black text on #404560 2.23:1 Fails Lc 12.3 Not readable
#404560 text on white 9.38:1 AAA Lc 91.7 Preferred for body text
#404560 text on black 2.23:1 Fails Lc -10.7 Not readable

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 900.

  1. Step 50

    50

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D5D8E6

    oklch(88.4% 0.019 276.3)

  4. Step 300

    300

    #BABFD8

    oklch(80.9% 0.036 276.6)

  5. Step 400

    400

    #979EC4

    oklch(70.7% 0.056 276.7)

  6. Step 500

    500

    #7D86B5

    oklch(63.1% 0.072 275.8)

  7. Step 600

    600

    #676FA0

    oklch(55.5% 0.077 276.5)

  8. Step 700

    700

    #555D89

    oklch(49% 0.071 275.6)

  9. Step 800

    800

    #464C6F

    oklch(42.6% 0.059 276.2)

  10. Step 900

    900 (this color)

    #404560

    oklch(39.7% 0.046 276)

  11. Step 950

    950

    #222535

    oklch(26.9% 0.03 276)

Export this scale for Tailwind in the Tailwind colors tool

#404560 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)#3D48610.010
Deuteranopia (no green cones)#3B455F0.008
Tritanopia (no blue cones)#384A4E0.041
Achromatopsia (no color)#4646460.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #404560

    #404560

    oklch(39.7% 0.046 276)

  • #4E472A

    #4E472A

    oklch(39.7% 0.045 96.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404560

    #404560

    oklch(39.7% 0.046 276)

  • #324A5F

    #324A5F

    oklch(39.9% 0.046 245.7)

  • #4D415B

    #4D415B

    oklch(39.8% 0.045 305.5)

Open the analogous palette in the generator

Split complementary

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

  • #404560

    #404560

    oklch(39.7% 0.046 276)

  • #58422C

    #58422C

    oklch(39.7% 0.046 65.9)

  • #414C30

    #414C30

    oklch(39.9% 0.047 125.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404560

    #404560

    oklch(39.7% 0.046 276)

  • #5D3E36

    #5D3E36

    oklch(39.7% 0.046 35.1)

  • #324F3D

    #324F3D

    oklch(39.9% 0.046 156.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404560

    #404560

    oklch(39.7% 0.046 276)

  • #5D3D43

    #5D3D43

    oklch(39.9% 0.046 7)

  • #4E472A

    #4E472A

    oklch(39.7% 0.045 96.2)

  • #274F4B

    #274F4B

    oklch(39.7% 0.046 187.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404560 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.