#2878BE

Closest named color: Windows Blue (#3778BF). oklch(56% 0.133 249.2), rgb(40, 120, 190).

Aa

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

About this color

#2878BE is a medium-dark, moderately saturated blue. In OKLCH its lightness is 56%, its chroma 0.133 and its hue 249°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.010 away. White text reads best on it, at 4.64:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.52:1
White text4.64:1

Values

HEX#2878BE
RGBrgb(40, 120, 190)
HSLhsl(208, 65%, 45%)
OKLCHoklch(56% 0.133 249.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 #2878BE 4.64:1 AA Lc -77.3 Fine for body text
Black text on #2878BE 4.52:1 AA Lc 32.2 Non-text elements, placeholder text
#2878BE text on white 4.64:1 AA Lc 71.9 Content text, not long reading
#2878BE text on black 4.52:1 AA Lc -29.8 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

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C9DBEF

    oklch(88.4% 0.034 251)

  4. Step 300

    300

    #A4C4E6

    oklch(80.8% 0.059 250.1)

  5. Step 400

    400

    #71A5DA

    oklch(70.6% 0.096 249.8)

  6. Step 500

    500

    #498ED0

    oklch(63.1% 0.122 249.4)

  7. Step 600

    600 (this color)

    #2878BE

    oklch(56% 0.133 249.2)

  8. Step 700

    700

    #1864A3

    oklch(49.2% 0.123 249)

  9. Step 800

    800

    #185284

    oklch(42.8% 0.101 248.9)

  10. Step 900

    900

    #1B446A

    oklch(37.7% 0.08 249.3)

  11. Step 950

    950

    #11283E

    oklch(27% 0.05 249.3)

Export this scale for Tailwind in the Tailwind colors tool

#2878BE 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)#577CC10.045
Deuteranopia (no green cones)#406EBD0.030
Tritanopia (no blue cones)#0089920.097
Achromatopsia (no color)#7474740.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #2878BE

    #2878BE

    oklch(56% 0.133 249.2)

  • #A16500

    #A16500

    oklch(55.9% 0.122 69.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2878BE

    #2878BE

    oklch(56% 0.133 249.2)

  • #00829D

    #00829D

    oklch(56.1% 0.102 219.2)

  • #6569C0

    #6569C0

    oklch(55.9% 0.133 279.2)

Open the analogous palette in the generator

Split complementary

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

  • #2878BE

    #2878BE

    oklch(56% 0.133 249.2)

  • #B35434

    #B35434

    oklch(55.9% 0.132 38.9)

  • #857500

    #857500

    oklch(56% 0.116 99.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2878BE

    #2878BE

    oklch(56% 0.133 249.2)

  • #B34E64

    #B34E64

    oklch(55.9% 0.133 8.8)

  • #5B8320

    #5B8320

    oklch(56% 0.133 129.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2878BE

    #2878BE

    oklch(56% 0.133 249.2)

  • #A5528E

    #A5528E

    oklch(56% 0.132 338.9)

  • #A16500

    #A16500

    oklch(55.9% 0.122 69.5)

  • #008A58

    #008A58

    oklch(55.9% 0.128 159.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2878BE 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.