#404A74

Closest named color: Dusk (#4E5481). oklch(42% 0.071 272.8), rgb(64, 74, 116).

Aa

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

About this color

#404A74 is a dark, moderately saturated blue. In OKLCH its lightness is 42%, its chroma 0.071 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.041 away. White text reads best on it, at 8.57:1.

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.44:1
White text8.57:1

Values

HEX#404A74
RGBrgb(64, 74, 116)
HSLhsl(228, 29%, 35%)
OKLCHoklch(42% 0.071 272.8)

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 #404A74 8.57:1 AAA Lc -93.9 Preferred for body text
Black text on #404A74 2.44:1 Fails Lc 14.6 Not readable
#404A74 text on white 8.57:1 AAA Lc 89.4 Fine for body text
#404A74 text on black 2.44:1 Fails Lc -12.8 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

    #E7E9F2

    oklch(93.5% 0.012 276.1)

  3. Step 200

    200

    #D4D9E9

    oklch(88.6% 0.023 272)

  4. Step 300

    300

    #B7BFDC

    oklch(80.8% 0.042 273.2)

  5. Step 400

    400

    #929ECB

    oklch(70.6% 0.067 273)

  6. Step 500

    500

    #7886BD

    oklch(63.1% 0.085 272.8)

  7. Step 600

    600

    #616FAA

    oklch(55.6% 0.093 272.9)

  8. Step 700

    700

    #505D92

    oklch(49.1% 0.087 272.4)

  9. Step 800

    800 (this color)

    #404A74

    oklch(42% 0.071 272.8)

  10. Step 900

    900

    #383F5F

    oklch(37.6% 0.056 274)

  11. Step 950

    950

    #212538

    oklch(27% 0.036 274.6)

Export this scale for Tailwind in the Tailwind colors tool

#404A74 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)#3B4E760.013
Deuteranopia (no green cones)#374A730.013
Tritanopia (no blue cones)#2F53590.065
Achromatopsia (no color)#4C4C4C0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #404A74

    #404A74

    oklch(42% 0.071 272.8)

  • #5B4C19

    #5B4C19

    oklch(42.1% 0.071 92.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404A74

    #404A74

    oklch(42% 0.071 272.8)

  • #265171

    #265171

    oklch(41.9% 0.072 243.2)

  • #55436D

    #55436D

    oklch(42% 0.071 303.2)

Open the analogous palette in the generator

Split complementary

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

  • #404A74

    #404A74

    oklch(42% 0.071 272.8)

  • #684420

    #684420

    oklch(42% 0.071 63.7)

  • #465325

    #465325

    oklch(41.9% 0.07 122.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404A74

    #404A74

    oklch(42% 0.071 272.8)

  • #6F3E33

    #6F3E33

    oklch(42.1% 0.072 33.6)

  • #2B583A

    #2B583A

    oklch(41.9% 0.071 153)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404A74

    #404A74

    oklch(42% 0.071 272.8)

  • #6D3C49

    #6D3C49

    oklch(42% 0.071 3.5)

  • #5B4C19

    #5B4C19

    oklch(42.1% 0.071 92.5)

  • #0B5950

    #0B5950

    oklch(41.8% 0.071 182.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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