#405B9B

Closest named color: Denim Blue (#3B5B92). oklch(48.2% 0.108 265.3), rgb(64, 91, 155).

Aa

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

About this color

#405B9B is a medium-dark, moderately saturated blue. In OKLCH its lightness is 48%, its chroma 0.108 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Denim Blue (#3B5B92), ΔE 0.016 away. White text reads best on it, at 6.58:1.

Hue familyBlues
Lightnessmedium-dark (48%)
Chromamoderately saturated (0.108)
Temperaturecool
Nearest nameDenim Blue (#3B5B92)
Black text3.18:1
White text6.58:1

Values

HEX#405B9B
RGBrgb(64, 91, 155)
HSLhsl(222, 42%, 43%)
OKLCHoklch(48.2% 0.108 265.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 #405B9B 6.58:1 AA Lc -87.5 Fine for body text
Black text on #405B9B 3.18:1 AA large text Lc 21.6 Dividers and decoration only
#405B9B text on white 6.58:1 AA Lc 82.4 Fine for body text
#405B9B text on black 3.18:1 AA large text Lc -19.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

    #F3F5FA

    oklch(97% 0.007 268.5)

  2. Step 100

    100

    #E5EAF4

    oklch(93.6% 0.015 264.5)

  3. Step 200

    200

    #D0D9ED

    oklch(88.5% 0.029 266.4)

  4. Step 300

    300

    #B0C1E3

    oklch(80.9% 0.052 264.2)

  5. Step 400

    400

    #87A0D6

    oklch(70.7% 0.084 265.1)

  6. Step 500

    500

    #6A88CB

    oklch(63.2% 0.107 265.1)

  7. Step 600

    600

    #5270B7

    oklch(55.5% 0.116 265.5)

  8. Step 700

    700 (this color)

    #405B9B

    oklch(48.2% 0.108 265.3)

  9. Step 800

    800

    #374D80

    oklch(42.8% 0.089 265.2)

  10. Step 900

    900

    #2F4067

    oklch(37.6% 0.071 265.3)

  11. Step 950

    950

    #1C263C

    oklch(27.1% 0.044 265)

Export this scale for Tailwind in the Tailwind colors tool

#405B9B 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)#40619E0.017
Deuteranopia (no green cones)#34599A0.016
Tritanopia (no blue cones)#0069730.097
Achromatopsia (no color)#5D5D5D0.108

Harmonies

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

Complementary

The opposite hue (180°).

  • #405B9B

    #405B9B

    oklch(48.2% 0.108 265.3)

  • #775900

    #775900

    oklch(48.2% 0.099 85.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405B9B

    #405B9B

    oklch(48.2% 0.108 265.3)

  • #00668F

    #00668F

    oklch(48.2% 0.102 235)

  • #635094

    #635094

    oklch(48.2% 0.108 294.9)

Open the analogous palette in the generator

Split complementary

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

  • #405B9B

    #405B9B

    oklch(48.2% 0.108 265.3)

  • #8B4B14

    #8B4B14

    oklch(48.1% 0.108 55.6)

  • #5C6503

    #5C6503

    oklch(48.2% 0.109 115.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405B9B

    #405B9B

    oklch(48.2% 0.108 265.3)

  • #91423E

    #91423E

    oklch(48.1% 0.108 24.9)

  • #306E35

    #306E35

    oklch(48.3% 0.109 145.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405B9B

    #405B9B

    oklch(48.2% 0.108 265.3)

  • #8C4161

    #8C4161

    oklch(48.2% 0.108 355.1)

  • #775900

    #775900

    oklch(48.2% 0.099 85.7)

  • #006E5B

    #006E5B

    oklch(48.1% 0.09 175.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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