#40586C

Closest named color: YInMn Blue (#415A77). oklch(44.9% 0.044 244.1), rgb(64, 88, 108).

Aa

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

About this color

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

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

Values

HEX#40586C
RGBrgb(64, 88, 108)
HSLhsl(207, 26%, 34%)
OKLCHoklch(44.9% 0.044 244.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 #40586C 7.41:1 AAA Lc -90.6 Preferred for body text
Black text on #40586C 2.83:1 Fails Lc 18.3 Dividers and decoration only
#40586C text on white 7.41:1 AAA Lc 85.7 Fine for body text
#40586C 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

    #E6EAEE

    oklch(93.5% 0.007 247.9)

  3. Step 200

    200

    #D2DAE2

    oklch(88.5% 0.014 248)

  4. Step 300

    300

    #B3C3D0

    oklch(80.9% 0.025 242.4)

  5. Step 400

    400

    #8BA4B9

    oklch(70.7% 0.042 243.7)

  6. Step 500

    500

    #6F8DA7

    oklch(63% 0.052 244.9)

  7. Step 600

    600

    #567793

    oklch(55.5% 0.058 244.7)

  8. Step 700

    700

    #46647D

    oklch(49% 0.054 244.3)

  9. Step 800

    800 (this color)

    #40586C

    oklch(44.9% 0.044 244.1)

  10. Step 900

    900

    #324453

    oklch(37.8% 0.035 244)

  11. Step 950

    950

    #1D2830

    oklch(27% 0.021 240.1)

Export this scale for Tailwind in the Tailwind colors tool

#40586C 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)#50586D0.022
Deuteranopia (no green cones)#4A536C0.019
Tritanopia (no blue cones)#305D5F0.036
Achromatopsia (no color)#5555550.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #40586C

    #40586C

    oklch(44.9% 0.044 244.1)

  • #67503B

    #67503B

    oklch(45% 0.045 63.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40586C

    #40586C

    oklch(44.9% 0.044 244.1)

  • #375C64

    #375C64

    oklch(45% 0.044 212.9)

  • #4D536E

    #4D536E

    oklch(44.8% 0.045 274.7)

Open the analogous palette in the generator

Split complementary

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

  • #40586C

    #40586C

    oklch(44.9% 0.044 244.1)

  • #6B4C45

    #6B4C45

    oklch(44.8% 0.044 33.1)

  • #5D5539

    #5D5539

    oklch(45% 0.044 94.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40586C

    #40586C

    oklch(44.9% 0.044 244.1)

  • #6A4B52

    #6A4B52

    oklch(44.9% 0.043 4)

  • #50593E

    #50593E

    oklch(44.8% 0.044 123.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40586C

    #40586C

    oklch(44.9% 0.044 244.1)

  • #654C5F

    #654C5F

    oklch(45% 0.044 335)

  • #67503B

    #67503B

    oklch(45% 0.045 63.7)

  • #425C4A

    #425C4A

    oklch(44.8% 0.043 154.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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