#404370

Closest named color: Dark Grey Blue (#29465B). oklch(40.2% 0.075 279.5), rgb(64, 67, 112).

Aa

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

About this color

#404370 is a dark, moderately saturated blue. In OKLCH its lightness is 40%, its chroma 0.075 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.052 away. White text reads best on it, at 9.31:1.

Hue familyBlues
Lightnessdark (40%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.25:1
White text9.31:1

Values

HEX#404370
RGBrgb(64, 67, 112)
HSLhsl(236, 27%, 35%)
OKLCHoklch(40.2% 0.075 279.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 #404370 9.31:1 AAA Lc -95.8 Preferred for body text
Black text on #404370 2.25:1 Fails Lc 12.5 Not readable
#404370 text on white 9.31:1 AAA Lc 91.4 Preferred for body text
#404370 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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E7E9F5

    oklch(93.6% 0.016 278.5)

  3. Step 200

    200

    #D4D7EE

    oklch(88.4% 0.032 279.8)

  4. Step 300

    300

    #B8BDE5

    oklch(80.8% 0.057 279.5)

  5. Step 400

    400

    #959BD8

    oklch(70.8% 0.089 279.5)

  6. Step 500

    500

    #7B81CE

    oklch(63.1% 0.115 279.1)

  7. Step 600

    600

    #6569BB

    oklch(55.6% 0.126 279.4)

  8. Step 700

    700

    #5457A1

    oklch(49.1% 0.117 279.4)

  9. Step 800

    800

    #454883

    oklch(42.8% 0.097 279.3)

  10. Step 900

    900 (this color)

    #404370

    oklch(40.2% 0.075 279.5)

  11. Step 950

    950

    #22243D

    oklch(27.1% 0.046 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#404370 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)#3349720.023
Deuteranopia (no green cones)#31456F0.022
Tritanopia (no blue cones)#314C540.066
Achromatopsia (no color)#4747470.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #404370

    #404370

    oklch(40.2% 0.075 279.5)

  • #52490F

    #52490F

    oklch(40.3% 0.075 100.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #404370

    #404370

    oklch(40.2% 0.075 279.5)

  • #254B6F

    #254B6F

    oklch(40.3% 0.075 249)

  • #543C67

    #543C67

    oklch(40.2% 0.076 309)

Open the analogous palette in the generator

Split complementary

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

  • #404370

    #404370

    oklch(40.2% 0.075 279.5)

  • #624013

    #624013

    oklch(40.2% 0.075 69.6)

  • #3B5021

    #3B5021

    oklch(40.2% 0.076 129.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #404370

    #404370

    oklch(40.2% 0.075 279.5)

  • #6A3928

    #6A3928

    oklch(40.2% 0.075 39.7)

  • #1B5439

    #1B5439

    oklch(40.1% 0.075 159.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #404370

    #404370

    oklch(40.2% 0.075 279.5)

  • #6A363F

    #6A363F

    oklch(40.2% 0.074 10)

  • #52490F

    #52490F

    oklch(40.3% 0.075 100.1)

  • #005450

    #005450

    oklch(40.2% 0.07 189.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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