#40557D

Closest named color: YInMn Blue (#415A77). oklch(45% 0.071 262.7), rgb(64, 85, 125).

Aa

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

About this color

#40557D is a medium-dark, moderately saturated blue. In OKLCH its lightness is 45%, its chroma 0.071 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.021 away. White text reads best on it, at 7.46:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.81:1
White text7.46:1

Values

HEX#40557D
RGBrgb(64, 85, 125)
HSLhsl(219, 32%, 37%)
OKLCHoklch(45% 0.071 262.7)

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 #40557D 7.46:1 AAA Lc -90.7 Preferred for body text
Black text on #40557D 2.81:1 Fails Lc 18.2 Dividers and decoration only
#40557D text on white 7.46:1 AAA Lc 85.9 Fine for body text
#40557D text on black 2.81:1 Fails Lc -16.2 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

    #E6EAF2

    oklch(93.6% 0.012 264.5)

  3. Step 200

    200

    #D1D9E9

    oklch(88.4% 0.024 264.4)

  4. Step 300

    300

    #B2C1DC

    oklch(80.8% 0.042 262.3)

  5. Step 400

    400

    #8BA1CB

    oklch(70.7% 0.067 263.2)

  6. Step 500

    500

    #6E89BD

    oklch(63% 0.085 263)

  7. Step 600

    600

    #5673A9

    oklch(55.7% 0.091 262.2)

  8. Step 700

    700

    #466091

    oklch(49.1% 0.085 262.4)

  9. Step 800

    800 (this color)

    #40557D

    oklch(45% 0.071 262.7)

  10. Step 900

    900

    #32415F

    oklch(37.6% 0.055 263.6)

  11. Step 950

    950

    #1D2638

    oklch(26.9% 0.036 263.7)

Export this scale for Tailwind in the Tailwind colors tool

#40557D 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)#46587F0.013
Deuteranopia (no green cones)#3F527C0.009
Tritanopia (no blue cones)#275E630.065
Achromatopsia (no color)#5555550.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #40557D

    #40557D

    oklch(45% 0.071 262.7)

  • #695123

    #695123

    oklch(45% 0.071 81.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40557D

    #40557D

    oklch(45% 0.071 262.7)

  • #265C76

    #265C76

    oklch(45% 0.071 232.3)

  • #574E79

    #574E79

    oklch(45.1% 0.07 293)

Open the analogous palette in the generator

Split complementary

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

  • #40557D

    #40557D

    oklch(45% 0.071 262.7)

  • #744A2E

    #744A2E

    oklch(45% 0.071 53.7)

  • #565928

    #565928

    oklch(45% 0.07 112)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40557D

    #40557D

    oklch(45% 0.071 262.7)

  • #784543

    #784543

    oklch(45.1% 0.071 22.7)

  • #3D5F3B

    #3D5F3B

    oklch(44.9% 0.07 143)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40557D

    #40557D

    oklch(45% 0.071 262.7)

  • #744459

    #744459

    oklch(45% 0.072 352.6)

  • #695123

    #695123

    oklch(45% 0.071 81.5)

  • #226251

    #226251

    oklch(45% 0.071 172.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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