#405DBA

Closest named color: Mid Blue (#276AB3). oklch(50.7% 0.15 267.7), rgb(64, 93, 186).

Aa

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

About this color

#405DBA is a medium-dark, vivid blue. In OKLCH its lightness is 51%, its chroma 0.150 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.01:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromavivid (0.150)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.49:1
White text6.01:1

Values

HEX#405DBA
RGBrgb(64, 93, 186)
HSLhsl(226, 49%, 49%)
OKLCHoklch(50.7% 0.15 267.7)

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 #405DBA 6.01:1 AA Lc -84.9 Fine for body text
Black text on #405DBA 3.49:1 AA large text Lc 24.3 Dividers and decoration only
#405DBA text on white 6.01:1 AA Lc 79.7 Fine for body text
#405DBA text on black 3.49:1 AA large text Lc -22.1 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

    #819DE9

    oklch(70.6% 0.116 268)

  6. Step 500

    500

    #6283E3

    oklch(63% 0.149 267.7)

  7. Step 600

    600

    #4A6BD1

    oklch(55.7% 0.162 267.5)

  8. Step 700

    700 (this color)

    #405DBA

    oklch(50.7% 0.15 267.7)

  9. Step 800

    800

    #314992

    oklch(42.7% 0.124 267.3)

  10. Step 900

    900

    #2B3E75

    oklch(37.8% 0.097 267.3)

  11. Step 950

    950

    #192444

    oklch(26.9% 0.062 267.8)

Export this scale for Tailwind in the Tailwind colors tool

#405DBA 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)#2969BD0.034
Deuteranopia (no green cones)#045EB80.039
Tritanopia (no blue cones)#0073830.125
Achromatopsia (no color)#6363630.150

Harmonies

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

Complementary

The opposite hue (180°).

  • #405DBA

    #405DBA

    oklch(50.7% 0.15 267.7)

  • #7E6100

    #7E6100

    oklch(50.8% 0.104 88.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405DBA

    #405DBA

    oklch(50.7% 0.15 267.7)

  • #006D9D

    #006D9D

    oklch(50.7% 0.112 237.6)

  • #714DAF

    #714DAF

    oklch(50.7% 0.151 297.7)

Open the analogous palette in the generator

Split complementary

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

  • #405DBA

    #405DBA

    oklch(50.7% 0.15 267.7)

  • #975000

    #975000

    oklch(50.7% 0.121 57.9)

  • #606D00

    #606D00

    oklch(50.6% 0.117 117.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405DBA

    #405DBA

    oklch(50.7% 0.15 267.7)

  • #AA3931

    #AA3931

    oklch(50.7% 0.15 27.7)

  • #007A2D

    #007A2D

    oklch(50.5% 0.147 147.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405DBA

    #405DBA

    oklch(50.7% 0.15 267.7)

  • #A43765

    #A43765

    oklch(50.7% 0.15 357.8)

  • #7E6100

    #7E6100

    oklch(50.8% 0.104 88.1)

  • #007665

    #007665

    oklch(50.6% 0.093 178)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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