#405CBA

Closest named color: Mid Blue (#276AB3). oklch(50.5% 0.152 268.1), rgb(64, 92, 186).

Aa

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

About this color

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

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

Values

HEX#405CBA
RGBrgb(64, 92, 186)
HSLhsl(226, 49%, 49%)
OKLCHoklch(50.5% 0.152 268.1)

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 #405CBA 6.07:1 AA Lc -85.2 Fine for body text
Black text on #405CBA 3.45:1 AA large text Lc 24.0 Dividers and decoration only
#405CBA text on white 6.07:1 AA Lc 80.0 Fine for body text
#405CBA text on black 3.45:1 AA large text Lc -21.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 700.

  1. Step 50

    50

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E4EAF9

    oklch(93.7% 0.021 268.4)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ACC0F1

    oklch(81% 0.073 267.4)

  5. Step 400

    400

    #819DEA

    oklch(70.6% 0.118 268.1)

  6. Step 500

    500

    #6383E4

    oklch(63.2% 0.15 268.2)

  7. Step 600

    600

    #4B6AD2

    oklch(55.6% 0.164 268.2)

  8. Step 700

    700 (this color)

    #405CBA

    oklch(50.5% 0.152 268.1)

  9. Step 800

    800

    #324893

    oklch(42.6% 0.126 268.3)

  10. Step 900

    900

    #2B3D75

    oklch(37.6% 0.098 268)

  11. Step 950

    950

    #192445

    oklch(26.9% 0.063 268.1)

Export this scale for Tailwind in the Tailwind colors tool

#405CBA 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)#2768BD0.035
Deuteranopia (no green cones)#005DB80.041
Tritanopia (no blue cones)#0072820.126
Achromatopsia (no color)#6262620.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #405CBA

    #405CBA

    oklch(50.5% 0.152 268.1)

  • #7D6000

    #7D6000

    oklch(50.4% 0.103 88)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405CBA

    #405CBA

    oklch(50.5% 0.152 268.1)

  • #006C9D

    #006C9D

    oklch(50.5% 0.113 238.4)

  • #714CAE

    #714CAE

    oklch(50.5% 0.151 298.2)

Open the analogous palette in the generator

Split complementary

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

  • #405CBA

    #405CBA

    oklch(50.5% 0.152 268.1)

  • #965000

    #965000

    oklch(50.5% 0.121 58.4)

  • #5F6D00

    #5F6D00

    oklch(50.5% 0.118 118.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405CBA

    #405CBA

    oklch(50.5% 0.152 268.1)

  • #AA382F

    #AA382F

    oklch(50.5% 0.151 28.2)

  • #007A2F

    #007A2F

    oklch(50.6% 0.146 148.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405CBA

    #405CBA

    oklch(50.5% 0.152 268.1)

  • #A43564

    #A43564

    oklch(50.4% 0.152 358)

  • #7D6000

    #7D6000

    oklch(50.4% 0.103 88)

  • #007565

    #007565

    oklch(50.3% 0.092 178.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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