#40496F

Closest named color: Dusk (#4E5481). oklch(41.5% 0.065 273.1), rgb(64, 73, 111).

Aa

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

About this color

#40496F is a dark, muted blue. In OKLCH its lightness is 41%, its chroma 0.065 and its hue 273°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.047 away. White text reads best on it, at 8.74:1.

Hue familyBlues
Lightnessdark (41%)
Chromamuted (0.065)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.40:1
White text8.74:1

Values

HEX#40496F
RGBrgb(64, 73, 111)
HSLhsl(229, 27%, 34%)
OKLCHoklch(41.5% 0.065 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 #40496F 8.74:1 AAA Lc -94.4 Preferred for body text
Black text on #40496F 2.40:1 Fails Lc 14.1 Not readable
#40496F text on white 8.74:1 AAA Lc 89.9 Fine for body text
#40496F text on black 2.40: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

    #B8C0DA

    oklch(81% 0.038 272)

  5. Step 400

    400

    #949FC7

    oklch(70.8% 0.06 272.8)

  6. Step 500

    500

    #7A86B9

    oklch(63% 0.078 273.8)

  7. Step 600

    600

    #6370A5

    oklch(55.7% 0.084 272.9)

  8. Step 700

    700

    #525D8D

    oklch(49% 0.078 273.3)

  9. Step 800

    800 (this color)

    #40496F

    oklch(41.5% 0.065 273.1)

  10. Step 900

    900

    #39405D

    oklch(37.8% 0.051 273.3)

  11. Step 950

    950

    #212536

    oklch(26.9% 0.032 273.8)

Export this scale for Tailwind in the Tailwind colors tool

#40496F 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)#3C4D710.012
Deuteranopia (no green cones)#38496E0.012
Tritanopia (no blue cones)#3151570.058
Achromatopsia (no color)#4B4B4B0.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #40496F

    #40496F

    oklch(41.5% 0.065 273.1)

  • #584B1E

    #584B1E

    oklch(41.6% 0.065 93.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40496F

    #40496F

    oklch(41.5% 0.065 273.1)

  • #2A4F6C

    #2A4F6C

    oklch(41.4% 0.065 243.9)

  • #534369

    #534369

    oklch(41.6% 0.065 303)

Open the analogous palette in the generator

Split complementary

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

  • #40496F

    #40496F

    oklch(41.5% 0.065 273.1)

  • #644324

    #644324

    oklch(41.3% 0.064 62.7)

  • #455128

    #455128

    oklch(41.4% 0.064 122.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40496F

    #40496F

    oklch(41.5% 0.065 273.1)

  • #6A3E34

    #6A3E34

    oklch(41.4% 0.064 33.6)

  • #2E563B

    #2E563B

    oklch(41.5% 0.064 153.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40496F

    #40496F

    oklch(41.5% 0.065 273.1)

  • #693C48

    #693C48

    oklch(41.5% 0.065 3.1)

  • #584B1E

    #584B1E

    oklch(41.6% 0.065 93.3)

  • #17574F

    #17574F

    oklch(41.5% 0.064 183.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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