#40475D

Closest named color: Dark Grey Blue (#29465B). oklch(40.1% 0.038 270.9), rgb(64, 71, 93).

Aa

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

About this color

#40475D is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.038 and its hue 271°. 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.22:1.

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

Values

HEX#40475D
RGBrgb(64, 71, 93)
HSLhsl(226, 18%, 31%)
OKLCHoklch(40.1% 0.038 270.9)

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 #40475D 9.22:1 AAA Lc -95.6 Preferred for body text
Black text on #40475D 2.27:1 Fails Lc 12.7 Not readable
#40475D text on white 9.22:1 AAA Lc 91.3 Preferred for body text
#40475D text on black 2.27:1 Fails Lc -11.1 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

    #E8EAF0

    oklch(93.7% 0.008 271.3)

  3. Step 200

    200

    #D5D9E4

    oklch(88.5% 0.016 270)

  4. Step 300

    300

    #B9C0D4

    oklch(80.9% 0.029 270.3)

  5. Step 400

    400

    #96A0BE

    oklch(70.8% 0.045 270.7)

  6. Step 500

    500

    #7C88AE

    oklch(63.1% 0.059 271)

  7. Step 600

    600

    #657299

    oklch(55.7% 0.063 270)

  8. Step 700

    700

    #545F83

    oklch(49.1% 0.06 271)

  9. Step 800

    800

    #454E6A

    oklch(42.8% 0.048 270.5)

  10. Step 900

    900 (this color)

    #40475D

    oklch(40.1% 0.038 270.9)

  11. Step 950

    950

    #222633

    oklch(27.1% 0.025 271.4)

Export this scale for Tailwind in the Tailwind colors tool

#40475D 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)#40495E0.006
Deuteranopia (no green cones)#3E465C0.005
Tritanopia (no blue cones)#384B4E0.035
Achromatopsia (no color)#4747470.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #40475D

    #40475D

    oklch(40.1% 0.038 270.9)

  • #504730

    #504730

    oklch(40.1% 0.038 89.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40475D

    #40475D

    oklch(40.1% 0.038 270.9)

  • #354B5B

    #354B5B

    oklch(40.1% 0.038 240.5)

  • #4B435A

    #4B435A

    oklch(40% 0.039 300.6)

Open the analogous palette in the generator

Split complementary

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

  • #40475D

    #40475D

    oklch(40.1% 0.038 270.9)

  • #574333

    #574333

    oklch(40% 0.038 60.1)

  • #454B34

    #454B34

    oklch(40% 0.038 120)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40475D

    #40475D

    oklch(40.1% 0.038 270.9)

  • #5B403B

    #5B403B

    oklch(40% 0.039 30.7)

  • #394E3D

    #394E3D

    oklch(40.1% 0.039 150.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40475D

    #40475D

    oklch(40.1% 0.038 270.9)

  • #5A3F47

    #5A3F47

    oklch(40.1% 0.04 359.6)

  • #504730

    #504730

    oklch(40.1% 0.038 89.1)

  • #304F49

    #304F49

    oklch(40.1% 0.038 180.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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