#404A79

Closest named color: Dusk (#4E5481). oklch(42.3% 0.079 273.5), rgb(64, 74, 121).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (42%)
Chromamoderately saturated (0.079)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.47:1
White text8.48:1

Values

HEX#404A79
RGBrgb(64, 74, 121)
HSLhsl(229, 31%, 36%)
OKLCHoklch(42.3% 0.079 273.5)

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 #404A79 8.48:1 AAA Lc -93.7 Preferred for body text
Black text on #404A79 2.47:1 Fails Lc 14.8 Not readable
#404A79 text on white 8.48:1 AAA Lc 89.1 Fine for body text
#404A79 text on black 2.47:1 Fails Lc -13.1 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

    #E7E9F3

    oklch(93.5% 0.014 277.1)

  3. Step 200

    200

    #D3D8EB

    oklch(88.4% 0.027 274.1)

  4. Step 300

    300

    #B7BFDF

    oklch(80.9% 0.046 274.3)

  5. Step 400

    400

    #919ECF

    oklch(70.7% 0.073 272.9)

  6. Step 500

    500

    #7785C3

    oklch(63.1% 0.095 273.7)

  7. Step 600

    600

    #606EAF

    oklch(55.6% 0.102 273.4)

  8. Step 700

    700

    #4F5C97

    oklch(49.1% 0.096 273)

  9. Step 800

    800 (this color)

    #404A79

    oklch(42.3% 0.079 273.5)

  10. Step 900

    900

    #373F62

    oklch(37.7% 0.061 273.3)

  11. Step 950

    950

    #20253A

    oklch(27% 0.04 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#404A79 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)#394F7B0.016
Deuteranopia (no green cones)#344B780.016
Tritanopia (no blue cones)#2C545B0.072
Achromatopsia (no color)#4D4D4D0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #404A79

    #404A79

    oklch(42.3% 0.079 273.5)

  • #5C4C0F

    #5C4C0F

    oklch(42.1% 0.079 93.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404A79

    #404A79

    oklch(42.3% 0.079 273.5)

  • #215276

    #215276

    oklch(42.3% 0.08 243.6)

  • #574271

    #574271

    oklch(42.2% 0.08 303.8)

Open the analogous palette in the generator

Split complementary

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

  • #404A79

    #404A79

    oklch(42.3% 0.079 273.5)

  • #6C4319

    #6C4319

    oklch(42.2% 0.08 63)

  • #455520

    #455520

    oklch(42.3% 0.079 123.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404A79

    #404A79

    oklch(42.3% 0.079 273.5)

  • #733C30

    #733C30

    oklch(42.3% 0.08 33.4)

  • #265A39

    #265A39

    oklch(42.2% 0.079 153.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404A79

    #404A79

    oklch(42.3% 0.079 273.5)

  • #713A49

    #713A49

    oklch(42.3% 0.079 3.6)

  • #5C4C0F

    #5C4C0F

    oklch(42.1% 0.079 93.4)

  • #005B52

    #005B52

    oklch(42.3% 0.075 183.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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