#6878FA

Closest named color: Cornflower (#6A79F7). oklch(62.7% 0.192 274.2), rgb(104, 120, 250).

Aa

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

About this color

#6878FA is a medium-light, vivid blue. In OKLCH its lightness is 63%, its chroma 0.192 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Cornflower (#6A79F7), ΔE 0.006 away. Black text reads best on it, at 5.65:1.

Hue familyBlues
Lightnessmedium-light (63%)
Chromavivid (0.192)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.65:1
White text3.71:1

Values

HEX#6878FA
RGBrgb(104, 120, 250)
HSLhsl(233, 94%, 69%)
OKLCHoklch(62.7% 0.192 274.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 #6878FA 3.71:1 AA large text Lc -69.9 Content text, not long reading
Black text on #6878FA 5.65:1 AA Lc 39.7 Non-text elements, placeholder text
#6878FA text on white 3.71:1 AA large text Lc 64.4 Content text, not long reading
#6878FA text on black 5.65:1 AA Lc -37.3 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 500.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E4E9FD

    oklch(93.6% 0.028 274.7)

  3. Step 200

    200

    #CED7FD

    oklch(88.4% 0.053 274.8)

  4. Step 300

    300

    #AEBDFE

    oklch(81% 0.094 274.1)

  5. Step 400

    400

    #8597FD

    oklch(70.7% 0.15 274.4)

  6. Step 500

    500 (this color)

    #6878FA

    oklch(62.7% 0.192 274.2)

  7. Step 600

    600

    #535EEA

    oklch(55.6% 0.208 274)

  8. Step 700

    700

    #454CCC

    oklch(49.1% 0.194 274.3)

  9. Step 800

    800

    #383FA5

    oklch(42.7% 0.162 274.3)

  10. Step 900

    900

    #2F3783

    oklch(37.6% 0.127 274.1)

  11. Step 950

    950

    #1B214C

    oklch(26.9% 0.079 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#6878FA 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)#2A8BFF0.063
Deuteranopia (no green cones)#007EF70.069
Tritanopia (no blue cones)#0096AE0.167
Achromatopsia (no color)#8585850.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #6878FA

    #6878FA

    oklch(62.7% 0.192 274.2)

  • #A28600

    #A28600

    oklch(62.8% 0.129 94.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6878FA

    #6878FA

    oklch(62.7% 0.192 274.2)

  • #008FDE

    #008FDE

    oklch(62.7% 0.155 244.2)

  • #A363E4

    #A363E4

    oklch(62.8% 0.192 304.3)

Open the analogous palette in the generator

Split complementary

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

  • #6878FA

    #6878FA

    oklch(62.7% 0.192 274.2)

  • #C27300

    #C27300

    oklch(62.8% 0.142 64.5)

  • #759700

    #759700

    oklch(62.8% 0.156 124.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6878FA

    #6878FA

    oklch(62.7% 0.192 274.2)

  • #E44E2C

    #E44E2C

    oklch(62.6% 0.192 34.1)

  • #00A35A

    #00A35A

    oklch(62.8% 0.158 154.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6878FA

    #6878FA

    oklch(62.7% 0.192 274.2)

  • #E0477A

    #E0477A

    oklch(62.6% 0.192 4.3)

  • #A28600

    #A28600

    oklch(62.8% 0.129 94.1)

  • #009E90

    #009E90

    oklch(62.8% 0.111 183.9)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #6878FA.

Similar named colors

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

Use #6878FA 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.