#404259

Closest named color: Dark Grey Blue (#29465B). oklch(38.7% 0.039 280.5), rgb(64, 66, 89).

Aa

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

About this color

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

Hue familyPurples
Lightnessdark (39%)
Chromamuted (0.039)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.14:1
White text9.80:1

Values

HEX#404259
RGBrgb(64, 66, 89)
HSLhsl(235, 16%, 30%)
OKLCHoklch(38.7% 0.039 280.5)

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 #404259 9.80:1 AAA Lc -96.9 Preferred for body text
Black text on #404259 2.14:1 Fails Lc 11.2 Not readable
#404259 text on white 9.80:1 AAA Lc 92.7 Preferred for body text
#404259 text on black 2.14: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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D7D8E4

    oklch(88.5% 0.016 282.2)

  4. Step 300

    300

    #BDBFD4

    oklch(81% 0.029 281.4)

  5. Step 400

    400

    #9B9EBE

    oklch(70.8% 0.047 280.9)

  6. Step 500

    500

    #8286AE

    oklch(63.1% 0.06 280.1)

  7. Step 600

    600

    #6C6F99

    oklch(55.6% 0.065 280.9)

  8. Step 700

    700

    #5A5D83

    oklch(49.1% 0.061 280.4)

  9. Step 800

    800

    #4A4C6A

    oklch(42.7% 0.05 281.1)

  10. Step 900

    900 (this color)

    #404259

    oklch(38.7% 0.039 280.5)

  11. Step 950

    950

    #242532

    oklch(26.9% 0.024 281.2)

Export this scale for Tailwind in the Tailwind colors tool

#404259 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)#3C445A0.008
Deuteranopia (no green cones)#3A43580.010
Tritanopia (no blue cones)#3A464A0.034
Achromatopsia (no color)#4444440.039

Harmonies

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

Complementary

The opposite hue (180°).

  • #404259

    #404259

    oklch(38.7% 0.039 280.5)

  • #49452C

    #49452C

    oklch(38.7% 0.04 100.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404259

    #404259

    oklch(38.7% 0.039 280.5)

  • #344659

    #344659

    oklch(38.7% 0.04 250.2)

  • #4B3E54

    #4B3E54

    oklch(38.6% 0.04 311.2)

Open the analogous palette in the generator

Split complementary

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

  • #404259

    #404259

    oklch(38.7% 0.039 280.5)

  • #52412D

    #52412D

    oklch(38.8% 0.039 70.8)

  • #3D4933

    #3D4933

    oklch(38.8% 0.039 131.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404259

    #404259

    oklch(38.7% 0.039 280.5)

  • #573D34

    #573D34

    oklch(38.7% 0.04 39.9)

  • #314B3D

    #314B3D

    oklch(38.7% 0.04 160.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404259

    #404259

    oklch(38.7% 0.039 280.5)

  • #573C3F

    #573C3F

    oklch(38.8% 0.038 11.6)

  • #49452C

    #49452C

    oklch(38.7% 0.04 100.2)

  • #2A4B49

    #2A4B49

    oklch(38.7% 0.039 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 #404259, closest first.

Similar named colors

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

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