#40465C

Closest named color: Dark Grey Blue (#29465B). oklch(39.8% 0.038 272.7), rgb(64, 70, 92).

Aa

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

About this color

#40465C is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.038 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.33:1.

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

Values

HEX#40465C
RGBrgb(64, 70, 92)
HSLhsl(227, 18%, 31%)
OKLCHoklch(39.8% 0.038 272.7)

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 #40465C 9.33:1 AAA Lc -95.9 Preferred for body text
Black text on #40465C 2.24:1 Fails Lc 12.4 Not readable
#40465C text on white 9.33:1 AAA Lc 91.6 Preferred for body text
#40465C text on black 2.24: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

    #979FBE

    oklch(70.7% 0.046 273.8)

  6. Step 500

    500

    #7D88AD

    oklch(63.1% 0.057 271.8)

  7. Step 600

    600

    #677199

    oklch(55.6% 0.063 273.3)

  8. Step 700

    700

    #555F83

    oklch(49.2% 0.059 272.1)

  9. Step 800

    800

    #464D6A

    oklch(42.6% 0.049 273.7)

  10. Step 900

    900 (this color)

    #40465C

    oklch(39.8% 0.038 272.7)

  11. Step 950

    950

    #222632

    oklch(27% 0.023 270.4)

Export this scale for Tailwind in the Tailwind colors tool

#40465C 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)#3F485D0.006
Deuteranopia (no green cones)#3D465B0.005
Tritanopia (no blue cones)#394A4D0.034
Achromatopsia (no color)#4747470.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #40465C

    #40465C

    oklch(39.8% 0.038 272.7)

  • #4E472F

    #4E472F

    oklch(39.8% 0.039 93.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40465C

    #40465C

    oklch(39.8% 0.038 272.7)

  • #354A5A

    #354A5A

    oklch(39.8% 0.038 241.7)

  • #4B4258

    #4B4258

    oklch(39.7% 0.038 303.4)

Open the analogous palette in the generator

Split complementary

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

  • #40465C

    #40465C

    oklch(39.8% 0.038 272.7)

  • #564332

    #564332

    oklch(39.8% 0.038 63.2)

  • #434B34

    #434B34

    oklch(39.9% 0.038 123.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40465C

    #40465C

    oklch(39.8% 0.038 272.7)

  • #5A403A

    #5A403A

    oklch(39.9% 0.038 33.4)

  • #374D3D

    #374D3D

    oklch(39.7% 0.038 152.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40465C

    #40465C

    oklch(39.8% 0.038 272.7)

  • #593F45

    #593F45

    oklch(39.9% 0.037 3.7)

  • #4E472F

    #4E472F

    oklch(39.8% 0.039 93.8)

  • #2F4E49

    #2F4E49

    oklch(39.8% 0.038 183)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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