#405DC0

Closest named color: Mid Blue (#276AB3). oklch(51.1% 0.159 268.1), rgb(64, 93, 192).

Aa

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

About this color

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

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

Values

HEX#405DC0
RGBrgb(64, 93, 192)
HSLhsl(226, 50%, 50%)
OKLCHoklch(51.1% 0.159 268.1)

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 #405DC0 5.92:1 AA Lc -84.5 Fine for body text
Black text on #405DC0 3.54:1 AA large text Lc 24.8 Dividers and decoration only
#405DC0 text on white 5.92:1 AA Lc 79.3 Fine for body text
#405DC0 text on black 3.54:1 AA large text Lc -22.5 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

    #F2F5FD

    oklch(97% 0.011 269.6)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CDD9F6

    oklch(88.5% 0.042 267.7)

  4. Step 300

    300

    #ABBFF3

    oklch(80.8% 0.077 268.3)

  5. Step 400

    400

    #809DED

    oklch(70.7% 0.122 268.1)

  6. Step 500

    500

    #6182E8

    oklch(63.1% 0.158 268.2)

  7. Step 600

    600

    #4969D6

    oklch(55.6% 0.171 268.1)

  8. Step 700

    700 (this color)

    #405DC0

    oklch(51.1% 0.159 268.1)

  9. Step 800

    800

    #314896

    oklch(42.8% 0.131 268.1)

  10. Step 900

    900

    #2A3D77

    oklch(37.7% 0.102 267.7)

  11. Step 950

    950

    #192446

    oklch(27% 0.065 268.3)

Export this scale for Tailwind in the Tailwind colors tool

#405DC0 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)#216AC40.038
Deuteranopia (no green cones)#005EBE0.040
Tritanopia (no blue cones)#0074850.131
Achromatopsia (no color)#6464640.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #405DC0

    #405DC0

    oklch(51.1% 0.159 268.1)

  • #7F6200

    #7F6200

    oklch(51.1% 0.104 88.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #405DC0

    #405DC0

    oklch(51.1% 0.159 268.1)

  • #006E9F

    #006E9F

    oklch(51.1% 0.113 237.9)

  • #734CB4

    #734CB4

    oklch(51.1% 0.159 297.8)

Open the analogous palette in the generator

Split complementary

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

  • #405DC0

    #405DC0

    oklch(51.1% 0.159 268.1)

  • #995100

    #995100

    oklch(51.2% 0.123 57.8)

  • #616F00

    #616F00

    oklch(51.2% 0.119 118.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #405DC0

    #405DC0

    oklch(51.1% 0.159 268.1)

  • #AF362D

    #AF362D

    oklch(51.1% 0.159 28.2)

  • #007C2F

    #007C2F

    oklch(51.1% 0.148 148)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #405DC0

    #405DC0

    oklch(51.1% 0.159 268.1)

  • #A93466

    #A93466

    oklch(51.2% 0.159 358.1)

  • #7F6200

    #7F6200

    oklch(51.1% 0.104 88.3)

  • #007866

    #007866

    oklch(51.2% 0.095 177.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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