#405EB4

Closest named color: Mid Blue (#276AB3). oklch(50.5% 0.141 266.9), rgb(64, 94, 180).

Aa

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

About this color

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

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

Values

HEX#405EB4
RGBrgb(64, 94, 180)
HSLhsl(224, 48%, 48%)
OKLCHoklch(50.5% 0.141 266.9)

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 #405EB4 6.03:1 AA Lc -85.1 Fine for body text
Black text on #405EB4 3.47:1 AA large text Lc 24.2 Dividers and decoration only
#405EB4 text on white 6.03:1 AA Lc 79.9 Fine for body text
#405EB4 text on black 3.47:1 AA large text Lc -21.9 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

    #CED9F3

    oklch(88.5% 0.038 267.3)

  4. Step 300

    300

    #ADC0EE

    oklch(80.9% 0.069 267.3)

  5. Step 400

    400

    #829EE5

    oklch(70.7% 0.109 267.2)

  6. Step 500

    500

    #6385DD

    oklch(63.2% 0.138 266.6)

  7. Step 600

    600

    #4B6CCB

    oklch(55.5% 0.152 267)

  8. Step 700

    700 (this color)

    #405EB4

    oklch(50.5% 0.141 266.9)

  9. Step 800

    800

    #324A8E

    oklch(42.7% 0.116 266.8)

  10. Step 900

    900

    #2C3E71

    oklch(37.6% 0.09 267.3)

  11. Step 950

    950

    #1A2542

    oklch(27% 0.056 266.9)

Export this scale for Tailwind in the Tailwind colors tool

#405EB4 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)#3268B70.028
Deuteranopia (no green cones)#1B5EB20.032
Tritanopia (no blue cones)#0072800.119
Achromatopsia (no color)#6363630.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #405EB4

    #405EB4

    oklch(50.5% 0.141 266.9)

  • #7E6000

    #7E6000

    oklch(50.6% 0.103 87.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405EB4

    #405EB4

    oklch(50.5% 0.141 266.9)

  • #006C9B

    #006C9B

    oklch(50.4% 0.11 237.3)

  • #6E4FAA

    #6E4FAA

    oklch(50.5% 0.141 296.8)

Open the analogous palette in the generator

Split complementary

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

  • #405EB4

    #405EB4

    oklch(50.5% 0.141 266.9)

  • #974F00

    #974F00

    oklch(50.5% 0.122 57.2)

  • #616C00

    #616C00

    oklch(50.4% 0.116 116.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405EB4

    #405EB4

    oklch(50.5% 0.141 266.9)

  • #A63C36

    #A63C36

    oklch(50.4% 0.141 26.6)

  • #16792F

    #16792F

    oklch(50.5% 0.14 146.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405EB4

    #405EB4

    oklch(50.5% 0.141 266.9)

  • #A03B66

    #A03B66

    oklch(50.6% 0.141 356.9)

  • #7E6000

    #7E6000

    oklch(50.6% 0.103 87.2)

  • #007663

    #007663

    oklch(50.6% 0.094 176.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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