#404757

Closest named color: Dark Grey Blue (#29465B). oklch(39.8% 0.029 266.5), rgb(64, 71, 87).

Aa

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

About this color

#404757 is a dark close to neutral grey. In OKLCH its lightness is 40%, its chroma 0.029. It has too little chroma to lean warm or cool. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.032 away. White text reads best on it, at 9.30:1.

Hue familyNeutrals
Lightnessdark (40%)
Chromaclose to neutral grey (0.029)
Temperatureneutral
Nearest nameDark Grey Blue (#29465B)
Black text2.25:1
White text9.30:1

Values

HEX#404757
RGBrgb(64, 71, 87)
HSLhsl(222, 15%, 30%)
OKLCHoklch(39.8% 0.029 266.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 #404757 9.30:1 AAA Lc -95.8 Preferred for body text
Black text on #404757 2.25:1 Fails Lc 12.5 Not readable
#404757 text on white 9.30:1 AAA Lc 91.5 Preferred for body text
#404757 text on black 2.25:1 Fails Lc -10.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

    #F4F5F7

    oklch(97% 0.003 264.5)

  2. Step 100

    100

    #E8EAEE

    oklch(93.7% 0.006 264.5)

  3. Step 200

    200

    #D5D9E1

    oklch(88.5% 0.012 264.5)

  4. Step 300

    300

    #BAC1CF

    oklch(81% 0.021 264.4)

  5. Step 400

    400

    #97A1B7

    oklch(70.8% 0.034 266.1)

  6. Step 500

    500

    #7D89A5

    oklch(63% 0.045 266.9)

  7. Step 600

    600

    #667390

    oklch(55.6% 0.048 266)

  8. Step 700

    700

    #55607A

    oklch(49% 0.044 266.9)

  9. Step 800

    800

    #464F64

    oklch(42.8% 0.037 266.7)

  10. Step 900

    900 (this color)

    #404757

    oklch(39.8% 0.029 266.5)

  11. Step 950

    950

    #222630

    oklch(26.9% 0.02 267.9)

Export this scale for Tailwind in the Tailwind colors tool

#404757 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)#4248580.005
Deuteranopia (no green cones)#4046570.003
Tritanopia (no blue cones)#3A4A4C0.026
Achromatopsia (no color)#4747470.029

Harmonies

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

Complementary

The opposite hue (180°).

  • #404757

    #404757

    oklch(39.8% 0.029 266.5)

  • #4E4636

    #4E4636

    oklch(39.7% 0.028 84.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404757

    #404757

    oklch(39.8% 0.029 266.5)

  • #394A55

    #394A55

    oklch(39.9% 0.028 236.8)

  • #484455

    #484455

    oklch(39.7% 0.029 295.8)

Open the analogous palette in the generator

Split complementary

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

  • #404757

    #404757

    oklch(39.8% 0.029 266.5)

  • #534338

    #534338

    oklch(39.6% 0.029 56.3)

  • #464938

    #464938

    oklch(39.7% 0.028 115.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404757

    #404757

    oklch(39.8% 0.029 266.5)

  • #56413F

    #56413F

    oklch(39.7% 0.03 24.7)

  • #3D4C3E

    #3D4C3E

    oklch(39.9% 0.03 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404757

    #404757

    oklch(39.8% 0.029 266.5)

  • #544147

    #544147

    oklch(39.8% 0.028 357.6)

  • #4E4636

    #4E4636

    oklch(39.7% 0.028 84.5)

  • #374C47

    #374C47

    oklch(39.7% 0.027 178.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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