#2887E3

Closest named color: Dark Sky Blue (#448EE4). oklch(61.6% 0.163 251.9), rgb(40, 135, 227).

Aa

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

About this color

#2887E3 is a medium-dark, vivid blue. In OKLCH its lightness is 62%, its chroma 0.163 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Sky Blue (#448EE4), ΔE 0.029 away. Black text reads best on it, at 5.66:1.

Hue familyBlues
Lightnessmedium-dark (62%)
Chromavivid (0.163)
Temperaturecool
Nearest nameDark Sky Blue (#448EE4)
Black text5.66:1
White text3.70:1

Values

HEX#2887E3
RGBrgb(40, 135, 227)
HSLhsl(210, 77%, 52%)
OKLCHoklch(61.6% 0.163 251.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 #2887E3 3.70:1 AA large text Lc -69.6 Content text, not long reading
Black text on #2887E3 5.66:1 AA Lc 39.9 Non-text elements, placeholder text
#2887E3 text on white 3.70:1 AA large text Lc 64.1 Content text, not long reading
#2887E3 text on black 5.66:1 AA Lc -37.5 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

    #F0F6FD

    oklch(97.1% 0.011 252.1)

  2. Step 100

    100

    #DFEBF9

    oklch(93.5% 0.023 252.2)

  3. Step 200

    200

    #C5DCF6

    oklch(88.6% 0.044 251.5)

  4. Step 300

    300

    #9BC5F3

    oklch(81% 0.079 251.1)

  5. Step 400

    400

    #62A5EE

    oklch(70.8% 0.128 251.9)

  6. Step 500

    500 (this color)

    #2887E3

    oklch(61.6% 0.163 251.9)

  7. Step 600

    600

    #0074D0

    oklch(55.6% 0.166 251.9)

  8. Step 700

    700

    #0061B0

    oklch(49% 0.147 252)

  9. Step 800

    800

    #004F92

    oklch(42.6% 0.129 252.3)

  10. Step 900

    900

    #084278

    oklch(37.7% 0.107 252.4)

  11. Step 950

    950

    #092746

    oklch(26.9% 0.068 252.4)

Export this scale for Tailwind in the Tailwind colors tool

#2887E3 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)#598EE70.045
Deuteranopia (no green cones)#397DE10.026
Tritanopia (no blue cones)#009DAA0.120
Achromatopsia (no color)#8585850.163

Harmonies

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

Complementary

The opposite hue (180°).

  • #2887E3

    #2887E3

    oklch(61.6% 0.163 251.9)

  • #B57600

    #B57600

    oklch(61.7% 0.132 72.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2887E3

    #2887E3

    oklch(61.6% 0.163 251.9)

  • #0093B6

    #0093B6

    oklch(61.5% 0.114 222.5)

  • #7874E3

    #7874E3

    oklch(61.6% 0.163 282.1)

Open the analogous palette in the generator

Split complementary

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

  • #2887E3

    #2887E3

    oklch(61.6% 0.163 251.9)

  • #D35C27

    #D35C27

    oklch(61.7% 0.164 42)

  • #958700

    #958700

    oklch(61.7% 0.129 102.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2887E3

    #2887E3

    oklch(61.6% 0.163 251.9)

  • #D4536B

    #D4536B

    oklch(61.7% 0.163 11.9)

  • #5E9816

    #5E9816

    oklch(61.6% 0.163 132)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2887E3

    #2887E3

    oklch(61.6% 0.163 251.9)

  • #C457A0

    #C457A0

    oklch(61.6% 0.163 342.1)

  • #B57600

    #B57600

    oklch(61.7% 0.132 72.3)

  • #009D6B

    #009D6B

    oklch(61.5% 0.135 161.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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