#0878AC

Closest named color: Nice Blue (#107AB0). oklch(54.4% 0.118 237.9), rgb(8, 120, 172).

Aa

White text reads best on this color (4.89:1).

About this color

#0878AC is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.118 and its hue 238°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.008 away. White text reads best on it, at 4.89:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.29:1
White text4.89:1

Values

HEX#0878AC
RGBrgb(8, 120, 172)
HSLhsl(199, 91%, 35%)
OKLCHoklch(54.4% 0.118 237.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 #0878AC 4.89:1 AA Lc -78.8 Fine for body text
Black text on #0878AC 4.29:1 AA large text Lc 30.7 Non-text elements, placeholder text
#0878AC text on white 4.89:1 AA Lc 73.3 Content text, not long reading
#0878AC text on black 4.29:1 AA large text Lc -28.4 Dividers and decoration only

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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C8DCEB

    oklch(88.4% 0.03 240.2)

  4. Step 300

    300

    #A1C6DF

    oklch(80.8% 0.053 237.9)

  5. Step 400

    400

    #6CA9D0

    oklch(70.8% 0.085 237.7)

  6. Step 500

    500

    #3F92C3

    oklch(63% 0.109 237.9)

  7. Step 600

    600 (this color)

    #0878AC

    oklch(54.4% 0.118 237.9)

  8. Step 700

    700

    #006897

    oklch(49.1% 0.109 238.1)

  9. Step 800

    800

    #08557B

    oklch(42.7% 0.092 238.2)

  10. Step 900

    900

    #144663

    oklch(37.6% 0.072 238.7)

  11. Step 950

    950

    #0E293A

    oklch(26.9% 0.046 239.3)

Export this scale for Tailwind in the Tailwind colors tool

#0878AC 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)#5F78AE0.065
Deuteranopia (no green cones)#4A6BAB0.051
Tritanopia (no blue cones)#00858A0.076
Achromatopsia (no color)#7171710.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #0878AC

    #0878AC

    oklch(54.4% 0.118 237.9)

  • #A25C1A

    #A25C1A

    oklch(54.5% 0.118 58.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0878AC

    #0878AC

    oklch(54.4% 0.118 237.9)

  • #007E8C

    #007E8C

    oklch(54.3% 0.093 208.4)

  • #526BB5

    #526BB5

    oklch(54.3% 0.12 268.2)

Open the analogous palette in the generator

Split complementary

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

  • #0878AC

    #0878AC

    oklch(54.4% 0.118 237.9)

  • #AA5148

    #AA5148

    oklch(54.4% 0.119 27.5)

  • #8B6B00

    #8B6B00

    oklch(54.4% 0.111 87.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0878AC

    #0878AC

    oklch(54.4% 0.118 237.9)

  • #A54F6F

    #A54F6F

    oklch(54.4% 0.119 358.3)

  • #6A7815

    #6A7815

    oklch(54.3% 0.118 117.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0878AC

    #0878AC

    oklch(54.4% 0.118 237.9)

  • #945592

    #945592

    oklch(54.4% 0.117 328.2)

  • #A25C1A

    #A25C1A

    oklch(54.5% 0.118 58.2)

  • #378246

    #378246

    oklch(54.4% 0.118 147.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0878AC 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.