#40465D

Closest named color: Dark Grey Blue (#29465B). oklch(39.8% 0.04 273.1), rgb(64, 70, 93).

Aa

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

About this color

#40465D is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.040 and its hue 273°. 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.32:1.

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

Values

HEX#40465D
RGBrgb(64, 70, 93)
HSLhsl(228, 18%, 31%)
OKLCHoklch(39.8% 0.04 273.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 #40465D 9.32:1 AAA Lc -95.8 Preferred for body text
Black text on #40465D 2.25:1 Fails Lc 12.4 Not readable
#40465D text on white 9.32:1 AAA Lc 91.5 Preferred for body text
#40465D text on black 2.25:1 Fails Lc -10.8 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

    #BAC0D4

    oklch(80.9% 0.029 272.4)

  5. Step 400

    400

    #969FBF

    oklch(70.6% 0.048 272.8)

  6. Step 500

    500

    #7D87AF

    oklch(63% 0.061 273.6)

  7. Step 600

    600

    #66719B

    oklch(55.6% 0.067 272.8)

  8. Step 700

    700

    #555E84

    oklch(49% 0.062 273.7)

  9. Step 800

    800

    #464D6B

    oklch(42.7% 0.051 273.9)

  10. Step 900

    900 (this color)

    #40465D

    oklch(39.8% 0.04 273.1)

  11. Step 950

    950

    #222633

    oklch(27.1% 0.025 271.4)

Export this scale for Tailwind in the Tailwind colors tool

#40465D 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)#3F485E0.006
Deuteranopia (no green cones)#3D465C0.005
Tritanopia (no blue cones)#384A4E0.035
Achromatopsia (no color)#4747470.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #40465D

    #40465D

    oklch(39.8% 0.04 273.1)

  • #4E472E

    #4E472E

    oklch(39.8% 0.04 94.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40465D

    #40465D

    oklch(39.8% 0.04 273.1)

  • #344A5B

    #344A5B

    oklch(39.8% 0.04 242.2)

  • #4B4259

    #4B4259

    oklch(39.7% 0.04 302.5)

Open the analogous palette in the generator

Split complementary

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

  • #40465D

    #40465D

    oklch(39.8% 0.04 273.1)

  • #574331

    #574331

    oklch(39.9% 0.04 63.3)

  • #434B33

    #434B33

    oklch(39.8% 0.04 123.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40465D

    #40465D

    oklch(39.8% 0.04 273.1)

  • #5B4039

    #5B4039

    oklch(40% 0.04 35.1)

  • #374E3D

    #374E3D

    oklch(39.9% 0.04 152.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40465D

    #40465D

    oklch(39.8% 0.04 273.1)

  • #5A3E45

    #5A3E45

    oklch(39.8% 0.041 2.6)

  • #4E472E

    #4E472E

    oklch(39.8% 0.04 94.3)

  • #2E4E49

    #2E4E49

    oklch(39.7% 0.039 183.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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