#405CB5

Closest named color: Mid Blue (#276AB3). oklch(50.1% 0.145 267.8), rgb(64, 92, 181).

Aa

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

About this color

#405CB5 is a medium-dark, vivid blue. In OKLCH its lightness is 50%, its chroma 0.145 and its hue 268°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.041 away. White text reads best on it, at 6.14:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromavivid (0.145)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.41:1
White text6.14:1

Values

HEX#405CB5
RGBrgb(64, 92, 181)
HSLhsl(226, 48%, 48%)
OKLCHoklch(50.1% 0.145 267.8)

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 #405CB5 6.14:1 AA Lc -85.6 Fine for body text
Black text on #405CB5 3.41:1 AA large text Lc 23.7 Dividers and decoration only
#405CB5 text on white 6.14:1 AA Lc 80.4 Fine for body text
#405CB5 text on black 3.41:1 AA large text Lc -21.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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E4EAF8

    oklch(93.7% 0.02 267.3)

  3. Step 200

    200

    #CED9F4

    oklch(88.5% 0.039 267.9)

  4. Step 300

    300

    #ADC0EF

    oklch(81% 0.07 267.6)

  5. Step 400

    400

    #829EE7

    oklch(70.8% 0.112 267.5)

  6. Step 500

    500

    #6484E0

    oklch(63.2% 0.143 267.7)

  7. Step 600

    600

    #4C6BCD

    oklch(55.5% 0.155 267.9)

  8. Step 700

    700 (this color)

    #405CB5

    oklch(50.1% 0.145 267.8)

  9. Step 800

    800

    #334990

    oklch(42.7% 0.12 268.1)

  10. Step 900

    900

    #2C3E73

    oklch(37.7% 0.093 267.7)

  11. Step 950

    950

    #1A2543

    oklch(27.1% 0.058 267.3)

Export this scale for Tailwind in the Tailwind colors tool

#405CB5 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)#2D67B80.031
Deuteranopia (no green cones)#115DB30.036
Tritanopia (no blue cones)#0071800.122
Achromatopsia (no color)#6161610.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #405CB5

    #405CB5

    oklch(50.1% 0.145 267.8)

  • #7C5F00

    #7C5F00

    oklch(50.1% 0.102 87.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405CB5

    #405CB5

    oklch(50.1% 0.145 267.8)

  • #006B9B

    #006B9B

    oklch(50.1% 0.111 238)

  • #6F4DAA

    #6F4DAA

    oklch(50.2% 0.144 297.9)

Open the analogous palette in the generator

Split complementary

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

  • #405CB5

    #405CB5

    oklch(50.1% 0.145 267.8)

  • #954F00

    #954F00

    oklch(50.2% 0.12 58)

  • #5E6C00

    #5E6C00

    oklch(50.2% 0.117 118.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405CB5

    #405CB5

    oklch(50.1% 0.145 267.8)

  • #A63A31

    #A63A31

    oklch(50.1% 0.144 28.1)

  • #03782D

    #03782D

    oklch(50% 0.144 147.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405CB5

    #405CB5

    oklch(50.1% 0.145 267.8)

  • #A03863

    #A03863

    oklch(50.1% 0.144 358.1)

  • #7C5F00

    #7C5F00

    oklch(50.1% 0.102 87.8)

  • #007463

    #007463

    oklch(50% 0.092 177.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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