#404C76

Closest named color: Dusk (#4E5481). oklch(42.6% 0.072 271), rgb(64, 76, 118).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.072)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.51:1
White text8.35:1

Values

HEX#404C76
RGBrgb(64, 76, 118)
HSLhsl(227, 30%, 36%)
OKLCHoklch(42.6% 0.072 271)

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 #404C76 8.35:1 AAA Lc -93.3 Preferred for body text
Black text on #404C76 2.51:1 Fails Lc 15.2 Dividers and decoration only
#404C76 text on white 8.35:1 AAA Lc 88.8 Fine for body text
#404C76 text on black 2.51:1 Fails Lc -13.4 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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E7EAF2

    oklch(93.7% 0.011 269.5)

  3. Step 200

    200

    #D3D9E9

    oklch(88.6% 0.023 269.4)

  4. Step 300

    300

    #B6C0DD

    oklch(80.9% 0.042 270.4)

  5. Step 400

    400

    #919FCB

    oklch(70.7% 0.067 270.9)

  6. Step 500

    500

    #7687BE

    oklch(63.2% 0.085 270.6)

  7. Step 600

    600

    #5F70AA

    oklch(55.6% 0.093 270.7)

  8. Step 700

    700

    #4E5D92

    oklch(49% 0.087 270.9)

  9. Step 800

    800 (this color)

    #404C76

    oklch(42.6% 0.072 271)

  10. Step 900

    900

    #36405F

    oklch(37.7% 0.055 269.9)

  11. Step 950

    950

    #202538

    oklch(26.9% 0.036 272.4)

Export this scale for Tailwind in the Tailwind colors tool

#404C76 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)#3D50780.012
Deuteranopia (no green cones)#384C750.011
Tritanopia (no blue cones)#2D555B0.065
Achromatopsia (no color)#4E4E4E0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #404C76

    #404C76

    oklch(42.6% 0.072 271)

  • #5D4D1A

    #5D4D1A

    oklch(42.6% 0.072 91.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404C76

    #404C76

    oklch(42.6% 0.072 271)

  • #265372

    #265372

    oklch(42.5% 0.072 241.3)

  • #554570

    #554570

    oklch(42.6% 0.072 300.5)

Open the analogous palette in the generator

Split complementary

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

  • #404C76

    #404C76

    oklch(42.6% 0.072 271)

  • #6B4522

    #6B4522

    oklch(42.6% 0.072 61.5)

  • #495425

    #495425

    oklch(42.5% 0.071 120.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404C76

    #404C76

    oklch(42.6% 0.072 271)

  • #713F36

    #713F36

    oklch(42.6% 0.072 31.1)

  • #2E5A3A

    #2E5A3A

    oklch(42.6% 0.072 151.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404C76

    #404C76

    oklch(42.6% 0.072 271)

  • #6F3D4C

    #6F3D4C

    oklch(42.6% 0.072 1.4)

  • #5D4D1A

    #5D4D1A

    oklch(42.6% 0.072 91.5)

  • #0F5B51

    #0F5B51

    oklch(42.5% 0.071 181.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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