#6866EA

Closest named color: Medium Slate Blue (#7B68EE). oklch(58.4% 0.194 279.2), rgb(104, 102, 234).

Aa

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

About this color

#6866EA is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.194 and its hue 279°. Its hue sits on the cool side of the wheel. The nearest named color is Medium Slate Blue (#7B68EE), ΔE 0.030 away. Black text reads best on it, at 4.67:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.194)
Temperaturecool
Nearest nameMedium Slate Blue (#7B68EE)
Black text4.67:1
White text4.48:1

Values

HEX#6866EA
RGBrgb(104, 102, 234)
HSLhsl(241, 76%, 66%)
OKLCHoklch(58.4% 0.194 279.2)

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 #6866EA 4.48:1 AA large text Lc -76.3 Fine for body text
Black text on #6866EA 4.67:1 AA Lc 33.3 Non-text elements, placeholder text
#6866EA text on white 4.48:1 AA large text Lc 70.8 Content text, not long reading
#6866EA text on black 4.67:1 AA Lc -30.9 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

    #F3F5FD

    oklch(97.1% 0.011 274.9)

  2. Step 100

    100

    #E6E9FB

    oklch(93.7% 0.024 278.4)

  3. Step 200

    200

    #D2D6FA

    oklch(88.4% 0.05 280.3)

  4. Step 300

    300

    #B4BBF9

    oklch(80.9% 0.088 279.2)

  5. Step 400

    400

    #8F96F6

    oklch(70.8% 0.139 279)

  6. Step 500

    500

    #7678F2

    oklch(63.1% 0.179 279.3)

  7. Step 600

    600 (this color)

    #6866EA

    oklch(58.4% 0.194 279.2)

  8. Step 700

    700

    #504CC3

    oklch(49.1% 0.18 278.9)

  9. Step 800

    800

    #423F9E

    oklch(42.8% 0.15 279.4)

  10. Step 900

    900

    #37377D

    oklch(37.8% 0.116 279.3)

  11. Step 950

    950

    #202149

    oklch(27.1% 0.073 279.3)

Export this scale for Tailwind in the Tailwind colors tool

#6866EA 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)#007CEE0.083
Deuteranopia (no green cones)#0072E70.079
Tritanopia (no blue cones)#23859E0.168
Achromatopsia (no color)#7777770.194

Harmonies

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

Complementary

The opposite hue (180°).

  • #6866EA

    #6866EA

    oklch(58.4% 0.194 279.2)

  • #8D7C00

    #8D7C00

    oklch(58.4% 0.121 99.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6866EA

    #6866EA

    oklch(58.4% 0.194 279.2)

  • #007ED6

    #007ED6

    oklch(58.3% 0.163 249.4)

  • #9D51D0

    #9D51D0

    oklch(58.3% 0.194 309.2)

Open the analogous palette in the generator

Split complementary

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

  • #6866EA

    #6866EA

    oklch(58.4% 0.194 279.2)

  • #AB6B00

    #AB6B00

    oklch(58.4% 0.127 69.1)

  • #5D8C00

    #5D8C00

    oklch(58.4% 0.156 129.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6866EA

    #6866EA

    oklch(58.4% 0.194 279.2)

  • #D14600

    #D14600

    oklch(58.4% 0.186 39.4)

  • #00935E

    #00935E

    oklch(58.5% 0.134 159.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6866EA

    #6866EA

    oklch(58.4% 0.194 279.2)

  • #D33662

    #D33662

    oklch(58.3% 0.194 9.3)

  • #8D7C00

    #8D7C00

    oklch(58.4% 0.121 99.7)

  • #008E88

    #008E88

    oklch(58.3% 0.101 189.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6866EA 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.