#6864EE

Closest named color: Medium Slate Blue (#7B68EE). oklch(58.3% 0.202 279.4), rgb(104, 100, 238).

Aa

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

About this color

#6864EE is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.202 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.031 away. Black text reads best on it, at 4.64:1.

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

Values

HEX#6864EE
RGBrgb(104, 100, 238)
HSLhsl(242, 80%, 66%)
OKLCHoklch(58.3% 0.202 279.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 #6864EE 4.51:1 AA Lc -76.4 Fine for body text
Black text on #6864EE 4.64:1 AA Lc 33.1 Non-text elements, placeholder text
#6864EE text on white 4.51:1 AA Lc 71.0 Content text, not long reading
#6864EE text on black 4.64:1 AA Lc -30.7 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

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E6E8FC

    oklch(93.5% 0.027 281.3)

  3. Step 200

    200

    #D2D6FB

    oklch(88.5% 0.051 280.4)

  4. Step 300

    300

    #B4BBFB

    oklch(80.9% 0.091 279.3)

  5. Step 400

    400

    #8F95F9

    oklch(70.8% 0.145 279.4)

  6. Step 500

    500

    #7677F6

    oklch(63.2% 0.185 279.4)

  7. Step 600

    600 (this color)

    #6864EE

    oklch(58.3% 0.202 279.4)

  8. Step 700

    700

    #514AC7

    oklch(49.2% 0.188 279.5)

  9. Step 800

    800

    #423EA1

    oklch(42.8% 0.155 279.4)

  10. Step 900

    900

    #37367F

    oklch(37.7% 0.12 279.6)

  11. Step 950

    950

    #20204B

    oklch(27% 0.078 279.9)

Export this scale for Tailwind in the Tailwind colors tool

#6864EE 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)#007CF30.085
Deuteranopia (no green cones)#0071EB0.079
Tritanopia (no blue cones)#1B859F0.175
Achromatopsia (no color)#7676760.202

Harmonies

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

Complementary

The opposite hue (180°).

  • #6864EE

    #6864EE

    oklch(58.3% 0.202 279.4)

  • #8D7C00

    #8D7C00

    oklch(58.4% 0.121 99.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6864EE

    #6864EE

    oklch(58.3% 0.202 279.4)

  • #007ED6

    #007ED6

    oklch(58.3% 0.163 249.4)

  • #9F4ED3

    #9F4ED3

    oklch(58.4% 0.202 309.6)

Open the analogous palette in the generator

Split complementary

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

  • #6864EE

    #6864EE

    oklch(58.3% 0.202 279.4)

  • #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.

  • #6864EE

    #6864EE

    oklch(58.3% 0.202 279.4)

  • #D14600

    #D14600

    oklch(58.4% 0.186 39.4)

  • #00925E

    #00925E

    oklch(58.2% 0.133 159.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6864EE

    #6864EE

    oklch(58.3% 0.202 279.4)

  • #D63061

    #D63061

    oklch(58.3% 0.202 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 #6864EE, closest first.

Similar named colors

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

Use #6864EE 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.