#2887BA

Closest named color: Blue NCS (#118AB2). oklch(59.3% 0.115 237.4), rgb(40, 135, 186).

Aa

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

About this color

#2887BA is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.115 and its hue 237°. Its hue sits on the cool side of the wheel. The nearest named color is Blue NCS (#118AB2), ΔE 0.019 away. Black text reads best on it, at 5.26:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.26:1
White text3.98:1

Values

HEX#2887BA
RGBrgb(40, 135, 186)
HSLhsl(201, 65%, 44%)
OKLCHoklch(59.3% 0.115 237.4)

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 #2887BA 3.98:1 AA large text Lc -72.3 Content text, not long reading
Black text on #2887BA 5.26:1 AA Lc 37.3 Non-text elements, placeholder text
#2887BA text on white 3.98:1 AA large text Lc 66.8 Content text, not long reading
#2887BA text on black 5.26:1 AA Lc -34.8 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 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

    #C8DCEA

    oklch(88.4% 0.029 238.3)

  4. Step 300

    300

    #A2C6DF

    oklch(80.9% 0.052 238.6)

  5. Step 400

    400

    #6DA9CE

    oklch(70.8% 0.083 236.7)

  6. Step 500

    500

    #4192C2

    oklch(63% 0.107 237.9)

  7. Step 600

    600 (this color)

    #2887BA

    oklch(59.3% 0.115 237.4)

  8. Step 700

    700

    #026896

    oklch(49.1% 0.108 237.7)

  9. Step 800

    800

    #0C5579

    oklch(42.7% 0.088 237.2)

  10. Step 900

    900

    #164662

    oklch(37.6% 0.07 238.5)

  11. Step 950

    950

    #0F2939

    oklch(26.9% 0.044 238.4)

Export this scale for Tailwind in the Tailwind colors tool

#2887BA 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)#6F87BC0.065
Deuteranopia (no green cones)#5B79B90.053
Tritanopia (no blue cones)#0094990.074
Achromatopsia (no color)#7F7F7F0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #2887BA

    #2887BA

    oklch(59.3% 0.115 237.4)

  • #B16B30

    #B16B30

    oklch(59.4% 0.116 57.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2887BA

    #2887BA

    oklch(59.3% 0.115 237.4)

  • #008F9D

    #008F9D

    oklch(59.4% 0.102 206.9)

  • #607BC3

    #607BC3

    oklch(59.4% 0.115 267.3)

Open the analogous palette in the generator

Split complementary

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

  • #2887BA

    #2887BA

    oklch(59.3% 0.115 237.4)

  • #B96157

    #B96157

    oklch(59.4% 0.115 27.8)

  • #9B7915

    #9B7915

    oklch(59.3% 0.115 87.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2887BA

    #2887BA

    oklch(59.3% 0.115 237.4)

  • #B45F7E

    #B45F7E

    oklch(59.4% 0.115 358)

  • #79872C

    #79872C

    oklch(59.4% 0.116 117.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2887BA

    #2887BA

    oklch(59.3% 0.115 237.4)

  • #A264A1

    #A264A1

    oklch(59.3% 0.115 327.5)

  • #B16B30

    #B16B30

    oklch(59.4% 0.116 57.7)

  • #499055

    #499055

    oklch(59.2% 0.114 147.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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