#6862F5

Closest named color: Medium Slate Blue (#7B68EE). oklch(58.5% 0.213 279.3), rgb(104, 98, 245).

Aa

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

About this color

#6862F5 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.213 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.035 away. Black text reads best on it, at 4.65:1.

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

Values

HEX#6862F5
RGBrgb(104, 98, 245)
HSLhsl(242, 88%, 67%)
OKLCHoklch(58.5% 0.213 279.3)

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 #6862F5 4.51:1 AA Lc -76.3 Fine for body text
Black text on #6862F5 4.65:1 AA Lc 33.2 Non-text elements, placeholder text
#6862F5 text on white 4.51:1 AA Lc 70.9 Content text, not long reading
#6862F5 text on black 4.65:1 AA Lc -30.8 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

    #E5E8FD

    oklch(93.5% 0.029 279.4)

  3. Step 200

    200

    #D1D6FD

    oklch(88.5% 0.054 279.5)

  4. Step 300

    300

    #B3BAFE

    oklch(80.8% 0.096 279.5)

  5. Step 400

    400

    #8E94FE

    oklch(70.8% 0.153 279.3)

  6. Step 500

    500

    #7575FC

    oklch(63.2% 0.196 279.2)

  7. Step 600

    600 (this color)

    #6862F5

    oklch(58.5% 0.213 279.3)

  8. Step 700

    700

    #5047CC

    oklch(49.1% 0.198 279.2)

  9. Step 800

    800

    #413CA5

    oklch(42.8% 0.163 279)

  10. Step 900

    900

    #363583

    oklch(37.8% 0.128 278.9)

  11. Step 950

    950

    #1F204D

    oklch(27.1% 0.081 278.5)

Export this scale for Tailwind in the Tailwind colors tool

#6862F5 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)#007CFA0.086
Deuteranopia (no green cones)#0071F20.080
Tritanopia (no blue cones)#0486A20.185
Achromatopsia (no color)#7676760.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #6862F5

    #6862F5

    oklch(58.5% 0.213 279.3)

  • #8E7C00

    #8E7C00

    oklch(58.5% 0.121 99.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6862F5

    #6862F5

    oklch(58.5% 0.213 279.3)

  • #007FD7

    #007FD7

    oklch(58.6% 0.163 249.3)

  • #A14AD8

    #A14AD8

    oklch(58.5% 0.213 309.5)

Open the analogous palette in the generator

Split complementary

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

  • #6862F5

    #6862F5

    oklch(58.5% 0.213 279.3)

  • #AB6C00

    #AB6C00

    oklch(58.5% 0.127 69.8)

  • #5D8C00

    #5D8C00

    oklch(58.4% 0.156 129.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6862F5

    #6862F5

    oklch(58.5% 0.213 279.3)

  • #D24600

    #D24600

    oklch(58.6% 0.187 39.3)

  • #00935E

    #00935E

    oklch(58.5% 0.134 159.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6862F5

    #6862F5

    oklch(58.5% 0.213 279.3)

  • #DB2760

    #DB2760

    oklch(58.5% 0.213 9.4)

  • #8E7C00

    #8E7C00

    oklch(58.5% 0.121 99.1)

  • #008F88

    #008F88

    oklch(58.6% 0.102 188.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #6862F5 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.