#404B7E

Closest named color: Twilight (#4E518B). oklch(42.8% 0.086 273.1), rgb(64, 75, 126).

Aa

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

About this color

#404B7E is a dark, moderately saturated blue. In OKLCH its lightness is 43%, its chroma 0.086 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.034 away. White text reads best on it, at 8.31:1.

Hue familyBlues
Lightnessdark (43%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.52:1
White text8.31:1

Values

HEX#404B7E
RGBrgb(64, 75, 126)
HSLhsl(229, 33%, 37%)
OKLCHoklch(42.8% 0.086 273.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 #404B7E 8.31:1 AAA Lc -93.2 Preferred for body text
Black text on #404B7E 2.52:1 Fails Lc 15.4 Dividers and decoration only
#404B7E text on white 8.31:1 AAA Lc 88.6 Fine for body text
#404B7E text on black 2.52:1 Fails Lc -13.6 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

    #E6E9F4

    oklch(93.5% 0.015 273.8)

  3. Step 200

    200

    #D3D8EC

    oklch(88.4% 0.028 274.6)

  4. Step 300

    300

    #B6BFE2

    oklch(80.9% 0.05 273.9)

  5. Step 400

    400

    #909ED3

    oklch(70.8% 0.079 272.8)

  6. Step 500

    500

    #7585C8

    oklch(63.2% 0.103 272.9)

  7. Step 600

    600

    #5E6DB4

    oklch(55.5% 0.112 273.2)

  8. Step 700

    700

    #4E5B9B

    oklch(49.1% 0.104 273.3)

  9. Step 800

    800 (this color)

    #404B7E

    oklch(42.8% 0.086 273.1)

  10. Step 900

    900

    #363F65

    oklch(37.8% 0.066 272.7)

  11. Step 950

    950

    #20253B

    oklch(27.1% 0.042 273.5)

Export this scale for Tailwind in the Tailwind colors tool

#404B7E 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)#3851800.019
Deuteranopia (no green cones)#324C7D0.018
Tritanopia (no blue cones)#28565E0.077
Achromatopsia (no color)#4E4E4E0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #404B7E

    #404B7E

    oklch(42.8% 0.086 273.1)

  • #5F4D04

    #5F4D04

    oklch(42.7% 0.085 93)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404B7E

    #404B7E

    oklch(42.8% 0.086 273.1)

  • #1C547A

    #1C547A

    oklch(42.8% 0.085 242.5)

  • #594376

    #594376

    oklch(42.9% 0.086 302.8)

Open the analogous palette in the generator

Split complementary

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

  • #404B7E

    #404B7E

    oklch(42.8% 0.086 273.1)

  • #704314

    #704314

    oklch(42.8% 0.086 62.3)

  • #46571B

    #46571B

    oklch(42.9% 0.087 123.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404B7E

    #404B7E

    oklch(42.8% 0.086 273.1)

  • #773C2F

    #773C2F

    oklch(42.8% 0.086 33.6)

  • #235D38

    #235D38

    oklch(42.9% 0.086 152.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404B7E

    #404B7E

    oklch(42.8% 0.086 273.1)

  • #75394B

    #75394B

    oklch(42.7% 0.086 2.4)

  • #5F4D04

    #5F4D04

    oklch(42.7% 0.085 93)

  • #005D53

    #005D53

    oklch(42.9% 0.077 182.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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