#40475A

Closest named color: Dark Grey Blue (#29465B). oklch(39.9% 0.033 269.1), rgb(64, 71, 90).

Aa

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

About this color

#40475A is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.033 and its hue 269°. 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.26:1.

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

Values

HEX#40475A
RGBrgb(64, 71, 90)
HSLhsl(224, 17%, 30%)
OKLCHoklch(39.9% 0.033 269.1)

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 #40475A 9.26:1 AAA Lc -95.7 Preferred for body text
Black text on #40475A 2.26:1 Fails Lc 12.6 Not readable
#40475A text on white 9.26:1 AAA Lc 91.4 Preferred for body text
#40475A text on black 2.26:1 Fails Lc -11.0 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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E8EAEF

    oklch(93.7% 0.007 268.5)

  3. Step 200

    200

    #D5D9E3

    oklch(88.5% 0.014 268.5)

  4. Step 300

    300

    #BAC0D1

    oklch(80.8% 0.025 270.3)

  5. Step 400

    400

    #96A0BA

    oklch(70.7% 0.04 268.7)

  6. Step 500

    500

    #7D89A9

    oklch(63.2% 0.05 268.8)

  7. Step 600

    600

    #667295

    oklch(55.6% 0.057 269.8)

  8. Step 700

    700

    #55607F

    oklch(49.2% 0.052 269.3)

  9. Step 800

    800

    #454E67

    oklch(42.6% 0.043 269.2)

  10. Step 900

    900 (this color)

    #40475A

    oklch(39.9% 0.033 269.1)

  11. Step 950

    950

    #222631

    oklch(27% 0.021 269.3)

Export this scale for Tailwind in the Tailwind colors tool

#40475A 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)#41485B0.004
Deuteranopia (no green cones)#3F465A0.004
Tritanopia (no blue cones)#394B4D0.031
Achromatopsia (no color)#4747470.033

Harmonies

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

Complementary

The opposite hue (180°).

  • #40475A

    #40475A

    oklch(39.9% 0.033 269.1)

  • #4F4733

    #4F4733

    oklch(40% 0.033 88.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40475A

    #40475A

    oklch(39.9% 0.033 269.1)

  • #374A58

    #374A58

    oklch(39.9% 0.034 240.6)

  • #4A4457

    #4A4457

    oklch(40% 0.032 299.4)

Open the analogous palette in the generator

Split complementary

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

  • #40475A

    #40475A

    oklch(39.9% 0.033 269.1)

  • #554336

    #554336

    oklch(39.8% 0.033 57.5)

  • #454A36

    #454A36

    oklch(39.8% 0.033 119.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40475A

    #40475A

    oklch(39.9% 0.033 269.1)

  • #58413D

    #58413D

    oklch(39.9% 0.033 29.8)

  • #3B4D3E

    #3B4D3E

    oklch(40% 0.034 149.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40475A

    #40475A

    oklch(39.9% 0.033 269.1)

  • #574047

    #574047

    oklch(39.9% 0.034 358.7)

  • #4F4733

    #4F4733

    oklch(40% 0.033 88.8)

  • #334E48

    #334E48

    oklch(40% 0.034 179)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40475A 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.