#2887DC

Closest named color: Water Blue (#0E87CC). oklch(61.2% 0.155 250.2), rgb(40, 135, 220).

Aa

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

About this color

#2887DC is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.155 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.027 away. Black text reads best on it, at 5.58:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.155)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.58:1
White text3.75:1

Values

HEX#2887DC
RGBrgb(40, 135, 220)
HSLhsl(208, 72%, 51%)
OKLCHoklch(61.2% 0.155 250.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 #2887DC 3.75:1 AA large text Lc -70.1 Content text, not long reading
Black text on #2887DC 5.58:1 AA Lc 39.4 Non-text elements, placeholder text
#2887DC text on white 3.75:1 AA large text Lc 64.6 Content text, not long reading
#2887DC text on black 5.58:1 AA Lc -37.0 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #DFEBF8

    oklch(93.5% 0.022 250.2)

  3. Step 200

    200

    #C5DCF5

    oklch(88.5% 0.042 250.5)

  4. Step 300

    300

    #9CC5F0

    oklch(80.9% 0.075 250)

  5. Step 400

    400

    #63A5E9

    oklch(70.6% 0.121 250.6)

  6. Step 500

    500 (this color)

    #2887DC

    oklch(61.2% 0.155 250.2)

  7. Step 600

    600

    #0075CB

    oklch(55.5% 0.159 250.4)

  8. Step 700

    700

    #0063AC

    oklch(49.2% 0.139 250)

  9. Step 800

    800

    #00508E

    oklch(42.6% 0.122 250.5)

  10. Step 900

    900

    #094374

    oklch(37.6% 0.1 250.2)

  11. Step 950

    950

    #092844

    oklch(27.1% 0.063 249.6)

Export this scale for Tailwind in the Tailwind colors tool

#2887DC 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)#5E8CDF0.047
Deuteranopia (no green cones)#417CDA0.031
Tritanopia (no blue cones)#009BA70.112
Achromatopsia (no color)#8484840.155

Harmonies

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

Complementary

The opposite hue (180°).

  • #2887DC

    #2887DC

    oklch(61.2% 0.155 250.2)

  • #B57300

    #B57300

    oklch(61.1% 0.132 70.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2887DC

    #2887DC

    oklch(61.2% 0.155 250.2)

  • #0092B2

    #0092B2

    oklch(61.1% 0.112 220.6)

  • #7475DE

    #7475DE

    oklch(61.2% 0.156 280.3)

Open the analogous palette in the generator

Split complementary

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

  • #2887DC

    #2887DC

    oklch(61.2% 0.155 250.2)

  • #CE5D32

    #CE5D32

    oklch(61.2% 0.154 40.3)

  • #968500

    #968500

    oklch(61.3% 0.128 100.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2887DC

    #2887DC

    oklch(61.2% 0.155 250.2)

  • #CE556E

    #CE556E

    oklch(61.2% 0.154 10.1)

  • #63951B

    #63951B

    oklch(61.2% 0.155 130.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2887DC

    #2887DC

    oklch(61.2% 0.155 250.2)

  • #BE59A0

    #BE59A0

    oklch(61.1% 0.155 340.1)

  • #B57300

    #B57300

    oklch(61.1% 0.132 70.1)

  • #009C67

    #009C67

    oklch(61.1% 0.137 160.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2887DC 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.