#40456F

Closest named color: Dark Grey Blue (#29465B). oklch(40.6% 0.071 277.6), rgb(64, 69, 111).

Aa

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

About this color

#40456F is a dark, moderately saturated blue. In OKLCH its lightness is 41%, its chroma 0.071 and its hue 278°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.049 away. White text reads best on it, at 9.13:1.

Hue familyBlues
Lightnessdark (41%)
Chromamoderately saturated (0.071)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.29:1
White text9.13:1

Values

HEX#40456F
RGBrgb(64, 69, 111)
HSLhsl(234, 27%, 34%)
OKLCHoklch(40.6% 0.071 277.6)

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 #40456F 9.13:1 AAA Lc -95.3 Preferred for body text
Black text on #40456F 2.29:1 Fails Lc 13.0 Not readable
#40456F text on white 9.13:1 AAA Lc 91.0 Preferred for body text
#40456F text on black 2.29:1 Fails Lc -11.4 Not readable

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

    #F4F5F9

    oklch(97.1% 0.005 275)

  2. Step 100

    100

    #E8E9F2

    oklch(93.6% 0.012 281.1)

  3. Step 200

    200

    #D5D8E9

    oklch(88.5% 0.023 277.9)

  4. Step 300

    300

    #BABFDC

    oklch(81% 0.041 277.7)

  5. Step 400

    400

    #969DCA

    oklch(70.7% 0.066 277.7)

  6. Step 500

    500

    #7D85BC

    oklch(63.2% 0.083 277.4)

  7. Step 600

    600

    #666EA9

    oklch(55.7% 0.092 277.1)

  8. Step 700

    700

    #555B91

    oklch(49% 0.087 277.9)

  9. Step 800

    800 (this color)

    #40456F

    oklch(40.6% 0.071 277.6)

  10. Step 900

    900

    #3A3F5F

    oklch(37.8% 0.055 276.6)

  11. Step 950

    950

    #222537

    oklch(27% 0.034 276.6)

Export this scale for Tailwind in the Tailwind colors tool

#40456F 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)#374A710.018
Deuteranopia (no green cones)#34466E0.017
Tritanopia (no blue cones)#324D540.062
Achromatopsia (no color)#4848480.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #40456F

    #40456F

    oklch(40.6% 0.071 277.6)

  • #544916

    #544916

    oklch(40.6% 0.07 96.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40456F

    #40456F

    oklch(40.6% 0.071 277.6)

  • #274C6D

    #274C6D

    oklch(40.5% 0.07 247.4)

  • #543E67

    #543E67

    oklch(40.5% 0.072 308.1)

Open the analogous palette in the generator

Split complementary

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

  • #40456F

    #40456F

    oklch(40.6% 0.071 277.6)

  • #62411A

    #62411A

    oklch(40.5% 0.071 67.8)

  • #3E5024

    #3E5024

    oklch(40.5% 0.071 127.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40456F

    #40456F

    oklch(40.6% 0.071 277.6)

  • #6A3B2D

    #6A3B2D

    oklch(40.7% 0.071 37.4)

  • #23553A

    #23553A

    oklch(40.7% 0.071 157.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40456F

    #40456F

    oklch(40.6% 0.071 277.6)

  • #693842

    #693842

    oklch(40.5% 0.07 7.6)

  • #544916

    #544916

    oklch(40.6% 0.07 96.9)

  • #005550

    #005550

    oklch(40.5% 0.07 187.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #40456F 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.