#405F6F

Closest named color: YInMn Blue (#415A77). oklch(46.8% 0.045 231.4), rgb(64, 95, 111).

Aa

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

About this color

#405F6F is a medium-dark, muted blue. In OKLCH its lightness is 47%, its chroma 0.045 and its hue 231°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.023 away. White text reads best on it, at 6.80:1.

Hue familyBlues
Lightnessmedium-dark (47%)
Chromamuted (0.045)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text3.08:1
White text6.80:1

Values

HEX#405F6F
RGBrgb(64, 95, 111)
HSLhsl(200, 27%, 34%)
OKLCHoklch(46.8% 0.045 231.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 #405F6F 6.80:1 AA Lc -88.4 Fine for body text
Black text on #405F6F 3.08:1 AA large text Lc 20.6 Dividers and decoration only
#405F6F text on white 6.80:1 AA Lc 83.4 Fine for body text
#405F6F text on black 3.08:1 AA large text Lc -18.5 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 700.

  1. Step 50

    50

    #F4F6F7

    oklch(97.2% 0.003 228.8)

  2. Step 100

    100

    #E6EBED

    oklch(93.7% 0.006 223.5)

  3. Step 200

    200

    #D2DBE0

    oklch(88.6% 0.012 231.7)

  4. Step 300

    300

    #B3C3CC

    oklch(80.8% 0.022 232.2)

  5. Step 400

    400

    #8CA5B3

    oklch(70.7% 0.035 232.5)

  6. Step 500

    500

    #6F8FA0

    oklch(63.2% 0.044 231.5)

  7. Step 600

    600

    #56798B

    oklch(55.6% 0.049 231.1)

  8. Step 700

    700 (this color)

    #405F6F

    oklch(46.8% 0.045 231.4)

  9. Step 800

    800

    #3A5360

    oklch(42.7% 0.037 231.4)

  10. Step 900

    900

    #32454E

    oklch(37.8% 0.029 228.7)

  11. Step 950

    950

    #1D282E

    oklch(26.9% 0.019 232.2)

Export this scale for Tailwind in the Tailwind colors tool

#405F6F 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)#575E700.031
Deuteranopia (no green cones)#50596F0.027
Tritanopia (no blue cones)#2E63640.032
Achromatopsia (no color)#5B5B5B0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #405F6F

    #405F6F

    oklch(46.8% 0.045 231.4)

  • #6F5343

    #6F5343

    oklch(46.7% 0.045 51)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405F6F

    #405F6F

    oklch(46.8% 0.045 231.4)

  • #3B6265

    #3B6265

    oklch(46.8% 0.044 202)

  • #4C5B74

    #4C5B74

    oklch(46.9% 0.045 260.5)

Open the analogous palette in the generator

Split complementary

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

  • #405F6F

    #405F6F

    oklch(46.8% 0.045 231.4)

  • #71504F

    #71504F

    oklch(46.6% 0.045 20.9)

  • #67583D

    #67583D

    oklch(46.8% 0.045 81.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405F6F

    #405F6F

    oklch(46.8% 0.045 231.4)

  • #6E505D

    #6E505D

    oklch(46.7% 0.044 351.2)

  • #5B5D40

    #5B5D40

    oklch(46.8% 0.044 111.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405F6F

    #405F6F

    oklch(46.8% 0.045 231.4)

  • #66526A

    #66526A

    oklch(46.8% 0.045 320.7)

  • #6F5343

    #6F5343

    oklch(46.7% 0.045 51)

  • #4C6149

    #4C6149

    oklch(46.8% 0.046 141.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405F6F 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.