#404E88

Closest named color: Twilight (#4E518B). oklch(44.1% 0.097 271.7), rgb(64, 78, 136).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.097)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.66:1
White text7.88:1

Values

HEX#404E88
RGBrgb(64, 78, 136)
HSLhsl(228, 36%, 39%)
OKLCHoklch(44.1% 0.097 271.7)

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 #404E88 7.88:1 AAA Lc -91.9 Preferred for body text
Black text on #404E88 2.66:1 Fails Lc 16.8 Dividers and decoration only
#404E88 text on white 7.88:1 AAA Lc 87.2 Fine for body text
#404E88 text on black 2.66:1 Fails Lc -14.9 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

    #E6E9F5

    oklch(93.5% 0.016 274.8)

  3. Step 200

    200

    #D1D8EF

    oklch(88.4% 0.033 272.2)

  4. Step 300

    300

    #B3BFE6

    oklch(80.8% 0.057 271.7)

  5. Step 400

    400

    #8C9DDA

    oklch(70.6% 0.092 271.9)

  6. Step 500

    500

    #7184D0

    oklch(63.1% 0.117 272)

  7. Step 600

    600

    #5A6DBD

    oklch(55.7% 0.126 271.7)

  8. Step 700

    700

    #4A5AA3

    oklch(49.1% 0.118 272.1)

  9. Step 800

    800 (this color)

    #404E88

    oklch(44.1% 0.097 271.7)

  10. Step 900

    900

    #333E6A

    oklch(37.6% 0.077 271.7)

  11. Step 950

    950

    #1E253E

    oklch(27.1% 0.048 271.1)

Export this scale for Tailwind in the Tailwind colors tool

#404E88 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)#37558A0.021
Deuteranopia (no green cones)#2F4F870.021
Tritanopia (no blue cones)#205A640.086
Achromatopsia (no color)#5151510.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #404E88

    #404E88

    oklch(44.1% 0.097 271.7)

  • #655000

    #655000

    oklch(44% 0.09 91.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404E88

    #404E88

    oklch(44.1% 0.097 271.7)

  • #105883

    #105883

    oklch(44.1% 0.097 241.6)

  • #5D447F

    #5D447F

    oklch(44% 0.098 302.1)

Open the analogous palette in the generator

Split complementary

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

  • #404E88

    #404E88

    oklch(44.1% 0.097 271.7)

  • #784409

    #784409

    oklch(44% 0.097 61.5)

  • #4A5B11

    #4A5B11

    oklch(44.2% 0.098 122.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404E88

    #404E88

    oklch(44.1% 0.097 271.7)

  • #803C2F

    #803C2F

    oklch(44.2% 0.097 32.3)

  • #1F6236

    #1F6236

    oklch(44.2% 0.098 151.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404E88

    #404E88

    oklch(44.1% 0.097 271.7)

  • #7D394F

    #7D394F

    oklch(44.1% 0.097 1.5)

  • #655000

    #655000

    oklch(44% 0.09 91.3)

  • #006156

    #006156

    oklch(44.2% 0.079 181.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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