#878BF4

Closest named color: Lavender Blue (#8B88F8). oklch(68% 0.153 279.9), rgb(135, 139, 244).

Aa

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

About this color

#878BF4 is a medium-light, vivid blue. In OKLCH its lightness is 68%, its chroma 0.153 and its hue 280°. Its hue sits on the cool side of the wheel. The nearest named color is Lavender Blue (#8B88F8), ΔE 0.011 away. Black text reads best on it, at 7.02:1.

Hue familyBlues
Lightnessmedium-light (68%)
Chromavivid (0.153)
Temperaturecool
Nearest nameLavender Blue (#8B88F8)
Black text7.02:1
White text2.98:1

Values

HEX#878BF4
RGBrgb(135, 139, 244)
HSLhsl(238, 83%, 74%)
OKLCHoklch(68% 0.153 279.9)

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 #878BF4 2.98:1 Fails Lc -61.7 Content text, not long reading
Black text on #878BF4 7.02:1 AAA Lc 47.7 Large or bold text, headings
#878BF4 text on white 2.98:1 Fails Lc 56.4 Large or bold text, headings
#878BF4 text on black 7.02:1 AAA Lc -45.4 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F3F5FE

    oklch(97.1% 0.012 276.1)

  2. Step 100

    100

    #E6E8FD

    oklch(93.6% 0.028 281.5)

  3. Step 200

    200

    #D1D6FD

    oklch(88.5% 0.054 279.5)

  4. Step 300

    300

    #B4BAFE

    oklch(80.9% 0.096 280.1)

  5. Step 400

    400 (this color)

    #878BF4

    oklch(68% 0.153 279.9)

  6. Step 500

    500

    #7674FB

    oklch(63% 0.196 279.8)

  7. Step 600

    600

    #6258EA

    oklch(55.6% 0.212 280)

  8. Step 700

    700

    #5147CC

    oklch(49.1% 0.198 279.6)

  9. Step 800

    800

    #423BA5

    oklch(42.7% 0.165 279.8)

  10. Step 900

    900

    #373483

    oklch(37.6% 0.129 279.9)

  11. Step 950

    950

    #20204C

    oklch(27.1% 0.079 279.7)

Export this scale for Tailwind in the Tailwind colors tool

#878BF4 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)#6299F80.052
Deuteranopia (no green cones)#5B91F20.052
Tritanopia (no blue cones)#62A1B40.134
Achromatopsia (no color)#9595950.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #878BF4

    #878BF4

    oklch(68% 0.153 279.9)

  • #AD9900

    #AD9900

    oklch(68% 0.141 100)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #878BF4

    #878BF4

    oklch(68% 0.153 279.9)

  • #419DF2

    #419DF2

    oklch(68% 0.153 249.6)

  • #B57BDE

    #B57BDE

    oklch(68.1% 0.152 309.9)

Open the analogous palette in the generator

Split complementary

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

  • #878BF4

    #878BF4

    oklch(68% 0.153 279.9)

  • #D18500

    #D18500

    oklch(68% 0.147 69.8)

  • #79AA38

    #79AA38

    oklch(68% 0.152 129.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #878BF4

    #878BF4

    oklch(68% 0.153 279.9)

  • #E5734A

    #E5734A

    oklch(68.1% 0.152 40)

  • #08B476

    #08B476

    oklch(68% 0.153 159.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #878BF4

    #878BF4

    oklch(68% 0.153 279.9)

  • #E56B83

    #E56B83

    oklch(68% 0.153 9.8)

  • #AD9900

    #AD9900

    oklch(68% 0.141 100)

  • #00AFA8

    #00AFA8

    oklch(68% 0.118 189.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #878BF4 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.