#404D7D

Closest named color: Dusk (#4E5481). oklch(43.2% 0.081 271.2), rgb(64, 77, 125).

Aa

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

About this color

#404D7D is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.081 and its hue 271°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.031 away. White text reads best on it, at 8.15:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.57:1
White text8.15:1

Values

HEX#404D7D
RGBrgb(64, 77, 125)
HSLhsl(227, 32%, 37%)
OKLCHoklch(43.2% 0.081 271.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 #404D7D 8.15:1 AAA Lc -92.8 Preferred for body text
Black text on #404D7D 2.57:1 Fails Lc 15.9 Dividers and decoration only
#404D7D text on white 8.15:1 AAA Lc 88.1 Fine for body text
#404D7D text on black 2.57:1 Fails Lc -14.0 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 800.

  1. Step 50

    50

    #F4F5FA

    oklch(97.1% 0.007 277.2)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D2D9EB

    oklch(88.5% 0.026 268.8)

  4. Step 300

    300

    #B5C0E0

    oklch(81% 0.047 270.4)

  5. Step 400

    400

    #8F9ED1

    oklch(70.6% 0.077 271.6)

  6. Step 500

    500

    #7486C5

    oklch(63.2% 0.097 271.2)

  7. Step 600

    600

    #5D6FB1

    oklch(55.7% 0.105 271.1)

  8. Step 700

    700

    #4C5C98

    oklch(49% 0.098 271.1)

  9. Step 800

    800 (this color)

    #404D7D

    oklch(43.2% 0.081 271.2)

  10. Step 900

    900

    #353F63

    oklch(37.6% 0.063 271.3)

  11. Step 950

    950

    #1F253A

    oklch(26.9% 0.04 271.3)

Export this scale for Tailwind in the Tailwind colors tool

#404D7D 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)#3B527F0.015
Deuteranopia (no green cones)#354D7C0.015
Tritanopia (no blue cones)#29575F0.072
Achromatopsia (no color)#4F4F4F0.081

Harmonies

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

Complementary

The opposite hue (180°).

  • #404D7D

    #404D7D

    oklch(43.2% 0.081 271.2)

  • #614E0F

    #614E0F

    oklch(43.2% 0.081 90.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404D7D

    #404D7D

    oklch(43.2% 0.081 271.2)

  • #1F5579

    #1F5579

    oklch(43.1% 0.082 241.6)

  • #584576

    #584576

    oklch(43.2% 0.082 300.9)

Open the analogous palette in the generator

Split complementary

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

  • #404D7D

    #404D7D

    oklch(43.2% 0.081 271.2)

  • #70451B

    #70451B

    oklch(43.2% 0.081 61.8)

  • #4A571F

    #4A571F

    oklch(43.2% 0.081 120.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404D7D

    #404D7D

    oklch(43.2% 0.081 271.2)

  • #773E34

    #773E34

    oklch(43.3% 0.082 31.1)

  • #2A5D39

    #2A5D39

    oklch(43.3% 0.081 151.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404D7D

    #404D7D

    oklch(43.2% 0.081 271.2)

  • #743C4D

    #743C4D

    oklch(43.2% 0.081 1.6)

  • #614E0F

    #614E0F

    oklch(43.2% 0.081 90.9)

  • #005E53

    #005E53

    oklch(43.2% 0.078 181.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404D7D 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.