#40466A

Closest named color: Dark Grey Blue (#29465B). oklch(40.5% 0.061 276.1), rgb(64, 70, 106).

Aa

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

About this color

#40466A is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.061 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.042 away. White text reads best on it, at 9.12:1.

Hue familyBlues
Lightnessdark (41%)
Chromamuted (0.061)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.30:1
White text9.12:1

Values

HEX#40466A
RGBrgb(64, 70, 106)
HSLhsl(231, 25%, 33%)
OKLCHoklch(40.5% 0.061 276.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 #40466A 9.12:1 AAA Lc -95.3 Preferred for body text
Black text on #40466A 2.30:1 Fails Lc 13.0 Not readable
#40466A text on white 9.12:1 AAA Lc 91.0 Preferred for body text
#40466A text on black 2.30:1 Fails Lc -11.4 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 800.

  1. Step 50

    50

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D5D8E7

    oklch(88.4% 0.021 276.9)

  4. Step 300

    300

    #BABFD8

    oklch(80.9% 0.036 276.6)

  5. Step 400

    400

    #969EC5

    oklch(70.7% 0.058 275.8)

  6. Step 500

    500

    #7D86B6

    oklch(63.1% 0.073 275.9)

  7. Step 600

    600

    #676FA2

    oklch(55.6% 0.08 276.6)

  8. Step 700

    700

    #555D8A

    oklch(49.1% 0.073 275.7)

  9. Step 800

    800 (this color)

    #40466A

    oklch(40.5% 0.061 276.1)

  10. Step 900

    900

    #3B3F5B

    oklch(37.6% 0.048 277.5)

  11. Step 950

    950

    #222535

    oklch(26.9% 0.03 276)

Export this scale for Tailwind in the Tailwind colors tool

#40466A 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)#3A4A6B0.014
Deuteranopia (no green cones)#3747690.013
Tritanopia (no blue cones)#344D530.054
Achromatopsia (no color)#4848480.061

Harmonies

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

Complementary

The opposite hue (180°).

  • #40466A

    #40466A

    oklch(40.5% 0.061 276.1)

  • #53491F

    #53491F

    oklch(40.6% 0.061 96.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40466A

    #40466A

    oklch(40.5% 0.061 276.1)

  • #2C4C68

    #2C4C68

    oklch(40.5% 0.061 246.4)

  • #514063

    #514063

    oklch(40.4% 0.061 306.1)

Open the analogous palette in the generator

Split complementary

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

  • #40466A

    #40466A

    oklch(40.5% 0.061 276.1)

  • #5F4223

    #5F4223

    oklch(40.4% 0.061 66.5)

  • #414F29

    #414F29

    oklch(40.5% 0.061 125.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40466A

    #40466A

    oklch(40.5% 0.061 276.1)

  • #663D32

    #663D32

    oklch(40.6% 0.061 35.8)

  • #2B533B

    #2B533B

    oklch(40.5% 0.061 156)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40466A

    #40466A

    oklch(40.5% 0.061 276.1)

  • #653B44

    #653B44

    oklch(40.6% 0.06 6.2)

  • #53491F

    #53491F

    oklch(40.6% 0.061 96.1)

  • #17544E

    #17544E

    oklch(40.6% 0.062 185.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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