#2D87CB

Closest named color: Water Blue (#0E87CC). oklch(60.3% 0.133 245.8), rgb(45, 135, 203).

Aa

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

About this color

#2D87CB is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.133 and its hue 246°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.012 away. Black text reads best on it, at 5.43:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.133)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.43:1
White text3.86:1

Values

HEX#2D87CB
RGBrgb(45, 135, 203)
HSLhsl(206, 64%, 49%)
OKLCHoklch(60.3% 0.133 245.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 #2D87CB 3.86:1 AA large text Lc -71.2 Content text, not long reading
Black text on #2D87CB 5.43:1 AA Lc 38.4 Non-text elements, placeholder text
#2D87CB text on white 3.86:1 AA large text Lc 65.7 Content text, not long reading
#2D87CB text on black 5.43:1 AA Lc -36.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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0EBF6

    oklch(93.5% 0.019 248)

  3. Step 200

    200

    #C6DCF0

    oklch(88.4% 0.036 245.7)

  4. Step 300

    300

    #9EC6E9

    oklch(81% 0.065 245.1)

  5. Step 400

    400

    #67A7DD

    oklch(70.7% 0.103 245.4)

  6. Step 500

    500 (this color)

    #2D87CB

    oklch(60.3% 0.133 245.8)

  7. Step 600

    600

    #0078C0

    oklch(55.5% 0.142 245.8)

  8. Step 700

    700

    #0065A3

    oklch(49.1% 0.126 245.9)

  9. Step 800

    800

    #005386

    oklch(42.8% 0.108 245.3)

  10. Step 900

    900

    #0F456C

    oklch(37.8% 0.086 245.4)

  11. Step 950

    950

    #0C293F

    oklch(27.1% 0.054 244.7)

Export this scale for Tailwind in the Tailwind colors tool

#2D87CB 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)#678ACE0.054
Deuteranopia (no green cones)#517BCA0.040
Tritanopia (no blue cones)#0097A00.093
Achromatopsia (no color)#8282820.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D87CB

    #2D87CB

    oklch(60.3% 0.133 245.8)

  • #B66E07

    #B66E07

    oklch(60.4% 0.133 65.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D87CB

    #2D87CB

    oklch(60.3% 0.133 245.8)

  • #0091AA

    #0091AA

    oklch(60.5% 0.107 215.6)

  • #6C78CF

    #6C78CF

    oklch(60.3% 0.132 275.8)

Open the analogous palette in the generator

Split complementary

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

  • #2D87CB

    #2D87CB

    oklch(60.3% 0.133 245.8)

  • #C36046

    #C36046

    oklch(60.3% 0.133 35.7)

  • #988000

    #988000

    oklch(60.4% 0.124 95.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D87CB

    #2D87CB

    oklch(60.3% 0.133 245.8)

  • #C15B75

    #C15B75

    oklch(60.3% 0.133 5.9)

  • #6E8F29

    #6E8F29

    oklch(60.5% 0.133 125.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D87CB

    #2D87CB

    oklch(60.3% 0.133 245.8)

  • #B1609F

    #B1609F

    oklch(60.4% 0.131 336)

  • #B66E07

    #B66E07

    oklch(60.4% 0.133 65.6)

  • #27985E

    #27985E

    oklch(60.3% 0.133 155.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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