#405F89

Closest named color: Denim (#3B638C). oklch(48% 0.077 256.3), rgb(64, 95, 137).

Aa

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

About this color

#405F89 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 48%, its chroma 0.077 and its hue 256°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.012 away. White text reads best on it, at 6.52:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.077)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.21:1
White text6.52:1

Values

HEX#405F89
RGBrgb(64, 95, 137)
HSLhsl(215, 36%, 39%)
OKLCHoklch(48% 0.077 256.3)

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 #405F89 6.52:1 AA Lc -87.3 Fine for body text
Black text on #405F89 3.21:1 AA large text Lc 21.8 Dividers and decoration only
#405F89 text on white 6.52:1 AA Lc 82.3 Fine for body text
#405F89 text on black 3.21:1 AA large text Lc -19.6 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF1

    oklch(93.5% 0.011 256.7)

  3. Step 200

    200

    #D0DAE7

    oklch(88.5% 0.021 254.9)

  4. Step 300

    300

    #B1C2D9

    oklch(80.8% 0.038 256)

  5. Step 400

    400

    #89A3C6

    oklch(70.8% 0.059 255.9)

  6. Step 500

    500

    #6B8BB8

    oklch(63% 0.077 257)

  7. Step 600

    600

    #5275A4

    oklch(55.6% 0.084 256)

  8. Step 700

    700 (this color)

    #405F89

    oklch(48% 0.077 256.3)

  9. Step 800

    800

    #375072

    oklch(42.7% 0.065 256.3)

  10. Step 900

    900

    #30435C

    oklch(37.8% 0.049 255.5)

  11. Step 950

    950

    #1C2736

    oklch(27% 0.032 256.3)

Export this scale for Tailwind in the Tailwind colors tool

#405F89 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)#4E618B0.020
Deuteranopia (no green cones)#455A880.015
Tritanopia (no blue cones)#1B686E0.068
Achromatopsia (no color)#5E5E5E0.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #405F89

    #405F89

    oklch(48% 0.077 256.3)

  • #775726

    #775726

    oklch(48% 0.078 75.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405F89

    #405F89

    oklch(48% 0.077 256.3)

  • #22667F

    #22667F

    oklch(47.9% 0.077 226.5)

  • #5A5787

    #5A5787

    oklch(48% 0.076 286)

Open the analogous palette in the generator

Split complementary

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

  • #405F89

    #405F89

    oklch(48% 0.077 256.3)

  • #824F37

    #824F37

    oklch(48.1% 0.078 45.6)

  • #636028

    #636028

    oklch(47.9% 0.077 106.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405F89

    #405F89

    oklch(48% 0.077 256.3)

  • #844B4E

    #844B4E

    oklch(48.1% 0.077 17)

  • #49683B

    #49683B

    oklch(48.1% 0.078 136.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405F89

    #405F89

    oklch(48% 0.077 256.3)

  • #7D4B67

    #7D4B67

    oklch(48% 0.078 345.8)

  • #775726

    #775726

    oklch(48% 0.078 75.5)

  • #2A6C54

    #2A6C54

    oklch(48.2% 0.078 166.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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