#40526F

Closest named color: YInMn Blue (#415A77). oklch(43.6% 0.053 259.8), rgb(64, 82, 111).

Aa

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

About this color

#40526F is a dark, muted blue. In OKLCH its lightness is 44%, its chroma 0.053 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.025 away. White text reads best on it, at 7.91:1.

Hue familyBlues
Lightnessdark (44%)
Chromamuted (0.053)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.65:1
White text7.91:1

Values

HEX#40526F
RGBrgb(64, 82, 111)
HSLhsl(217, 27%, 34%)
OKLCHoklch(43.6% 0.053 259.8)

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 #40526F 7.91:1 AAA Lc -92.1 Preferred for body text
Black text on #40526F 2.65:1 Fails Lc 16.6 Dividers and decoration only
#40526F text on white 7.91:1 AAA Lc 87.4 Fine for body text
#40526F text on black 2.65:1 Fails Lc -14.7 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

    #F4F5F8

    oklch(97% 0.004 271.4)

  2. Step 100

    100

    #E6EAF0

    oklch(93.6% 0.009 258.3)

  3. Step 200

    200

    #D2DAE5

    oklch(88.6% 0.017 256.3)

  4. Step 300

    300

    #B5C1D5

    oklch(80.8% 0.031 260.7)

  5. Step 400

    400

    #8FA2C0

    oklch(70.8% 0.049 259.5)

  6. Step 500

    500

    #738AB0

    oklch(63% 0.063 260.3)

  7. Step 600

    600

    #5B749C

    oklch(55.6% 0.069 259.6)

  8. Step 700

    700

    #4B6185

    oklch(49% 0.064 260)

  9. Step 800

    800 (this color)

    #40526F

    oklch(43.6% 0.053 259.8)

  10. Step 900

    900

    #354258

    oklch(37.7% 0.042 260.8)

  11. Step 950

    950

    #1F2733

    oklch(27.1% 0.025 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#40526F 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)#4854700.014
Deuteranopia (no green cones)#424F6E0.009
Tritanopia (no blue cones)#30585C0.047
Achromatopsia (no color)#5151510.053

Harmonies

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

Complementary

The opposite hue (180°).

  • #40526F

    #40526F

    oklch(43.6% 0.053 259.8)

  • #614E2E

    #614E2E

    oklch(43.5% 0.054 79.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40526F

    #40526F

    oklch(43.6% 0.053 259.8)

  • #305769

    #305769

    oklch(43.6% 0.053 229.5)

  • #514D6D

    #514D6D

    oklch(43.7% 0.052 289.8)

Open the analogous palette in the generator

Split complementary

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

  • #40526F

    #40526F

    oklch(43.6% 0.053 259.8)

  • #6A4937

    #6A4937

    oklch(43.7% 0.053 49.5)

  • #535431

    #535431

    oklch(43.6% 0.053 109.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40526F

    #40526F

    oklch(43.6% 0.053 259.8)

  • #6C4545

    #6C4545

    oklch(43.5% 0.054 19.5)

  • #42593C

    #42593C

    oklch(43.7% 0.054 139.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40526F

    #40526F

    oklch(43.6% 0.053 259.8)

  • #684556

    #684556

    oklch(43.6% 0.054 349)

  • #614E2E

    #614E2E

    oklch(43.5% 0.054 79.7)

  • #315B4D

    #315B4D

    oklch(43.6% 0.053 170.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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