#404065

Closest named color: Dark Grey Blue (#29465B). oklch(38.9% 0.062 283.1), rgb(64, 64, 101).

Aa

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

About this color

#404065 is a dark, muted purple. In OKLCH its lightness is 39%, its chroma 0.062 and its hue 283°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.042 away. White text reads best on it, at 9.81:1.

Hue familyPurples
Lightnessdark (39%)
Chromamuted (0.062)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.13:1
White text9.81:1

Values

HEX#404065
RGBrgb(64, 64, 101)
HSLhsl(240, 22%, 32%)
OKLCHoklch(38.9% 0.062 283.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 #404065 9.81:1 AAA Lc -96.9 Preferred for body text
Black text on #404065 2.13:1 Fails Lc 11.2 Not readable
#404065 text on white 9.81:1 AAA Lc 92.7 Preferred for body text
#404065 text on black 2.13:1 Fails Lc -9.7 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 900.

  1. Step 50

    50

    #F5F5FA

    oklch(97.2% 0.007 286.3)

  2. Step 100

    100

    #E8E9F3

    oklch(93.6% 0.013 281.6)

  3. Step 200

    200

    #D6D7EA

    oklch(88.4% 0.026 283.4)

  4. Step 300

    300

    #BCBDDF

    oklch(80.9% 0.048 283.9)

  5. Step 400

    400

    #9A9BCE

    oklch(70.7% 0.074 283.5)

  6. Step 500

    500

    #8182C2

    oklch(63.2% 0.096 282.6)

  7. Step 600

    600

    #6B6AAE

    oklch(55.5% 0.104 283.1)

  8. Step 700

    700

    #5A5896

    oklch(49.1% 0.098 283.6)

  9. Step 800

    800

    #494879

    oklch(42.6% 0.08 283.4)

  10. Step 900

    900 (this color)

    #404065

    oklch(38.9% 0.062 283.1)

  11. Step 950

    950

    #242439

    oklch(27.1% 0.039 283.5)

Export this scale for Tailwind in the Tailwind colors tool

#404065 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)#3545660.021
Deuteranopia (no green cones)#3342640.020
Tritanopia (no blue cones)#36474E0.054
Achromatopsia (no color)#4444440.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #404065

    #404065

    oklch(38.9% 0.062 283.1)

  • #4B461B

    #4B461B

    oklch(38.9% 0.062 102.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404065

    #404065

    oklch(38.9% 0.062 283.1)

  • #2C4665

    #2C4665

    oklch(38.8% 0.062 253.6)

  • #503A5C

    #503A5C

    oklch(38.7% 0.062 313.2)

Open the analogous palette in the generator

Split complementary

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

  • #404065

    #404065

    oklch(38.9% 0.062 283.1)

  • #593F1B

    #593F1B

    oklch(38.9% 0.063 72.9)

  • #374C28

    #374C28

    oklch(38.9% 0.063 133.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404065

    #404065

    oklch(38.9% 0.062 283.1)

  • #613929

    #613929

    oklch(38.9% 0.063 42.4)

  • #204F3B

    #204F3B

    oklch(38.8% 0.062 163.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404065

    #404065

    oklch(38.9% 0.062 283.1)

  • #61363B

    #61363B

    oklch(38.8% 0.062 12.9)

  • #4B461B

    #4B461B

    oklch(38.9% 0.062 102.7)

  • #0C4F4E

    #0C4F4E

    oklch(38.9% 0.062 193.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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