#405EB3

Closest named color: Mid Blue (#276AB3). oklch(50.4% 0.139 266.8), rgb(64, 94, 179).

Aa

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

About this color

#405EB3 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 50%, its chroma 0.139 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.05:1.

Hue familyBlues
Lightnessmedium-dark (50%)
Chromamoderately saturated (0.139)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.47:1
White text6.05:1

Values

HEX#405EB3
RGBrgb(64, 94, 179)
HSLhsl(224, 47%, 48%)
OKLCHoklch(50.4% 0.139 266.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 #405EB3 6.05:1 AA Lc -85.2 Fine for body text
Black text on #405EB3 3.47:1 AA large text Lc 24.1 Dividers and decoration only
#405EB3 text on white 6.05:1 AA Lc 80.0 Fine for body text
#405EB3 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

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CED9F3

    oklch(88.5% 0.038 267.3)

  4. Step 300

    300

    #ADC0ED

    oklch(80.9% 0.067 267)

  5. Step 400

    400

    #829EE4

    oklch(70.6% 0.108 267)

  6. Step 500

    500

    #6385DC

    oklch(63.1% 0.137 266.4)

  7. Step 600

    600

    #4B6DCA

    oklch(55.7% 0.149 266.5)

  8. Step 700

    700 (this color)

    #405EB3

    oklch(50.4% 0.139 266.8)

  9. Step 800

    800

    #324A8D

    oklch(42.6% 0.115 266.7)

  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

#405EB3 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)#3368B60.027
Deuteranopia (no green cones)#1D5EB10.030
Tritanopia (no blue cones)#0072800.118
Achromatopsia (no color)#6363630.139

Harmonies

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

Complementary

The opposite hue (180°).

  • #405EB3

    #405EB3

    oklch(50.4% 0.139 266.8)

  • #7E5F00

    #7E5F00

    oklch(50.3% 0.103 86.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405EB3

    #405EB3

    oklch(50.4% 0.139 266.8)

  • #006C9A

    #006C9A

    oklch(50.3% 0.109 236.7)

  • #6E4FA9

    #6E4FA9

    oklch(50.4% 0.139 297)

Open the analogous palette in the generator

Split complementary

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

  • #405EB3

    #405EB3

    oklch(50.4% 0.139 266.8)

  • #974E00

    #974E00

    oklch(50.3% 0.123 56.5)

  • #616C00

    #616C00

    oklch(50.4% 0.116 116.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405EB3

    #405EB3

    oklch(50.4% 0.139 266.8)

  • #A53D36

    #A53D36

    oklch(50.4% 0.139 27)

  • #18782F

    #18782F

    oklch(50.3% 0.139 146.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405EB3

    #405EB3

    oklch(50.4% 0.139 266.8)

  • #9F3B66

    #9F3B66

    oklch(50.4% 0.14 356.6)

  • #7E5F00

    #7E5F00

    oklch(50.3% 0.103 86.3)

  • #007563

    #007563

    oklch(50.3% 0.093 177)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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