#404F7C

Closest named color: Dusk (#4E5481). oklch(43.6% 0.077 269.1), rgb(64, 79, 124).

Aa

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

About this color

#404F7C is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.077 and its hue 269°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.027 away. White text reads best on it, at 7.99:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.62:1
White text7.99:1

Values

HEX#404F7C
RGBrgb(64, 79, 124)
HSLhsl(225, 32%, 37%)
OKLCHoklch(43.6% 0.077 269.1)

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 #404F7C 7.99:1 AAA Lc -92.3 Preferred for body text
Black text on #404F7C 2.62:1 Fails Lc 16.4 Dividers and decoration only
#404F7C text on white 7.99:1 AAA Lc 87.6 Fine for body text
#404F7C text on black 2.62:1 Fails Lc -14.5 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

    #D2D9EA

    oklch(88.5% 0.025 267.9)

  4. Step 300

    300

    #B5C0DF

    oklch(80.9% 0.045 269.9)

  5. Step 400

    400

    #8E9FCE

    oklch(70.6% 0.072 269.1)

  6. Step 500

    500

    #7387C2

    oklch(63.2% 0.092 269.3)

  7. Step 600

    600

    #5B70AE

    oklch(55.6% 0.1 268.8)

  8. Step 700

    700

    #4B5D96

    oklch(49% 0.094 269.4)

  9. Step 800

    800 (this color)

    #404F7C

    oklch(43.6% 0.077 269.1)

  10. Step 900

    900

    #344062

    oklch(37.7% 0.061 268.6)

  11. Step 950

    950

    #1F2639

    oklch(27.1% 0.037 268.4)

Export this scale for Tailwind in the Tailwind colors tool

#404F7C 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)#3E537E0.012
Deuteranopia (no green cones)#384E7B0.012
Tritanopia (no blue cones)#29585F0.069
Achromatopsia (no color)#5151510.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #404F7C

    #404F7C

    oklch(43.6% 0.077 269.1)

  • #624F17

    #624F17

    oklch(43.6% 0.077 89.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404F7C

    #404F7C

    oklch(43.6% 0.077 269.1)

  • #225777

    #225777

    oklch(43.7% 0.077 238.6)

  • #574776

    #574776

    oklch(43.5% 0.078 298.8)

Open the analogous palette in the generator

Split complementary

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

  • #404F7C

    #404F7C

    oklch(43.6% 0.077 269.1)

  • #704622

    #704622

    oklch(43.5% 0.077 59.2)

  • #4D5722

    #4D5722

    oklch(43.5% 0.077 118.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404F7C

    #404F7C

    oklch(43.6% 0.077 269.1)

  • #764038

    #764038

    oklch(43.6% 0.077 29.4)

  • #305D39

    #305D39

    oklch(43.6% 0.077 148.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404F7C

    #404F7C

    oklch(43.6% 0.077 269.1)

  • #733E50

    #733E50

    oklch(43.5% 0.077 359.1)

  • #624F17

    #624F17

    oklch(43.6% 0.077 89.6)

  • #085F52

    #085F52

    oklch(43.6% 0.077 178.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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