#405EB6

Closest named color: Mid Blue (#276AB3). oklch(50.6% 0.143 267), rgb(64, 94, 182).

Aa

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

About this color

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

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

Values

HEX#405EB6
RGBrgb(64, 94, 182)
HSLhsl(225, 48%, 48%)
OKLCHoklch(50.6% 0.143 267)

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 #405EB6 6.00:1 AA Lc -85.0 Fine for body text
Black text on #405EB6 3.49:1 AA large text Lc 24.3 Dividers and decoration only
#405EB6 text on white 6.00:1 AA Lc 79.7 Fine for body text
#405EB6 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

    #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

    #ACC0EE

    oklch(80.9% 0.069 266.5)

  5. Step 400

    400

    #819EE6

    oklch(70.6% 0.111 266.8)

  6. Step 500

    500

    #6384DF

    oklch(63.1% 0.142 267.3)

  7. Step 600

    600

    #4B6CCD

    oklch(55.7% 0.154 267.2)

  8. Step 700

    700 (this color)

    #405EB6

    oklch(50.6% 0.143 267)

  9. Step 800

    800

    #324A8F

    oklch(42.8% 0.118 267)

  10. Step 900

    900

    #2B3E72

    oklch(37.6% 0.092 266.9)

  11. Step 950

    950

    #192543

    oklch(27% 0.058 266.1)

Export this scale for Tailwind in the Tailwind colors tool

#405EB6 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)#3069B90.030
Deuteranopia (no green cones)#175EB40.033
Tritanopia (no blue cones)#0072810.120
Achromatopsia (no color)#6363630.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #405EB6

    #405EB6

    oklch(50.6% 0.143 267)

  • #7E6000

    #7E6000

    oklch(50.6% 0.103 87.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405EB6

    #405EB6

    oklch(50.6% 0.143 267)

  • #006D9C

    #006D9C

    oklch(50.7% 0.111 237)

  • #6F4FAC

    #6F4FAC

    oklch(50.7% 0.144 296.8)

Open the analogous palette in the generator

Split complementary

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

  • #405EB6

    #405EB6

    oklch(50.6% 0.143 267)

  • #974F00

    #974F00

    oklch(50.5% 0.122 57.2)

  • #616D00

    #616D00

    oklch(50.7% 0.117 117.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405EB6

    #405EB6

    oklch(50.6% 0.143 267)

  • #A73C35

    #A73C35

    oklch(50.6% 0.142 27.1)

  • #117A2E

    #117A2E

    oklch(50.7% 0.144 147)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405EB6

    #405EB6

    oklch(50.6% 0.143 267)

  • #A13A66

    #A13A66

    oklch(50.6% 0.143 357)

  • #7E6000

    #7E6000

    oklch(50.6% 0.103 87.2)

  • #007664

    #007664

    oklch(50.6% 0.094 177.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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