#406BD3

Closest named color: Royal Blue (#4169E1). oklch(55.3% 0.167 264.6), rgb(64, 107, 211).

Aa

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

About this color

#406BD3 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.167 and its hue 265°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.023 away. White text reads best on it, at 4.92:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.167)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.26:1
White text4.92:1

Values

HEX#406BD3
RGBrgb(64, 107, 211)
HSLhsl(222, 63%, 54%)
OKLCHoklch(55.3% 0.167 264.6)

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 #406BD3 4.92:1 AA Lc -79.2 Fine for body text
Black text on #406BD3 4.26:1 AA large text Lc 30.3 Non-text elements, placeholder text
#406BD3 text on white 4.92:1 AA Lc 73.8 Content text, not long reading
#406BD3 text on black 4.26:1 AA large text Lc -27.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 600.

  1. Step 50

    50

    #F2F5FC

    oklch(97% 0.01 267.4)

  2. Step 100

    100

    #E3EAF9

    oklch(93.6% 0.022 265.8)

  3. Step 200

    200

    #CCD9F6

    oklch(88.5% 0.042 266.3)

  4. Step 300

    300

    #A9C1F2

    oklch(81% 0.074 264.4)

  5. Step 400

    400

    #7B9FEC

    oklch(70.8% 0.12 264.4)

  6. Step 500

    500

    #5A85E6

    oklch(63.2% 0.154 264.4)

  7. Step 600

    600 (this color)

    #406BD3

    oklch(55.3% 0.167 264.6)

  8. Step 700

    700

    #3359B8

    oklch(49.1% 0.157 264.8)

  9. Step 800

    800

    #2B4A95

    oklch(42.9% 0.129 264.6)

  10. Step 900

    900

    #263E76

    oklch(37.6% 0.1 264.6)

  11. Step 950

    950

    #172545

    oklch(27% 0.063 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#406BD3 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)#3077D70.031
Deuteranopia (no green cones)#006AD10.035
Tritanopia (no blue cones)#0084950.136
Achromatopsia (no color)#7070700.168

Harmonies

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

Complementary

The opposite hue (180°).

  • #406BD3

    #406BD3

    oklch(55.3% 0.167 264.6)

  • #916C00

    #916C00

    oklch(55.4% 0.113 84.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406BD3

    #406BD3

    oklch(55.3% 0.167 264.6)

  • #007CAC

    #007CAC

    oklch(55.3% 0.117 234.5)

  • #7B58C8

    #7B58C8

    oklch(55.2% 0.167 294.7)

Open the analogous palette in the generator

Split complementary

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

  • #406BD3

    #406BD3

    oklch(55.3% 0.167 264.6)

  • #AE5800

    #AE5800

    oklch(55.4% 0.138 54.7)

  • #717A00

    #717A00

    oklch(55.3% 0.125 114.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406BD3

    #406BD3

    oklch(55.3% 0.167 264.6)

  • #C13E3E

    #C13E3E

    oklch(55.3% 0.168 24.4)

  • #158A27

    #158A27

    oklch(55.3% 0.168 144.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406BD3

    #406BD3

    oklch(55.3% 0.167 264.6)

  • #B83E78

    #B83E78

    oklch(55.3% 0.166 354.6)

  • #916C00

    #916C00

    oklch(55.4% 0.113 84.8)

  • #00866F

    #00866F

    oklch(55.4% 0.104 175)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #406BD3 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.