#405F83

Closest named color: Denim (#3B638C). oklch(47.7% 0.069 252.9), rgb(64, 95, 131).

Aa

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

About this color

#405F83 is a medium-dark, muted blue. In OKLCH its lightness is 48%, its chroma 0.069 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Denim (#3B638C), ΔE 0.016 away. White text reads best on it, at 6.59:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromamuted (0.069)
Temperaturecool
Nearest nameDenim (#3B638C)
Black text3.18:1
White text6.59:1

Values

HEX#405F83
RGBrgb(64, 95, 131)
HSLhsl(212, 34%, 38%)
OKLCHoklch(47.7% 0.069 252.9)

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 #405F83 6.59:1 AA Lc -87.6 Fine for body text
Black text on #405F83 3.18:1 AA large text Lc 21.5 Dividers and decoration only
#405F83 text on white 6.59:1 AA Lc 82.6 Fine for body text
#405F83 text on black 3.18:1 AA large text Lc -19.4 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

    #F3F6F8

    oklch(97.1% 0.004 236.5)

  2. Step 100

    100

    #E5EAF0

    oklch(93.5% 0.01 252.8)

  3. Step 200

    200

    #D1DAE5

    oklch(88.5% 0.018 253.4)

  4. Step 300

    300

    #B2C2D6

    oklch(80.8% 0.033 254)

  5. Step 400

    400

    #89A3C2

    oklch(70.7% 0.054 253)

  6. Step 500

    500

    #6C8CB2

    oklch(63% 0.068 253.1)

  7. Step 600

    600

    #53769E

    oklch(55.6% 0.074 252.4)

  8. Step 700

    700 (this color)

    #405F83

    oklch(47.7% 0.069 252.9)

  9. Step 800

    800

    #38516E

    oklch(42.8% 0.057 252.8)

  10. Step 900

    900

    #304359

    oklch(37.7% 0.045 252.6)

  11. Step 950

    950

    #1D2734

    oklch(26.9% 0.028 255.2)

Export this scale for Tailwind in the Tailwind colors tool

#405F83 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)#5161850.024
Deuteranopia (no green cones)#485A820.017
Tritanopia (no blue cones)#21676B0.061
Achromatopsia (no color)#5D5D5D0.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #405F83

    #405F83

    oklch(47.7% 0.069 252.9)

  • #75562E

    #75562E

    oklch(47.7% 0.069 71.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405F83

    #405F83

    oklch(47.7% 0.069 252.9)

  • #296579

    #296579

    oklch(47.6% 0.069 223.1)

  • #575883

    #575883

    oklch(47.8% 0.069 282.4)

Open the analogous palette in the generator

Split complementary

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

  • #405F83

    #405F83

    oklch(47.7% 0.069 252.9)

  • #7E503D

    #7E503D

    oklch(47.8% 0.069 43.1)

  • #645E2E

    #645E2E

    oklch(47.6% 0.068 102.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405F83

    #405F83

    oklch(47.7% 0.069 252.9)

  • #7F4C52

    #7F4C52

    oklch(47.7% 0.069 12.4)

  • #4E653C

    #4E653C

    oklch(47.7% 0.068 132.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405F83

    #405F83

    oklch(47.7% 0.069 252.9)

  • #784D67

    #784D67

    oklch(47.7% 0.069 343)

  • #75562E

    #75562E

    oklch(47.7% 0.069 71.9)

  • #346951

    #346951

    oklch(47.7% 0.07 162.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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