#6878DC

Closest named color: Cornflower (#6A79F7). oklch(60.8% 0.152 274.2), rgb(104, 120, 220).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.152)
Temperaturecool
Nearest nameCornflower (#6A79F7)
Black text5.30:1
White text3.95:1

Values

HEX#6878DC
RGBrgb(104, 120, 220)
HSLhsl(232, 62%, 64%)
OKLCHoklch(60.8% 0.152 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 #6878DC 3.95:1 AA large text Lc -72.2 Content text, not long reading
Black text on #6878DC 5.30:1 AA Lc 37.3 Non-text elements, placeholder text
#6878DC text on white 3.95:1 AA large text Lc 66.7 Content text, not long reading
#6878DC text on black 5.30:1 AA Lc -34.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 500.

  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

    #D0D8F5

    oklch(88.5% 0.041 273.3)

  4. Step 300

    300

    #B1BEF1

    oklch(80.9% 0.074 273.5)

  5. Step 400

    400

    #8A9AEA

    oklch(70.6% 0.119 274.4)

  6. Step 500

    500 (this color)

    #6878DC

    oklch(60.8% 0.152 274.2)

  7. Step 600

    600

    #5866D2

    oklch(55.6% 0.165 274.2)

  8. Step 700

    700

    #4954B6

    oklch(49.1% 0.154 274.4)

  9. Step 800

    800

    #3B4593

    oklch(42.6% 0.127 274.2)

  10. Step 900

    900

    #323B75

    oklch(37.6% 0.099 274)

  11. Step 950

    950

    #1D2345

    oklch(27% 0.063 273.9)

Export this scale for Tailwind in the Tailwind colors tool

#6878DC 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)#4C85E00.041
Deuteranopia (no green cones)#3F7BDA0.044
Tritanopia (no blue cones)#328E9F0.135
Achromatopsia (no color)#8080800.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #6878DC

    #6878DC

    oklch(60.8% 0.152 274.2)

  • #9B8000

    #9B8000

    oklch(60.7% 0.125 94)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6878DC

    #6878DC

    oklch(60.8% 0.152 274.2)

  • #0089D5

    #0089D5

    oklch(60.7% 0.15 244.2)

  • #9768CB

    #9768CB

    oklch(60.8% 0.151 304.2)

Open the analogous palette in the generator

Split complementary

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

  • #6878DC

    #6878DC

    oklch(60.8% 0.152 274.2)

  • #BA6E00

    #BA6E00

    oklch(60.9% 0.137 64.4)

  • #709100

    #709100

    oklch(60.9% 0.152 124.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6878DC

    #6878DC

    oklch(60.8% 0.152 274.2)

  • #CD5A40

    #CD5A40

    oklch(60.8% 0.152 34.2)

  • #059C57

    #059C57

    oklch(60.9% 0.152 154.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6878DC

    #6878DC

    oklch(60.8% 0.152 274.2)

  • #CA5578

    #CA5578

    oklch(60.8% 0.152 4.1)

  • #9B8000

    #9B8000

    oklch(60.7% 0.125 94)

  • #00978A

    #00978A

    oklch(60.8% 0.108 184.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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