#40537E

Closest named color: Dusk (#4E5481). oklch(44.6% 0.075 265.3), rgb(64, 83, 126).

Aa

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

About this color

#40537E is a dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.075 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Dusk (#4E5481), ΔE 0.021 away. White text reads best on it, at 7.61:1.

Hue familyBlues
Lightnessdark (45%)
Chromamoderately saturated (0.075)
Temperaturecool
Nearest nameDusk (#4E5481)
Black text2.75:1
White text7.61:1

Values

HEX#40537E
RGBrgb(64, 83, 126)
HSLhsl(222, 33%, 37%)
OKLCHoklch(44.6% 0.075 265.3)

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 #40537E 7.61:1 AAA Lc -91.2 Preferred for body text
Black text on #40537E 2.75:1 Fails Lc 17.6 Dividers and decoration only
#40537E text on white 7.61:1 AAA Lc 86.4 Fine for body text
#40537E text on black 2.75:1 Fails Lc -15.7 Dividers and decoration only

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

    #F3F5F9

    oklch(97% 0.006 264.5)

  2. Step 100

    100

    #E6EAF3

    oklch(93.7% 0.013 266.7)

  3. Step 200

    200

    #D1D9EA

    oklch(88.4% 0.025 265.6)

  4. Step 300

    300

    #B3C1DE

    oklch(81% 0.044 264.9)

  5. Step 400

    400

    #8CA0CD

    oklch(70.7% 0.07 266)

  6. Step 500

    500

    #6F88C0

    oklch(63% 0.09 265.5)

  7. Step 600

    600

    #5871AD

    oklch(55.6% 0.098 266.1)

  8. Step 700

    700

    #485F94

    oklch(49.1% 0.09 265.4)

  9. Step 800

    800 (this color)

    #40537E

    oklch(44.6% 0.075 265.3)

  10. Step 900

    900

    #324161

    oklch(37.7% 0.059 264.6)

  11. Step 950

    950

    #1E2639

    oklch(27% 0.037 266.4)

Export this scale for Tailwind in the Tailwind colors tool

#40537E 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)#4357800.013
Deuteranopia (no green cones)#3C517D0.009
Tritanopia (no blue cones)#275C620.068
Achromatopsia (no color)#5454540.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #40537E

    #40537E

    oklch(44.6% 0.075 265.3)

  • #67511D

    #67511D

    oklch(44.7% 0.075 85.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40537E

    #40537E

    oklch(44.6% 0.075 265.3)

  • #235A78

    #235A78

    oklch(44.5% 0.075 236)

  • #574B79

    #574B79

    oklch(44.5% 0.075 295.2)

Open the analogous palette in the generator

Split complementary

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

  • #40537E

    #40537E

    oklch(44.6% 0.075 265.3)

  • #744829

    #744829

    oklch(44.6% 0.075 54.6)

  • #535925

    #535925

    oklch(44.6% 0.074 114.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40537E

    #40537E

    oklch(44.6% 0.075 265.3)

  • #78433F

    #78433F

    oklch(44.6% 0.074 25)

  • #385F3A

    #385F3A

    oklch(44.6% 0.074 145.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40537E

    #40537E

    oklch(44.6% 0.075 265.3)

  • #754256

    #754256

    oklch(44.7% 0.075 355.6)

  • #67511D

    #67511D

    oklch(44.7% 0.075 85.7)

  • #186252

    #186252

    oklch(44.7% 0.075 174.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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