#646EC7

Closest named color: Dark Periwinkle (#665FD1). oklch(57.2% 0.136 276.4), rgb(100, 110, 199).

Aa

Black text reads best on this color (4.59:1).

About this color

#646EC7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 57%, its chroma 0.136 and its hue 276°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Periwinkle (#665FD1), ΔE 0.042 away. Black text reads best on it, at 4.59:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.59:1
White text4.56:1

Values

HEX#646EC7
RGBrgb(100, 110, 199)
HSLhsl(234, 47%, 59%)
OKLCHoklch(57.2% 0.136 276.4)

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 #646EC7 4.56:1 AA Lc -77.0 Fine for body text
Black text on #646EC7 4.59:1 AA Lc 32.5 Non-text elements, placeholder text
#646EC7 text on white 4.56:1 AA Lc 71.6 Content text, not long reading
#646EC7 text on black 4.59:1 AA Lc -30.1 Non-text elements, placeholder text

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

    #F4F5FB

    oklch(97.1% 0.008 278.6)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D3D8F0

    oklch(88.6% 0.033 276.3)

  4. Step 300

    300

    #B6BEE9

    oklch(81% 0.061 276.7)

  5. Step 400

    400

    #909BDE

    oklch(70.7% 0.099 276.4)

  6. Step 500

    500

    #7681D4

    oklch(63.1% 0.125 276.5)

  7. Step 600

    600 (this color)

    #646EC7

    oklch(57.2% 0.136 276.4)

  8. Step 700

    700

    #4F57A7

    oklch(49.1% 0.127 276.4)

  9. Step 800

    800

    #414887

    oklch(42.8% 0.104 276.3)

  10. Step 900

    900

    #373C6C

    oklch(37.6% 0.082 277.2)

  11. Step 950

    950

    #20243F

    oklch(27.1% 0.05 276.1)

Export this scale for Tailwind in the Tailwind colors tool

#646EC7 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)#497ACA0.041
Deuteranopia (no green cones)#4072C50.042
Tritanopia (no blue cones)#3D81910.120
Achromatopsia (no color)#7676760.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #646EC7

    #646EC7

    oklch(57.2% 0.136 276.4)

  • #8D7700

    #8D7700

    oklch(57.3% 0.118 96.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #646EC7

    #646EC7

    oklch(57.2% 0.136 276.4)

  • #1E7DC3

    #1E7DC3

    oklch(57.2% 0.136 246.5)

  • #8D60B7

    #8D60B7

    oklch(57.3% 0.137 306.4)

Open the analogous palette in the generator

Split complementary

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

  • #646EC7

    #646EC7

    oklch(57.2% 0.136 276.4)

  • #A96600

    #A96600

    oklch(57.2% 0.127 66.3)

  • #638619

    #638619

    oklch(57.3% 0.137 126.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #646EC7

    #646EC7

    oklch(57.2% 0.136 276.4)

  • #BA563A

    #BA563A

    oklch(57.3% 0.136 36.5)

  • #078F55

    #078F55

    oklch(57.2% 0.136 156.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #646EC7

    #646EC7

    oklch(57.2% 0.136 276.4)

  • #B8506B

    #B8506B

    oklch(57.1% 0.137 6.2)

  • #8D7700

    #8D7700

    oklch(57.3% 0.118 96.1)

  • #008B81

    #008B81

    oklch(57.3% 0.1 186)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #646EC7 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.