#404164

Closest named color: Dark Grey Blue (#29465B). oklch(39% 0.059 282), rgb(64, 65, 100).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (39%)
Chromamuted (0.059)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.15:1
White text9.73:1

Values

HEX#404164
RGBrgb(64, 65, 100)
HSLhsl(238, 22%, 32%)
OKLCHoklch(39% 0.059 282)

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 #404164 9.73:1 AAA Lc -96.7 Preferred for body text
Black text on #404164 2.15:1 Fails Lc 11.4 Not readable
#404164 text on white 9.73:1 AAA Lc 92.5 Preferred for body text
#404164 text on black 2.15:1 Fails Lc -9.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 900.

  1. Step 50

    50

    #F5F5F9

    oklch(97.1% 0.005 286.3)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D6D8E9

    oklch(88.6% 0.023 280.6)

  4. Step 300

    300

    #BBBEDD

    oklch(80.9% 0.044 281)

  5. Step 400

    400

    #999CCC

    oklch(70.8% 0.07 281.7)

  6. Step 500

    500

    #8183BF

    oklch(63.2% 0.09 282)

  7. Step 600

    600

    #6A6BAB

    oklch(55.5% 0.099 282)

  8. Step 700

    700

    #595993

    oklch(49% 0.092 282.5)

  9. Step 800

    800

    #494977

    oklch(42.7% 0.076 282.7)

  10. Step 900

    900 (this color)

    #404164

    oklch(39% 0.059 282)

  11. Step 950

    950

    #232438

    oklch(26.9% 0.037 281.4)

Export this scale for Tailwind in the Tailwind colors tool

#404164 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)#3645650.018
Deuteranopia (no green cones)#3543630.017
Tritanopia (no blue cones)#36484E0.052
Achromatopsia (no color)#4444440.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #404164

    #404164

    oklch(39% 0.059 282)

  • #4B461E

    #4B461E

    oklch(38.9% 0.059 102.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404164

    #404164

    oklch(39% 0.059 282)

  • #2D4764

    #2D4764

    oklch(39.1% 0.059 252)

  • #503C5C

    #503C5C

    oklch(39.1% 0.058 312.3)

Open the analogous palette in the generator

Split complementary

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

  • #404164

    #404164

    oklch(39% 0.059 282)

  • #59401F

    #59401F

    oklch(39.2% 0.059 72.2)

  • #394C2A

    #394C2A

    oklch(39.1% 0.059 132.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404164

    #404164

    oklch(39% 0.059 282)

  • #603A2B

    #603A2B

    oklch(39% 0.06 42.2)

  • #244F3B

    #244F3B

    oklch(39% 0.059 161.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404164

    #404164

    oklch(39% 0.059 282)

  • #61373D

    #61373D

    oklch(39% 0.06 11)

  • #4B461E

    #4B461E

    oklch(38.9% 0.059 102.2)

  • #134F4D

    #134F4D

    oklch(39% 0.059 191.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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