#40567A

Closest named color: YInMn Blue (#415A77). oklch(45.1% 0.065 260), rgb(64, 86, 122).

Aa

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

About this color

#40567A is a medium-dark, muted blue. In OKLCH its lightness is 45%, its chroma 0.065 and its hue 260°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.015 away. White text reads best on it, at 7.42:1.

Hue familyBlues
Lightnessmedium-dark (45%)
Chromamuted (0.065)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.83:1
White text7.42:1

Values

HEX#40567A
RGBrgb(64, 86, 122)
HSLhsl(217, 31%, 36%)
OKLCHoklch(45.1% 0.065 260)

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 #40567A 7.42:1 AAA Lc -90.6 Preferred for body text
Black text on #40567A 2.83:1 Fails Lc 18.3 Dividers and decoration only
#40567A text on white 7.42:1 AAA Lc 85.7 Fine for body text
#40567A 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

    #F3F5F9

    oklch(97% 0.006 264.5)

  2. Step 100

    100

    #E6EAF1

    oklch(93.6% 0.01 261.8)

  3. Step 200

    200

    #D1DAE8

    oklch(88.6% 0.022 259.2)

  4. Step 300

    300

    #B3C2DA

    oklch(81% 0.038 259.8)

  5. Step 400

    400

    #8BA2C7

    oklch(70.8% 0.06 259.8)

  6. Step 500

    500

    #6E8AB9

    oklch(63% 0.078 260.6)

  7. Step 600

    600

    #5674A5

    oklch(55.7% 0.084 259.9)

  8. Step 700

    700

    #46618D

    oklch(49.1% 0.078 259.9)

  9. Step 800

    800 (this color)

    #40567A

    oklch(45.1% 0.065 260)

  10. Step 900

    900

    #32425D

    oklch(37.8% 0.051 260.6)

  11. Step 950

    950

    #1D2736

    oklch(27% 0.031 258.3)

Export this scale for Tailwind in the Tailwind colors tool

#40567A 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)#49587C0.015
Deuteranopia (no green cones)#4253790.009
Tritanopia (no blue cones)#295E630.058
Achromatopsia (no color)#5555550.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #40567A

    #40567A

    oklch(45.1% 0.065 260)

  • #695128

    #695128

    oklch(45.1% 0.066 79.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40567A

    #40567A

    oklch(45.1% 0.065 260)

  • #2A5C73

    #2A5C73

    oklch(45.1% 0.065 230.5)

  • #554F78

    #554F78

    oklch(45.1% 0.066 290.2)

Open the analogous palette in the generator

Split complementary

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

  • #40567A

    #40567A

    oklch(45.1% 0.065 260)

  • #734B34

    #734B34

    oklch(45.2% 0.065 50.4)

  • #58592C

    #58592C

    oklch(45.2% 0.065 109.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40567A

    #40567A

    oklch(45.1% 0.065 260)

  • #764646

    #764646

    oklch(45.1% 0.066 20)

  • #425F3B

    #425F3B

    oklch(45.2% 0.066 139.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40567A

    #40567A

    oklch(45.1% 0.065 260)

  • #71465B

    #71465B

    oklch(45.1% 0.066 349.3)

  • #695128

    #695128

    oklch(45.1% 0.066 79.2)

  • #2B6150

    #2B6150

    oklch(45% 0.064 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 #40567A, closest first.

Similar named colors

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

Use #40567A 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.