#404E7C

Closest named color: Dusk (#4E5481). oklch(43.4% 0.078 270.1), rgb(64, 78, 124).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.59:1
White text8.08:1

Values

HEX#404E7C
RGBrgb(64, 78, 124)
HSLhsl(226, 32%, 37%)
OKLCHoklch(43.4% 0.078 270.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 #404E7C 8.08:1 AAA Lc -92.6 Preferred for body text
Black text on #404E7C 2.59:1 Fails Lc 16.1 Dividers and decoration only
#404E7C text on white 8.08:1 AAA Lc 87.9 Fine for body text
#404E7C text on black 2.59:1 Fails Lc -14.2 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

    #B5C0DF

    oklch(80.9% 0.045 269.9)

  5. Step 400

    400

    #8F9FCF

    oklch(70.8% 0.073 270.2)

  6. Step 500

    500

    #7386C3

    oklch(63% 0.095 270.3)

  7. Step 600

    600

    #5C6FAF

    oklch(55.5% 0.102 270.3)

  8. Step 700

    700

    #4C5D96

    oklch(49.1% 0.094 270.1)

  9. Step 800

    800 (this color)

    #404E7C

    oklch(43.4% 0.078 270.1)

  10. Step 900

    900

    #354062

    oklch(37.8% 0.06 269.7)

  11. Step 950

    950

    #1F253A

    oklch(26.9% 0.04 271.3)

Export this scale for Tailwind in the Tailwind colors tool

#404E7C 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)#3D537E0.014
Deuteranopia (no green cones)#374D7B0.013
Tritanopia (no blue cones)#29585F0.071
Achromatopsia (no color)#5050500.078

Harmonies

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

Complementary

The opposite hue (180°).

  • #404E7C

    #404E7C

    oklch(43.4% 0.078 270.1)

  • #614E14

    #614E14

    oklch(43.2% 0.078 90)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404E7C

    #404E7C

    oklch(43.4% 0.078 270.1)

  • #215677

    #215677

    oklch(43.4% 0.078 239.6)

  • #584675

    #584675

    oklch(43.3% 0.078 300.8)

Open the analogous palette in the generator

Split complementary

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

  • #404E7C

    #404E7C

    oklch(43.4% 0.078 270.1)

  • #704520

    #704520

    oklch(43.3% 0.078 59.1)

  • #4B5721

    #4B5721

    oklch(43.4% 0.079 120.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404E7C

    #404E7C

    oklch(43.4% 0.078 270.1)

  • #763F36

    #763F36

    oklch(43.4% 0.079 30.4)

  • #2E5D39

    #2E5D39

    oklch(43.5% 0.079 149.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404E7C

    #404E7C

    oklch(43.4% 0.078 270.1)

  • #733D4F

    #733D4F

    oklch(43.3% 0.078 359.6)

  • #614E14

    #614E14

    oklch(43.2% 0.078 90)

  • #015F52

    #015F52

    oklch(43.5% 0.079 179.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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