#6878CC

Closest named color: Soft Blue (#6488EA). oklch(59.8% 0.129 273.7), rgb(104, 120, 204).

Aa

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

About this color

#6878CC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.129 and its hue 274°. Its hue sits on the cool side of the wheel. The nearest named color is Soft Blue (#6488EA), ΔE 0.056 away. Black text reads best on it, at 5.14:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.129)
Temperaturecool
Nearest nameSoft Blue (#6488EA)
Black text5.14:1
White text4.07:1

Values

HEX#6878CC
RGBrgb(104, 120, 204)
HSLhsl(230, 50%, 60%)
OKLCHoklch(59.8% 0.129 273.7)

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 #6878CC 4.07:1 AA large text Lc -73.4 Content text, not long reading
Black text on #6878CC 5.14:1 AA Lc 36.2 Non-text elements, placeholder text
#6878CC text on white 4.07:1 AA large text Lc 67.8 Content text, not long reading
#6878CC text on black 5.14:1 AA Lc -33.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 500.

  1. Step 50

    50

    #F3F5FB

    oklch(97% 0.008 271.3)

  2. Step 100

    100

    #E6E9F6

    oklch(93.6% 0.018 275.6)

  3. Step 200

    200

    #D1D8F1

    oklch(88.5% 0.035 273.2)

  4. Step 300

    300

    #B3BEEA

    oklch(80.8% 0.063 273.9)

  5. Step 400

    400

    #8D9CE0

    oklch(70.8% 0.101 274)

  6. Step 500

    500 (this color)

    #6878CC

    oklch(59.8% 0.129 273.7)

  7. Step 600

    600

    #5B6AC4

    oklch(55.6% 0.14 273.9)

  8. Step 700

    700

    #4B58AA

    oklch(49.2% 0.131 273.8)

  9. Step 800

    800

    #3D4889

    oklch(42.6% 0.108 273.7)

  10. Step 900

    900

    #343D6E

    oklch(37.7% 0.084 273.8)

  11. Step 950

    950

    #1E2440

    oklch(27% 0.053 273.2)

Export this scale for Tailwind in the Tailwind colors tool

#6878CC 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)#5782CF0.030
Deuteranopia (no green cones)#4D7ACA0.032
Tritanopia (no blue cones)#408A980.115
Achromatopsia (no color)#7E7E7E0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #6878CC

    #6878CC

    oklch(59.8% 0.129 273.7)

  • #987D00

    #987D00

    oklch(59.8% 0.122 93.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #6878CC

    #6878CC

    oklch(59.8% 0.129 273.7)

  • #2986C6

    #2986C6

    oklch(59.7% 0.129 243.8)

  • #906ABE

    #906ABE

    oklch(59.7% 0.13 303.6)

Open the analogous palette in the generator

Split complementary

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

  • #6878CC

    #6878CC

    oklch(59.8% 0.129 273.7)

  • #B46C15

    #B46C15

    oklch(59.8% 0.129 63.6)

  • #708C28

    #708C28

    oklch(59.8% 0.129 123.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #6878CC

    #6878CC

    oklch(59.8% 0.129 273.7)

  • #C05F4A

    #C05F4A

    oklch(59.8% 0.129 33.5)

  • #31955A

    #31955A

    oklch(59.7% 0.129 153.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #6878CC

    #6878CC

    oklch(59.8% 0.129 273.7)

  • #BD5B77

    #BD5B77

    oklch(59.8% 0.129 3.7)

  • #987D00

    #987D00

    oklch(59.8% 0.122 93.7)

  • #009486

    #009486

    oklch(59.9% 0.106 183.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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