#404258

Closest named color: Dark Grey Blue (#29465B). oklch(38.6% 0.037 280.4), rgb(64, 66, 88).

Aa

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

About this color

#404258 is a dark, muted purple. In OKLCH its lightness is 39%, its chroma 0.037 and its hue 280°. 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.82:1.

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

Values

HEX#404258
RGBrgb(64, 66, 88)
HSLhsl(235, 16%, 30%)
OKLCHoklch(38.6% 0.037 280.4)

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 #404258 9.82:1 AAA Lc -97.0 Preferred for body text
Black text on #404258 2.13:1 Fails Lc 11.2 Not readable
#404258 text on white 9.82:1 AAA Lc 92.8 Preferred for body text
#404258 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

    #F5F5F8

    oklch(97.1% 0.004 286.3)

  2. Step 100

    100

    #E9E9EF

    oklch(93.6% 0.008 286.2)

  3. Step 200

    200

    #D7D8E4

    oklch(88.5% 0.016 282.2)

  4. Step 300

    300

    #BDBFD3

    oklch(80.9% 0.028 281.2)

  5. Step 400

    400

    #9B9EBD

    oklch(70.7% 0.045 280.8)

  6. Step 500

    500

    #8286AC

    oklch(63.1% 0.057 279.9)

  7. Step 600

    600

    #6C6F98

    oklch(55.5% 0.064 280.9)

  8. Step 700

    700

    #5A5D81

    oklch(49% 0.058 280.3)

  9. Step 800

    800

    #4A4C69

    oklch(42.7% 0.048 281.1)

  10. Step 900

    900 (this color)

    #404258

    oklch(38.6% 0.037 280.4)

  11. Step 950

    950

    #242532

    oklch(26.9% 0.024 281.2)

Export this scale for Tailwind in the Tailwind colors tool

#404258 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)#3C44590.008
Deuteranopia (no green cones)#3B43570.009
Tritanopia (no blue cones)#3A464A0.033
Achromatopsia (no color)#4343430.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #404258

    #404258

    oklch(38.6% 0.037 280.4)

  • #48452D

    #48452D

    oklch(38.7% 0.038 101.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404258

    #404258

    oklch(38.6% 0.037 280.4)

  • #354658

    #354658

    oklch(38.7% 0.038 250.3)

  • #4A3F53

    #4A3F53

    oklch(38.7% 0.036 309.6)

Open the analogous palette in the generator

Split complementary

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

  • #404258

    #404258

    oklch(38.6% 0.037 280.4)

  • #51412E

    #51412E

    oklch(38.7% 0.037 71.2)

  • #3D4833

    #3D4833

    oklch(38.5% 0.037 130.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404258

    #404258

    oklch(38.6% 0.037 280.4)

  • #563D35

    #563D35

    oklch(38.6% 0.038 38.5)

  • #324A3D

    #324A3D

    oklch(38.5% 0.037 160.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404258

    #404258

    oklch(38.6% 0.037 280.4)

  • #563C3F

    #563C3F

    oklch(38.6% 0.037 11.3)

  • #48452D

    #48452D

    oklch(38.7% 0.038 101.9)

  • #2B4B49

    #2B4B49

    oklch(38.7% 0.038 190.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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