#2887DE

Closest named color: Dark Sky Blue (#448EE4). oklch(61.3% 0.157 250.8), rgb(40, 135, 222).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.157)
Temperaturecool
Nearest nameDark Sky Blue (#448EE4)
Black text5.61:1
White text3.74:1

Values

HEX#2887DE
RGBrgb(40, 135, 222)
HSLhsl(209, 73%, 51%)
OKLCHoklch(61.3% 0.157 250.8)

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 #2887DE 3.74:1 AA large text Lc -70.0 Content text, not long reading
Black text on #2887DE 5.61:1 AA Lc 39.6 Non-text elements, placeholder text
#2887DE text on white 3.74:1 AA large text Lc 64.5 Content text, not long reading
#2887DE text on black 5.61:1 AA Lc -37.2 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

    #F0F6FC

    oklch(97% 0.01 247.9)

  2. Step 100

    100

    #DFEBF9

    oklch(93.5% 0.023 252.2)

  3. Step 200

    200

    #C5DCF5

    oklch(88.5% 0.042 250.5)

  4. Step 300

    300

    #9CC5F1

    oklch(81% 0.076 250.6)

  5. Step 400

    400

    #62A5EA

    oklch(70.6% 0.123 250.6)

  6. Step 500

    500 (this color)

    #2887DE

    oklch(61.3% 0.157 250.8)

  7. Step 600

    600

    #0075CD

    oklch(55.6% 0.161 250.9)

  8. Step 700

    700

    #0062AD

    oklch(49.1% 0.142 250.8)

  9. Step 800

    800

    #00508F

    oklch(42.6% 0.123 250.8)

  10. Step 900

    900

    #084375

    oklch(37.7% 0.102 250.5)

  11. Step 950

    950

    #092845

    oklch(27.1% 0.065 250.4)

Export this scale for Tailwind in the Tailwind colors tool

#2887DE 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)#5D8DE10.048
Deuteranopia (no green cones)#3F7DDC0.028
Tritanopia (no blue cones)#009CA80.115
Achromatopsia (no color)#8484840.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #2887DE

    #2887DE

    oklch(61.3% 0.157 250.8)

  • #B57400

    #B57400

    oklch(61.3% 0.132 70.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2887DE

    #2887DE

    oklch(61.3% 0.157 250.8)

  • #0093B3

    #0093B3

    oklch(61.4% 0.112 220.5)

  • #7575DF

    #7575DF

    oklch(61.3% 0.157 280.7)

Open the analogous palette in the generator

Split complementary

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

  • #2887DE

    #2887DE

    oklch(61.3% 0.157 250.8)

  • #CF5D2F

    #CF5D2F

    oklch(61.3% 0.156 41)

  • #958500

    #958500

    oklch(61.2% 0.128 100.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2887DE

    #2887DE

    oklch(61.3% 0.157 250.8)

  • #D0546D

    #D0546D

    oklch(61.3% 0.158 10.7)

  • #62961A

    #62961A

    oklch(61.4% 0.157 130.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2887DE

    #2887DE

    oklch(61.3% 0.157 250.8)

  • #C059A0

    #C059A0

    oklch(61.4% 0.156 340.9)

  • #B57400

    #B57400

    oklch(61.3% 0.132 70.8)

  • #009D68

    #009D68

    oklch(61.4% 0.138 160.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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