#2D87BB

Closest named color: Cool Blue (#4984B8). oklch(59.5% 0.115 238.8), rgb(45, 135, 187).

Aa

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

About this color

#2D87BB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 59%, its chroma 0.115 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.021 away. Black text reads best on it, at 5.29:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.115)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.29:1
White text3.96:1

Values

HEX#2D87BB
RGBrgb(45, 135, 187)
HSLhsl(202, 61%, 45%)
OKLCHoklch(59.5% 0.115 238.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 #2D87BB 3.96:1 AA large text Lc -72.2 Content text, not long reading
Black text on #2D87BB 5.29:1 AA Lc 37.4 Non-text elements, placeholder text
#2D87BB text on white 3.96:1 AA large text Lc 66.7 Content text, not long reading
#2D87BB text on black 5.29:1 AA Lc -35.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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E0ECF4

    oklch(93.6% 0.017 236.7)

  3. Step 200

    200

    #C7DDEC

    oklch(88.6% 0.031 237.6)

  4. Step 300

    300

    #A0C6E1

    oklch(80.8% 0.056 239.3)

  5. Step 400

    400

    #69A9D3

    oklch(70.8% 0.09 238.6)

  6. Step 500

    500 (this color)

    #2D87BB

    oklch(59.5% 0.115 238.8)

  7. Step 600

    600

    #017CB4

    oklch(55.7% 0.125 238.7)

  8. Step 700

    700

    #006898

    oklch(49.2% 0.11 238.7)

  9. Step 800

    800

    #00557D

    oklch(42.7% 0.096 238.5)

  10. Step 900

    900

    #114665

    oklch(37.6% 0.075 239.6)

  11. Step 950

    950

    #0D293B

    oklch(26.9% 0.047 240.1)

Export this scale for Tailwind in the Tailwind colors tool

#2D87BB 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)#6E87BD0.061
Deuteranopia (no green cones)#5B7ABA0.050
Tritanopia (no blue cones)#0094990.076
Achromatopsia (no color)#8080800.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D87BB

    #2D87BB

    oklch(59.5% 0.115 238.8)

  • #B06C30

    #B06C30

    oklch(59.5% 0.114 59)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D87BB

    #2D87BB

    oklch(59.5% 0.115 238.8)

  • #008F9F

    #008F9F

    oklch(59.5% 0.102 208.6)

  • #627BC3

    #627BC3

    oklch(59.5% 0.114 268.3)

Open the analogous palette in the generator

Split complementary

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

  • #2D87BB

    #2D87BB

    oklch(59.5% 0.115 238.8)

  • #B96256

    #B96256

    oklch(59.5% 0.114 29.1)

  • #9A7A17

    #9A7A17

    oklch(59.4% 0.115 88.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D87BB

    #2D87BB

    oklch(59.5% 0.115 238.8)

  • #B45F7D

    #B45F7D

    oklch(59.3% 0.115 358.7)

  • #78882F

    #78882F

    oklch(59.5% 0.115 118.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D87BB

    #2D87BB

    oklch(59.5% 0.115 238.8)

  • #A464A0

    #A464A0

    oklch(59.5% 0.115 329.1)

  • #B06C30

    #B06C30

    oklch(59.5% 0.114 59)

  • #489157

    #489157

    oklch(59.4% 0.114 148.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2D87BB 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.