#405D74

Closest named color: YInMn Blue (#415A77). oklch(46.5% 0.051 243.1), rgb(64, 93, 116).

Aa

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

About this color

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

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

Values

HEX#405D74
RGBrgb(64, 93, 116)
HSLhsl(207, 29%, 35%)
OKLCHoklch(46.5% 0.051 243.1)

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 #405D74 6.91:1 AA Lc -88.8 Fine for body text
Black text on #405D74 3.03:1 AA large text Lc 20.2 Dividers and decoration only
#405D74 text on white 6.91:1 AA Lc 83.9 Fine for body text
#405D74 text on black 3.03:1 AA large text Lc -18.1 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

    #E6EAEE

    oklch(93.5% 0.007 247.9)

  3. Step 200

    200

    #D2DAE2

    oklch(88.5% 0.014 248)

  4. Step 300

    300

    #B4C3D0

    oklch(81% 0.025 244.2)

  5. Step 400

    400

    #8CA4B8

    oklch(70.7% 0.04 243.5)

  6. Step 500

    500

    #6F8EA6

    oklch(63.2% 0.05 241.8)

  7. Step 600

    600

    #577791

    oklch(55.5% 0.055 243.5)

  8. Step 700

    700 (this color)

    #405D74

    oklch(46.5% 0.051 243.1)

  9. Step 800

    800

    #3B5265

    oklch(42.8% 0.042 243.9)

  10. Step 900

    900

    #324452

    oklch(37.7% 0.033 242.1)

  11. Step 950

    950

    #1E2830

    oklch(27.1% 0.02 242.7)

Export this scale for Tailwind in the Tailwind colors tool

#405D74 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)#535D750.026
Deuteranopia (no green cones)#4C57740.023
Tritanopia (no blue cones)#2C63650.042
Achromatopsia (no color)#5A5A5A0.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #405D74

    #405D74

    oklch(46.5% 0.051 243.1)

  • #6E533B

    #6E533B

    oklch(46.4% 0.051 62.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405D74

    #405D74

    oklch(46.5% 0.051 243.1)

  • #35616B

    #35616B

    oklch(46.5% 0.051 214.1)

  • #505876

    #505876

    oklch(46.6% 0.05 272.8)

Open the analogous palette in the generator

Split complementary

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

  • #405D74

    #405D74

    oklch(46.5% 0.051 243.1)

  • #734F47

    #734F47

    oklch(46.5% 0.051 33)

  • #635938

    #635938

    oklch(46.5% 0.051 93.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405D74

    #405D74

    oklch(46.5% 0.051 243.1)

  • #724E57

    #724E57

    oklch(46.6% 0.05 2.8)

  • #545E3E

    #545E3E

    oklch(46.4% 0.051 122.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405D74

    #405D74

    oklch(46.5% 0.051 243.1)

  • #6B4F66

    #6B4F66

    oklch(46.5% 0.051 332.7)

  • #6E533B

    #6E533B

    oklch(46.4% 0.051 62.7)

  • #43624C

    #43624C

    oklch(46.5% 0.051 153.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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