#405FBB

Closest named color: Mid Blue (#276AB3). oklch(51.2% 0.149 267), rgb(64, 95, 187).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (51%)
Chromavivid (0.149)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text3.57:1
White text5.87:1

Values

HEX#405FBB
RGBrgb(64, 95, 187)
HSLhsl(225, 49%, 49%)
OKLCHoklch(51.2% 0.149 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 #405FBB 5.87:1 AA Lc -84.3 Fine for body text
Black text on #405FBB 3.57:1 AA large text Lc 25.0 Dividers and decoration only
#405FBB text on white 5.87:1 AA Lc 79.1 Fine for body text
#405FBB text on black 3.57:1 AA large text Lc -22.7 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

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CDD9F5

    oklch(88.5% 0.041 267.1)

  4. Step 300

    300

    #ACC0F0

    oklch(80.9% 0.072 267.1)

  5. Step 400

    400

    #809EE9

    oklch(70.7% 0.115 266.8)

  6. Step 500

    500

    #6184E2

    oklch(63.1% 0.147 266.8)

  7. Step 600

    600

    #496BD0

    oklch(55.6% 0.16 267.1)

  8. Step 700

    700 (this color)

    #405FBB

    oklch(51.2% 0.149 267)

  9. Step 800

    800

    #304992

    oklch(42.7% 0.124 266.9)

  10. Step 900

    900

    #2A3E74

    oklch(37.7% 0.096 266.6)

  11. Step 950

    950

    #192544

    oklch(27.1% 0.06 266.5)

Export this scale for Tailwind in the Tailwind colors tool

#405FBB 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)#2D6ABE0.031
Deuteranopia (no green cones)#0D5FB90.037
Tritanopia (no blue cones)#0074840.123
Achromatopsia (no color)#6464640.149

Harmonies

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

Complementary

The opposite hue (180°).

  • #405FBB

    #405FBB

    oklch(51.2% 0.149 267)

  • #806200

    #806200

    oklch(51.2% 0.105 87.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405FBB

    #405FBB

    oklch(51.2% 0.149 267)

  • #006E9E

    #006E9E

    oklch(51% 0.112 237.4)

  • #714FB0

    #714FB0

    oklch(51.1% 0.149 297)

Open the analogous palette in the generator

Split complementary

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

  • #405FBB

    #405FBB

    oklch(51.2% 0.149 267)

  • #9A5000

    #9A5000

    oklch(51.1% 0.124 56.7)

  • #626E00

    #626E00

    oklch(51% 0.118 117)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405FBB

    #405FBB

    oklch(51.2% 0.149 267)

  • #AC3B34

    #AC3B34

    oklch(51.3% 0.149 27.2)

  • #077C2C

    #077C2C

    oklch(51.2% 0.15 147)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405FBB

    #405FBB

    oklch(51.2% 0.149 267)

  • #A53968

    #A53968

    oklch(51.2% 0.149 356.8)

  • #806200

    #806200

    oklch(51.2% 0.105 87.6)

  • #007865

    #007865

    oklch(51.2% 0.095 176.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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