#404086

Closest named color: Dark Slate Blue (#483D8B). oklch(41% 0.114 280.1), rgb(64, 64, 134).

Aa

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

About this color

#404086 is a dark, moderately saturated purple. In OKLCH its lightness is 41%, its chroma 0.114 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Slate Blue (#483D8B), ΔE 0.017 away. White text reads best on it, at 9.14:1.

Hue familyPurples
Lightnessdark (41%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameDark Slate Blue (#483D8B)
Black text2.29:1
White text9.14:1

Values

HEX#404086
RGBrgb(64, 64, 134)
HSLhsl(240, 35%, 39%)
OKLCHoklch(41% 0.114 280.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 #404086 9.14:1 AAA Lc -95.2 Preferred for body text
Black text on #404086 2.29:1 Fails Lc 13.1 Not readable
#404086 text on white 9.14:1 AAA Lc 90.9 Preferred for body text
#404086 text on black 2.29:1 Fails Lc -11.5 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

    #F4F5FC

    oklch(97.1% 0.009 279.7)

  2. Step 100

    100

    #E7E9F7

    oklch(93.7% 0.019 279.5)

  3. Step 200

    200

    #D4D7F2

    oklch(88.5% 0.037 280.6)

  4. Step 300

    300

    #B8BDEC

    oklch(81% 0.066 280)

  5. Step 400

    400

    #9499E2

    oklch(70.8% 0.106 280.3)

  6. Step 500

    500

    #7B7EDA

    oklch(63.2% 0.137 280.3)

  7. Step 600

    600

    #6565C7

    oklch(55.6% 0.148 280.4)

  8. Step 700

    700

    #5454AC

    oklch(49.2% 0.137 280.1)

  9. Step 800

    800 (this color)

    #404086

    oklch(41% 0.114 280.1)

  10. Step 900

    900

    #393B6F

    oklch(37.8% 0.088 279.7)

  11. Step 950

    950

    #212341

    oklch(27% 0.055 279.1)

Export this scale for Tailwind in the Tailwind colors tool

#404086 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)#1E4B880.046
Deuteranopia (no green cones)#1745840.047
Tritanopia (no blue cones)#244F5C0.099
Achromatopsia (no color)#4848480.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #404086

    #404086

    oklch(41% 0.114 280.1)

  • #554B00

    #554B00

    oklch(41% 0.085 100.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404086

    #404086

    oklch(41% 0.114 280.1)

  • #034C85

    #034C85

    oklch(41% 0.114 250)

  • #5D3578

    #5D3578

    oklch(40.9% 0.115 309.8)

Open the analogous palette in the generator

Split complementary

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

  • #404086

    #404086

    oklch(41% 0.114 280.1)

  • #684000

    #684000

    oklch(40.9% 0.089 70.1)

  • #355500

    #355500

    oklch(40.9% 0.11 130.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404086

    #404086

    oklch(41% 0.114 280.1)

  • #7B2F10

    #7B2F10

    oklch(40.9% 0.114 40.3)

  • #005938

    #005938

    oklch(40.9% 0.093 159.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404086

    #404086

    oklch(41% 0.114 280.1)

  • #7B293C

    #7B293C

    oklch(40.9% 0.115 9.7)

  • #554B00

    #554B00

    oklch(41% 0.085 100.6)

  • #005653

    #005653

    oklch(40.9% 0.07 190.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #404086 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.