#405879

Closest named color: YInMn Blue (#415A77). oklch(45.5% 0.062 256.5), rgb(64, 88, 121).

Aa

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

About this color

#405879 is a medium-dark, muted blue. In OKLCH its lightness is 46%, its chroma 0.062 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is YInMn Blue (#415A77), ΔE 0.008 away. White text reads best on it, at 7.26:1.

Hue familyBlues
Lightnessmedium-dark (46%)
Chromamuted (0.062)
Temperaturecool
Nearest nameYInMn Blue (#415A77)
Black text2.88:1
White text7.26:1

Values

HEX#405879
RGBrgb(64, 88, 121)
HSLhsl(215, 31%, 36%)
OKLCHoklch(45.5% 0.062 256.5)

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 #405879 7.26:1 AAA Lc -90.1 Preferred for body text
Black text on #405879 2.88:1 Fails Lc 18.9 Dividers and decoration only
#405879 text on white 7.26:1 AAA Lc 85.2 Fine for body text
#405879 text on black 2.88:1 Fails Lc -16.8 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D1DAE7

    oklch(88.5% 0.02 257.5)

  4. Step 300

    300

    #B2C2D8

    oklch(80.9% 0.036 256.4)

  5. Step 400

    400

    #8AA2C5

    oklch(70.6% 0.058 257.7)

  6. Step 500

    500

    #6C8BB6

    oklch(63% 0.074 256.7)

  7. Step 600

    600

    #5475A2

    oklch(55.6% 0.08 256.3)

  8. Step 700

    700

    #44628B

    oklch(49.1% 0.075 256.4)

  9. Step 800

    800 (this color)

    #405879

    oklch(45.5% 0.062 256.5)

  10. Step 900

    900

    #31435B

    oklch(37.8% 0.047 255.8)

  11. Step 950

    950

    #1D2735

    oklch(27% 0.03 256.9)

Export this scale for Tailwind in the Tailwind colors tool

#405879 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)#4C5A7A0.018
Deuteranopia (no green cones)#4554780.013
Tritanopia (no blue cones)#2A5F630.054
Achromatopsia (no color)#5757570.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #405879

    #405879

    oklch(45.5% 0.062 256.5)

  • #6A522D

    #6A522D

    oklch(45.5% 0.062 77)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405879

    #405879

    oklch(45.5% 0.062 256.5)

  • #2D5E71

    #2D5E71

    oklch(45.6% 0.061 225.9)

  • #545278

    #545278

    oklch(45.7% 0.061 286.1)

Open the analogous palette in the generator

Split complementary

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

  • #405879

    #405879

    oklch(45.5% 0.062 256.5)

  • #734C39

    #734C39

    oklch(45.5% 0.061 46.7)

  • #5B592F

    #5B592F

    oklch(45.5% 0.061 106.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405879

    #405879

    oklch(45.5% 0.062 256.5)

  • #75484B

    #75484B

    oklch(45.4% 0.062 15.5)

  • #475F3C

    #475F3C

    oklch(45.6% 0.062 136.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405879

    #405879

    oklch(45.5% 0.062 256.5)

  • #70495E

    #70495E

    oklch(45.6% 0.061 346.3)

  • #6A522D

    #6A522D

    oklch(45.5% 0.062 77)

  • #31624F

    #31624F

    oklch(45.6% 0.062 166.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #405879 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.