#40496E

Closest named color: Dark Grey Blue (#29465B). oklch(41.4% 0.063 272.9), rgb(64, 73, 110).

Aa

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

About this color

#40496E is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.063 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.047 away. White text reads best on it, at 8.76:1.

Hue familyBlues
Lightnessdark (41%)
Chromamuted (0.063)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.39:1
White text8.76:1

Values

HEX#40496E
RGBrgb(64, 73, 110)
HSLhsl(228, 26%, 34%)
OKLCHoklch(41.4% 0.063 272.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 #40496E 8.76:1 AAA Lc -94.4 Preferred for body text
Black text on #40496E 2.39:1 Fails Lc 14.0 Not readable
#40496E text on white 8.76:1 AAA Lc 90.0 Fine for body text
#40496E text on black 2.39:1 Fails Lc -12.3 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

    #E7E9F1

    oklch(93.5% 0.011 274.9)

  3. Step 200

    200

    #D4D9E7

    oklch(88.6% 0.02 270.2)

  4. Step 300

    300

    #B8C0D9

    oklch(81% 0.036 271.5)

  5. Step 400

    400

    #949FC6

    oklch(70.8% 0.058 272.5)

  6. Step 500

    500

    #7A87B8

    oklch(63.2% 0.076 272.6)

  7. Step 600

    600

    #6370A4

    oklch(55.6% 0.083 272.7)

  8. Step 700

    700

    #525E8C

    oklch(49.2% 0.075 272.2)

  9. Step 800

    800 (this color)

    #40496E

    oklch(41.4% 0.063 272.9)

  10. Step 900

    900

    #39405C

    oklch(37.8% 0.049 273.1)

  11. Step 950

    950

    #212536

    oklch(26.9% 0.032 273.8)

Export this scale for Tailwind in the Tailwind colors tool

#40496E 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)#3D4D700.012
Deuteranopia (no green cones)#39496D0.010
Tritanopia (no blue cones)#3250560.056
Achromatopsia (no color)#4B4B4B0.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #40496E

    #40496E

    oklch(41.4% 0.063 272.9)

  • #574B20

    #574B20

    oklch(41.5% 0.063 93.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40496E

    #40496E

    oklch(41.4% 0.063 272.9)

  • #2A4F6B

    #2A4F6B

    oklch(41.3% 0.063 243)

  • #524368

    #524368

    oklch(41.4% 0.063 302.4)

Open the analogous palette in the generator

Split complementary

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

  • #40496E

    #40496E

    oklch(41.4% 0.063 272.9)

  • #644425

    #644425

    oklch(41.5% 0.063 63.7)

  • #455129

    #455129

    oklch(41.4% 0.063 122.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40496E

    #40496E

    oklch(41.4% 0.063 272.9)

  • #693E35

    #693E35

    oklch(41.3% 0.063 32.6)

  • #2F553B

    #2F553B

    oklch(41.3% 0.062 153.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40496E

    #40496E

    oklch(41.4% 0.063 272.9)

  • #683C48

    #683C48

    oklch(41.3% 0.064 2.6)

  • #574B20

    #574B20

    oklch(41.5% 0.063 93.9)

  • #19574F

    #19574F

    oklch(41.5% 0.063 183)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40496E 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.