#2876C4

Closest named color: Windows Blue (#3778BF). oklch(55.9% 0.142 252), rgb(40, 118, 196).

Aa

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

About this color

#2876C4 is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.142 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.015 away. White text reads best on it, at 4.68:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.142)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.47:1
White text4.68:1

Values

HEX#2876C4
RGBrgb(40, 118, 196)
HSLhsl(210, 66%, 46%)
OKLCHoklch(55.9% 0.142 252)

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 #2876C4 4.68:1 AA Lc -77.6 Fine for body text
Black text on #2876C4 4.47:1 AA large text Lc 31.9 Non-text elements, placeholder text
#2876C4 text on white 4.68:1 AA Lc 72.1 Content text, not long reading
#2876C4 text on black 4.47:1 AA large text Lc -29.5 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C9DBF1

    oklch(88.5% 0.036 253.5)

  4. Step 300

    300

    #A3C4E9

    oklch(80.9% 0.064 251.5)

  5. Step 400

    400

    #70A4DF

    oklch(70.6% 0.103 252.4)

  6. Step 500

    500

    #488DD6

    oklch(63.2% 0.131 251.8)

  7. Step 600

    600 (this color)

    #2876C4

    oklch(55.9% 0.142 252)

  8. Step 700

    700

    #1962A9

    oklch(49.1% 0.133 252.2)

  9. Step 800

    800

    #185088

    oklch(42.6% 0.109 252.1)

  10. Step 900

    900

    #1B436D

    oklch(37.7% 0.085 252)

  11. Step 950

    950

    #112840

    oklch(27.1% 0.054 251.3)

Export this scale for Tailwind in the Tailwind colors tool

#2876C4 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)#507BC70.039
Deuteranopia (no green cones)#376DC20.025
Tritanopia (no blue cones)#0089930.107
Achromatopsia (no color)#7474740.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #2876C4

    #2876C4

    oklch(55.9% 0.142 252)

  • #9E6600

    #9E6600

    oklch(55.7% 0.119 71.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2876C4

    #2876C4

    oklch(55.9% 0.142 252)

  • #00819F

    #00819F

    oklch(55.9% 0.103 221.7)

  • #6966C4

    #6966C4

    oklch(55.9% 0.142 282.2)

Open the analogous palette in the generator

Split complementary

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

  • #2876C4

    #2876C4

    oklch(55.9% 0.142 252)

  • #B65226

    #B65226

    oklch(55.9% 0.142 42.3)

  • #827600

    #827600

    oklch(55.9% 0.117 102.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2876C4

    #2876C4

    oklch(55.9% 0.142 252)

  • #B74A5E

    #B74A5E

    oklch(55.8% 0.142 11.7)

  • #53841B

    #53841B

    oklch(55.8% 0.142 132)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2876C4

    #2876C4

    oklch(55.9% 0.142 252)

  • #AA4D8B

    #AA4D8B

    oklch(55.8% 0.143 342.1)

  • #9E6600

    #9E6600

    oklch(55.7% 0.119 71.9)

  • #008A5D

    #008A5D

    oklch(56% 0.123 161.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2876C4 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.