#40586D

Closest named color: YInMn Blue (#415A77). oklch(45% 0.045 245.4), rgb(64, 88, 109).

Aa

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

About this color

#40586D is a dark, muted blue. In OKLCH its lightness is 45%, its chroma 0.045 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.016 away. White text reads best on it, at 7.40:1.

Hue familyBlues
Lightnessdark (45%)
Chromamuted (0.045)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.83:1
White text7.40:1

Values

HEX#40586D
RGBrgb(64, 88, 109)
HSLhsl(208, 26%, 34%)
OKLCHoklch(45% 0.045 245.4)

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 #40586D 7.40:1 AAA Lc -90.5 Preferred for body text
Black text on #40586D 2.83:1 Fails Lc 18.3 Dividers and decoration only
#40586D text on white 7.40:1 AAA Lc 85.7 Fine for body text
#40586D text on black 2.83:1 Fails Lc -16.3 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E6EAEF

    oklch(93.5% 0.008 253.9)

  3. Step 200

    200

    #D1DAE2

    oklch(88.4% 0.015 244.7)

  4. Step 300

    300

    #B3C3D1

    oklch(80.9% 0.026 244.5)

  5. Step 400

    400

    #8BA4BA

    oklch(70.7% 0.043 245)

  6. Step 500

    500

    #6E8DA9

    oklch(63% 0.055 246.1)

  7. Step 600

    600

    #567794

    oklch(55.6% 0.059 245.7)

  8. Step 700

    700

    #46647E

    oklch(49.1% 0.055 245.4)

  9. Step 800

    800 (this color)

    #40586D

    oklch(45% 0.045 245.4)

  10. Step 900

    900

    #324453

    oklch(37.8% 0.035 244)

  11. Step 950

    950

    #1D2831

    oklch(27.1% 0.023 243.4)

Export this scale for Tailwind in the Tailwind colors tool

#40586D 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)#4F586E0.021
Deuteranopia (no green cones)#4A536D0.019
Tritanopia (no blue cones)#305D5F0.038
Achromatopsia (no color)#5555550.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #40586D

    #40586D

    oklch(45% 0.045 245.4)

  • #67503A

    #67503A

    oklch(44.9% 0.046 65)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40586D

    #40586D

    oklch(45% 0.045 245.4)

  • #365C65

    #365C65

    oklch(45% 0.046 214.5)

  • #4E536F

    #4E536F

    oklch(44.9% 0.046 276.5)

Open the analogous palette in the generator

Split complementary

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

  • #40586D

    #40586D

    oklch(45% 0.045 245.4)

  • #6C4C44

    #6C4C44

    oklch(44.9% 0.046 34.5)

  • #5D5538

    #5D5538

    oklch(44.9% 0.045 94.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40586D

    #40586D

    oklch(45% 0.045 245.4)

  • #6B4B51

    #6B4B51

    oklch(45% 0.044 6.6)

  • #4F5A3E

    #4F5A3E

    oklch(45% 0.046 125.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40586D

    #40586D

    oklch(45% 0.045 245.4)

  • #654C5F

    #654C5F

    oklch(45% 0.044 335)

  • #67503A

    #67503A

    oklch(44.9% 0.046 65)

  • #415D4A

    #415D4A

    oklch(45% 0.046 154.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40586D 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.