#40456B

Closest named color: Dark Grey Blue (#29465B). oklch(40.3% 0.064 277.4), rgb(64, 69, 107).

Aa

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

About this color

#40456B is a dark, muted blue. In OKLCH its lightness is 40%, its chroma 0.064 and its hue 277°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Grey Blue (#29465B), ΔE 0.044 away. White text reads best on it, at 9.20:1.

Hue familyBlues
Lightnessdark (40%)
Chromamuted (0.064)
Temperaturecool
Nearest nameDark Grey Blue (#29465B)
Black text2.28:1
White text9.20:1

Values

HEX#40456B
RGBrgb(64, 69, 107)
HSLhsl(233, 25%, 34%)
OKLCHoklch(40.3% 0.064 277.4)

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 #40456B 9.20:1 AAA Lc -95.5 Preferred for body text
Black text on #40456B 2.28:1 Fails Lc 12.8 Not readable
#40456B text on white 9.20:1 AAA Lc 91.2 Preferred for body text
#40456B text on black 2.28:1 Fails Lc -11.2 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

    #E8E9F1

    oklch(93.6% 0.011 280.5)

  3. Step 200

    200

    #D5D8E7

    oklch(88.4% 0.021 276.9)

  4. Step 300

    300

    #BABFD9

    oklch(80.9% 0.037 276.9)

  5. Step 400

    400

    #979EC6

    oklch(70.8% 0.059 277)

  6. Step 500

    500

    #7E85B8

    oklch(63.1% 0.077 277.9)

  7. Step 600

    600

    #676EA4

    oklch(55.5% 0.084 277.6)

  8. Step 700

    700

    #565C8C

    oklch(49% 0.077 277.7)

  9. Step 800

    800 (this color)

    #40456B

    oklch(40.3% 0.064 277.4)

  10. Step 900

    900

    #3B3F5C

    oklch(37.7% 0.05 277.7)

  11. Step 950

    950

    #222536

    oklch(27% 0.032 276.3)

Export this scale for Tailwind in the Tailwind colors tool

#40456B 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)#39496D0.014
Deuteranopia (no green cones)#36466A0.015
Tritanopia (no blue cones)#334C530.056
Achromatopsia (no color)#4848480.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #40456B

    #40456B

    oklch(40.3% 0.064 277.4)

  • #52491C

    #52491C

    oklch(40.4% 0.064 98.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #40456B

    #40456B

    oklch(40.3% 0.064 277.4)

  • #2A4B69

    #2A4B69

    oklch(40.2% 0.064 247.5)

  • #523F64

    #523F64

    oklch(40.4% 0.065 307.3)

Open the analogous palette in the generator

Split complementary

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

  • #40456B

    #40456B

    oklch(40.3% 0.064 277.4)

  • #604120

    #604120

    oklch(40.3% 0.064 65.9)

  • #3F4F28

    #3F4F28

    oklch(40.3% 0.064 127.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #40456B

    #40456B

    oklch(40.3% 0.064 277.4)

  • #663C2F

    #663C2F

    oklch(40.3% 0.063 38)

  • #27533B

    #27533B

    oklch(40.3% 0.064 157.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #40456B

    #40456B

    oklch(40.3% 0.064 277.4)

  • #663942

    #663942

    oklch(40.3% 0.065 7.5)

  • #52491C

    #52491C

    oklch(40.4% 0.064 98.1)

  • #11544F

    #11544F

    oklch(40.5% 0.064 187.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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