#406ECE

Closest named color: Royal Blue (#4169E1). oklch(55.6% 0.157 263), rgb(64, 110, 206).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.157)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.33:1
White text4.83:1

Values

HEX#406ECE
RGBrgb(64, 110, 206)
HSLhsl(221, 59%, 53%)
OKLCHoklch(55.6% 0.157 263)

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 #406ECE 4.83:1 AA Lc -78.7 Fine for body text
Black text on #406ECE 4.33:1 AA large text Lc 30.9 Non-text elements, placeholder text
#406ECE text on white 4.83:1 AA Lc 73.2 Content text, not long reading
#406ECE text on black 4.33:1 AA large text Lc -28.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 600.

  1. Step 50

    50

    #F2F6FC

    oklch(97.2% 0.009 258.3)

  2. Step 100

    100

    #E3EAF8

    oklch(93.6% 0.02 264.5)

  3. Step 200

    200

    #CCDAF4

    oklch(88.6% 0.039 262.9)

  4. Step 300

    300

    #A9C1EF

    oklch(80.9% 0.07 263.3)

  5. Step 400

    400

    #7BA0E7

    oklch(70.7% 0.112 262.8)

  6. Step 500

    500

    #5A86E0

    oklch(63.1% 0.144 263.2)

  7. Step 600

    600 (this color)

    #406ECE

    oklch(55.6% 0.157 263)

  8. Step 700

    700

    #325BB2

    oklch(49% 0.146 263.1)

  9. Step 800

    800

    #2A4B90

    oklch(42.7% 0.121 263.1)

  10. Step 900

    900

    #263F73

    oklch(37.6% 0.094 263.2)

  11. Step 950

    950

    #172543

    oklch(26.9% 0.059 264)

Export this scale for Tailwind in the Tailwind colors tool

#406ECE 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)#3C79D20.029
Deuteranopia (no green cones)#1D6BCC0.028
Tritanopia (no blue cones)#0084940.126
Achromatopsia (no color)#7272720.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #406ECE

    #406ECE

    oklch(55.6% 0.157 263)

  • #936C00

    #936C00

    oklch(55.6% 0.114 83.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #406ECE

    #406ECE

    oklch(55.6% 0.157 263)

  • #007DAB

    #007DAB

    oklch(55.5% 0.115 233.2)

  • #795DC5

    #795DC5

    oklch(55.7% 0.156 293.1)

Open the analogous palette in the generator

Split complementary

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

  • #406ECE

    #406ECE

    oklch(55.6% 0.157 263)

  • #B15700

    #B15700

    oklch(55.7% 0.141 53.1)

  • #747A00

    #747A00

    oklch(55.6% 0.124 113.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #406ECE

    #406ECE

    oklch(55.6% 0.157 263)

  • #BE4446

    #BE4446

    oklch(55.6% 0.157 22.8)

  • #2C892B

    #2C892B

    oklch(55.6% 0.157 143)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #406ECE

    #406ECE

    oklch(55.6% 0.157 263)

  • #B5447B

    #B5447B

    oklch(55.6% 0.157 353.2)

  • #936C00

    #936C00

    oklch(55.6% 0.114 83.5)

  • #00876D

    #00876D

    oklch(55.6% 0.107 172.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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