#646FDF

Closest named color: Dark Periwinkle (#665FD1). oklch(59% 0.168 275.7), rgb(100, 111, 223).

Aa

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

About this color

#646FDF is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.168 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.88:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.168)
Temperaturecool
Nearest nameDark Periwinkle (#665FD1)
Black text4.88:1
White text4.30:1

Values

HEX#646FDF
RGBrgb(100, 111, 223)
HSLhsl(235, 66%, 63%)
OKLCHoklch(59% 0.168 275.7)

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 #646FDF 4.30:1 AA large text Lc -75.0 Content text, not long reading
Black text on #646FDF 4.88:1 AA Lc 34.6 Non-text elements, placeholder text
#646FDF text on white 4.30:1 AA large text Lc 69.5 Content text, not long reading
#646FDF text on black 4.88:1 AA Lc -32.2 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

    #F3F5FC

    oklch(97.1% 0.01 273.4)

  2. Step 100

    100

    #E5E9F9

    oklch(93.6% 0.022 274.7)

  3. Step 200

    200

    #D1D7F6

    oklch(88.4% 0.043 276.8)

  4. Step 300

    300

    #B3BDF2

    oklch(80.9% 0.076 276.3)

  5. Step 400

    400

    #8C99EC

    oklch(70.7% 0.122 276)

  6. Step 500

    500

    #717EE6

    oklch(63.2% 0.155 275.7)

  7. Step 600

    600 (this color)

    #646FDF

    oklch(59% 0.168 275.7)

  8. Step 700

    700

    #4B53B7

    oklch(49.1% 0.156 275.6)

  9. Step 800

    800

    #3D4494

    oklch(42.6% 0.13 275.7)

  10. Step 900

    900

    #343A76

    oklch(37.6% 0.101 276.1)

  11. Step 950

    950

    #1E2345

    oklch(27.1% 0.063 275.1)

Export this scale for Tailwind in the Tailwind colors tool

#646FDF 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)#357FE30.056
Deuteranopia (no green cones)#2175DD0.061
Tritanopia (no blue cones)#22889C0.149
Achromatopsia (no color)#7A7A7A0.169

Harmonies

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

Complementary

The opposite hue (180°).

  • #646FDF

    #646FDF

    oklch(59% 0.168 275.7)

  • #937C00

    #937C00

    oklch(59% 0.121 96)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #646FDF

    #646FDF

    oklch(59% 0.168 275.7)

  • #0083D0

    #0083D0

    oklch(59% 0.15 245.5)

  • #965DCB

    #965DCB

    oklch(59% 0.168 305.8)

Open the analogous palette in the generator

Split complementary

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

  • #646FDF

    #646FDF

    oklch(59% 0.168 275.7)

  • #B16A00

    #B16A00

    oklch(59% 0.132 65.6)

  • #688C00

    #688C00

    oklch(59.1% 0.15 125.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #646FDF

    #646FDF

    oklch(59% 0.168 275.7)

  • #CD4E2C

    #CD4E2C

    oklch(58.9% 0.168 35.7)

  • #009557

    #009557

    oklch(58.9% 0.143 155.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #646FDF

    #646FDF

    oklch(59% 0.168 275.7)

  • #CB476E

    #CB476E

    oklch(59% 0.169 5.8)

  • #937C00

    #937C00

    oklch(59% 0.121 96)

  • #009186

    #009186

    oklch(59.1% 0.104 185.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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