#40587C

Closest named color: YInMn Blue (#415A77). oklch(45.7% 0.066 258.3), rgb(64, 88, 124).

Aa

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

About this color

#40587C is a medium-dark, muted blue. In OKLCH its lightness is 46%, its chroma 0.066 and its hue 258°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.012 away. White text reads best on it, at 7.22:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamuted (0.066)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.90:1
White text7.22:1

Values

HEX#40587C
RGBrgb(64, 88, 124)
HSLhsl(216, 32%, 37%)
OKLCHoklch(45.7% 0.066 258.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 #40587C 7.22:1 AAA Lc -89.9 Fine for body text
Black text on #40587C 2.90:1 Fails Lc 19.0 Dividers and decoration only
#40587C text on white 7.22:1 AAA Lc 85.0 Fine for body text
#40587C text on black 2.90:1 Fails Lc -17.0 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D1DAE8

    oklch(88.6% 0.022 259.2)

  4. Step 300

    300

    #B2C2DA

    oklch(81% 0.038 258.4)

  5. Step 400

    400

    #89A2C8

    oklch(70.7% 0.063 258.6)

  6. Step 500

    500

    #6C8BB9

    oklch(63.1% 0.078 258.1)

  7. Step 600

    600

    #5374A5

    oklch(55.5% 0.086 258.1)

  8. Step 700

    700

    #44618E

    oklch(49% 0.081 258.9)

  9. Step 800

    800 (this color)

    #40587C

    oklch(45.7% 0.066 258.3)

  10. Step 900

    900

    #30425D

    oklch(37.6% 0.052 258.3)

  11. Step 950

    950

    #1D2736

    oklch(27% 0.031 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#40587C 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)#4A5A7E0.016
Deuteranopia (no green cones)#43547B0.012
Tritanopia (no blue cones)#2860650.058
Achromatopsia (no color)#5757570.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #40587C

    #40587C

    oklch(45.7% 0.066 258.3)

  • #6B532A

    #6B532A

    oklch(45.8% 0.066 79.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40587C

    #40587C

    oklch(45.7% 0.066 258.3)

  • #2A5E74

    #2A5E74

    oklch(45.6% 0.066 228.5)

  • #55517A

    #55517A

    oklch(45.6% 0.066 287.9)

Open the analogous palette in the generator

Split complementary

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

  • #40587C

    #40587C

    oklch(45.7% 0.066 258.3)

  • #754C36

    #754C36

    oklch(45.7% 0.065 48.8)

  • #5A5A2C

    #5A5A2C

    oklch(45.6% 0.066 108.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40587C

    #40587C

    oklch(45.7% 0.066 258.3)

  • #784849

    #784849

    oklch(45.8% 0.066 18.6)

  • #44603C

    #44603C

    oklch(45.7% 0.066 138.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40587C

    #40587C

    oklch(45.7% 0.066 258.3)

  • #73485D

    #73485D

    oklch(45.8% 0.066 349.3)

  • #6B532A

    #6B532A

    oklch(45.8% 0.066 79.3)

  • #2D6350

    #2D6350

    oklch(45.7% 0.066 167.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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