#404F82

Closest named color: Twilight (#4E518B). oklch(43.9% 0.086 270.2), rgb(64, 79, 130).

Aa

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

About this color

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

Hue familyBlues
Lightnessdark (44%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameTwilight (#4E518B)
Black text2.65:1
White text7.89:1

Values

HEX#404F82
RGBrgb(64, 79, 130)
HSLhsl(226, 34%, 38%)
OKLCHoklch(43.9% 0.086 270.2)

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 #404F82 7.89:1 AAA Lc -92.0 Preferred for body text
Black text on #404F82 2.65:1 Fails Lc 16.7 Dividers and decoration only
#404F82 text on white 7.89:1 AAA Lc 87.3 Fine for body text
#404F82 text on black 2.65:1 Fails Lc -14.8 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

    #E6EAF4

    oklch(93.7% 0.014 268.5)

  3. Step 200

    200

    #D2D9EC

    oklch(88.6% 0.027 269.6)

  4. Step 300

    300

    #B4C0E2

    oklch(81% 0.05 269.9)

  5. Step 400

    400

    #8D9ED4

    oklch(70.6% 0.082 270.7)

  6. Step 500

    500

    #7186C8

    oklch(63.1% 0.103 269.8)

  7. Step 600

    600

    #5A6FB5

    oklch(55.7% 0.112 269.9)

  8. Step 700

    700

    #4A5C9C

    oklch(49.1% 0.105 270.3)

  9. Step 800

    800 (this color)

    #404F82

    oklch(43.9% 0.086 270.2)

  10. Step 900

    900

    #343F65

    oklch(37.6% 0.067 270.7)

  11. Step 950

    950

    #1E253B

    oklch(26.9% 0.042 269.9)

Export this scale for Tailwind in the Tailwind colors tool

#404F82 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)#3B54840.015
Deuteranopia (no green cones)#354F810.014
Tritanopia (no blue cones)#255A620.078
Achromatopsia (no color)#5151510.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #404F82

    #404F82

    oklch(43.9% 0.086 270.2)

  • #655008

    #655008

    oklch(44.1% 0.087 90.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404F82

    #404F82

    oklch(43.9% 0.086 270.2)

  • #1B587D

    #1B587D

    oklch(44% 0.086 240)

  • #5A467B

    #5A467B

    oklch(43.9% 0.088 300.2)

Open the analogous palette in the generator

Split complementary

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

  • #404F82

    #404F82

    oklch(43.9% 0.086 270.2)

  • #74461A

    #74461A

    oklch(44% 0.085 60.8)

  • #4C591C

    #4C591C

    oklch(43.9% 0.086 120.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404F82

    #404F82

    oklch(43.9% 0.086 270.2)

  • #7B3E35

    #7B3E35

    oklch(43.9% 0.087 29.7)

  • #2A5F38

    #2A5F38

    oklch(43.8% 0.086 150.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404F82

    #404F82

    oklch(43.9% 0.086 270.2)

  • #783C50

    #783C50

    oklch(43.9% 0.087 0.1)

  • #655008

    #655008

    oklch(44.1% 0.087 90.4)

  • #006054

    #006054

    oklch(43.8% 0.079 180.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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