#404765

Closest named color: Dark Grey Blue (#29465B). oklch(40.5% 0.051 273.8), rgb(64, 71, 101).

Aa

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

About this color

#404765 is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.051 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.037 away. White text reads best on it, at 9.10:1.

Hue familyBlues
Lightnessdark (40%)
Chromamuted (0.051)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.30:1
White text9.10:1

Values

HEX#404765
RGBrgb(64, 71, 101)
HSLhsl(229, 22%, 32%)
OKLCHoklch(40.5% 0.051 273.8)

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 #404765 9.10:1 AAA Lc -95.3 Preferred for body text
Black text on #404765 2.30:1 Fails Lc 13.0 Not readable
#404765 text on white 9.10:1 AAA Lc 90.9 Preferred for body text
#404765 text on black 2.30:1 Fails Lc -11.4 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 800.

  1. Step 50

    50

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E8E9F0

    oklch(93.5% 0.009 279.7)

  3. Step 200

    200

    #D5D9E4

    oklch(88.5% 0.016 270)

  4. Step 300

    300

    #BAC0D5

    oklch(81% 0.03 273)

  5. Step 400

    400

    #979FBF

    oklch(70.7% 0.048 274.1)

  6. Step 500

    500

    #7D87AF

    oklch(63% 0.061 273.6)

  7. Step 600

    600

    #67719B

    oklch(55.7% 0.066 273.7)

  8. Step 700

    700

    #555E84

    oklch(49% 0.062 273.7)

  9. Step 800

    800 (this color)

    #404765

    oklch(40.5% 0.051 273.8)

  10. Step 900

    900

    #3B4057

    oklch(37.7% 0.04 274.8)

  11. Step 950

    950

    #222633

    oklch(27.1% 0.025 271.4)

Export this scale for Tailwind in the Tailwind colors tool

#404765 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)#3E4A660.009
Deuteranopia (no green cones)#3B47640.008
Tritanopia (no blue cones)#364D520.045
Achromatopsia (no color)#4848480.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #404765

    #404765

    oklch(40.5% 0.051 273.8)

  • #524927

    #524927

    oklch(40.6% 0.052 95)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404765

    #404765

    oklch(40.5% 0.051 273.8)

  • #304C63

    #304C63

    oklch(40.5% 0.052 244.3)

  • #4F4260

    #4F4260

    oklch(40.5% 0.052 304)

Open the analogous palette in the generator

Split complementary

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

  • #404765

    #404765

    oklch(40.5% 0.051 273.8)

  • #5D432B

    #5D432B

    oklch(40.5% 0.051 63.3)

  • #434E2E

    #434E2E

    oklch(40.5% 0.052 124.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404765

    #404765

    oklch(40.5% 0.051 273.8)

  • #623F36

    #623F36

    oklch(40.6% 0.052 35.1)

  • #32513C

    #32513C

    oklch(40.4% 0.051 153.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404765

    #404765

    oklch(40.5% 0.051 273.8)

  • #613D46

    #613D46

    oklch(40.5% 0.052 3.4)

  • #524927

    #524927

    oklch(40.6% 0.052 95)

  • #24524C

    #24524C

    oklch(40.4% 0.052 184.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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