#405FB3

Closest named color: Mid Blue (#276AB3). oklch(50.6% 0.138 266.3), rgb(64, 95, 179).

Aa

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

About this color

#405FB3 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 51%, its chroma 0.138 and its hue 266°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.034 away. White text reads best on it, at 5.99:1.

Hue familyBlues
Lightnessmedium-dark (51%)
Chromamoderately saturated (0.138)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.50:1
White text5.99:1

Values

HEX#405FB3
RGBrgb(64, 95, 179)
HSLhsl(224, 47%, 48%)
OKLCHoklch(50.6% 0.138 266.3)

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 #405FB3 5.99:1 AA Lc -84.9 Fine for body text
Black text on #405FB3 3.50:1 AA large text Lc 24.4 Dividers and decoration only
#405FB3 text on white 5.99:1 AA Lc 79.7 Fine for body text
#405FB3 text on black 3.50: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

    #E4EAF7

    oklch(93.6% 0.019 266)

  3. Step 200

    200

    #CED9F2

    oklch(88.5% 0.036 266.7)

  4. Step 300

    300

    #ADC0ED

    oklch(80.9% 0.067 267)

  5. Step 400

    400

    #829FE4

    oklch(70.8% 0.107 266.3)

  6. Step 500

    500

    #6385DC

    oklch(63.1% 0.137 266.4)

  7. Step 600

    600

    #4B6DC9

    oklch(55.6% 0.148 266.4)

  8. Step 700

    700 (this color)

    #405FB3

    oklch(50.6% 0.138 266.3)

  9. Step 800

    800

    #324A8D

    oklch(42.6% 0.115 266.7)

  10. Step 900

    900

    #2B3F71

    oklch(37.8% 0.089 265.9)

  11. Step 950

    950

    #1A2542

    oklch(27% 0.056 266.9)

Export this scale for Tailwind in the Tailwind colors tool

#405FB3 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)#3569B60.027
Deuteranopia (no green cones)#205EB10.029
Tritanopia (no blue cones)#0072800.116
Achromatopsia (no color)#6363630.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #405FB3

    #405FB3

    oklch(50.6% 0.138 266.3)

  • #7F6000

    #7F6000

    oklch(50.7% 0.104 86.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405FB3

    #405FB3

    oklch(50.6% 0.138 266.3)

  • #006D9B

    #006D9B

    oklch(50.6% 0.11 236.5)

  • #6E50A9

    #6E50A9

    oklch(50.6% 0.138 296.7)

Open the analogous palette in the generator

Split complementary

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

  • #405FB3

    #405FB3

    oklch(50.6% 0.138 266.3)

  • #984E00

    #984E00

    oklch(50.5% 0.123 56.1)

  • #626C00

    #626C00

    oklch(50.5% 0.115 116)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405FB3

    #405FB3

    oklch(50.6% 0.138 266.3)

  • #A53E38

    #A53E38

    oklch(50.6% 0.138 26.5)

  • #1D792F

    #1D792F

    oklch(50.7% 0.138 146.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405FB3

    #405FB3

    oklch(50.6% 0.138 266.3)

  • #9F3C67

    #9F3C67

    oklch(50.6% 0.139 356.2)

  • #7F6000

    #7F6000

    oklch(50.7% 0.104 86.5)

  • #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 #405FB3, closest first.

No curated palette has a color within ΔE 0.04 of #405FB3.

Similar named colors

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

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