#404B8A

Closest named color: Twilight (#4E518B). oklch(43.6% 0.104 273.8), rgb(64, 75, 138).

Aa

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

About this color

#404B8A is a dark, moderately saturated blue. In OKLCH its lightness is 44%, its chroma 0.104 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Twilight (#4E518B), ΔE 0.028 away. White text reads best on it, at 8.10:1.

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.104)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.59:1
White text8.10:1

Values

HEX#404B8A
RGBrgb(64, 75, 138)
HSLhsl(231, 37%, 40%)
OKLCHoklch(43.6% 0.104 273.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 #404B8A 8.10:1 AAA Lc -92.6 Preferred for body text
Black text on #404B8A 2.59:1 Fails Lc 16.1 Dividers and decoration only
#404B8A text on white 8.10:1 AAA Lc 87.9 Fine for body text
#404B8A 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

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D2D8F0

    oklch(88.5% 0.034 274.5)

  4. Step 300

    300

    #B4BEE9

    oklch(80.8% 0.062 274.7)

  5. Step 400

    400

    #8D9CDE

    oklch(70.7% 0.098 273.8)

  6. Step 500

    500

    #7282D4

    oklch(63% 0.125 273.9)

  7. Step 600

    600

    #5B6AC2

    oklch(55.5% 0.137 273.8)

  8. Step 700

    700

    #4B58A7

    oklch(49% 0.126 273.8)

  9. Step 800

    800 (this color)

    #404B8A

    oklch(43.6% 0.104 273.8)

  10. Step 900

    900

    #343D6C

    oklch(37.6% 0.081 273.7)

  11. Step 950

    950

    #1F243F

    oklch(27% 0.051 274.5)

Export this scale for Tailwind in the Tailwind colors tool

#404B8A 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)#30538C0.027
Deuteranopia (no green cones)#284D890.029
Tritanopia (no blue cones)#1F59640.092
Achromatopsia (no color)#5050500.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #404B8A

    #404B8A

    oklch(43.6% 0.104 273.8)

  • #625000

    #625000

    oklch(43.7% 0.09 93.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404B8A

    #404B8A

    oklch(43.6% 0.104 273.8)

  • #065686

    #065686

    oklch(43.6% 0.104 243.7)

  • #5E417F

    #5E417F

    oklch(43.6% 0.103 304)

Open the analogous palette in the generator

Split complementary

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

  • #404B8A

    #404B8A

    oklch(43.6% 0.104 273.8)

  • #764300

    #764300

    oklch(43.5% 0.099 63.6)

  • #465A07

    #465A07

    oklch(43.5% 0.104 123.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404B8A

    #404B8A

    oklch(43.6% 0.104 273.8)

  • #813828

    #813828

    oklch(43.6% 0.105 33.8)

  • #0E6135

    #0E6135

    oklch(43.5% 0.104 153.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404B8A

    #404B8A

    oklch(43.6% 0.104 273.8)

  • #7F354B

    #7F354B

    oklch(43.6% 0.105 3.8)

  • #625000

    #625000

    oklch(43.7% 0.09 93.9)

  • #005F56

    #005F56

    oklch(43.6% 0.077 183.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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