#2C87B8

Closest named color: Blue NCS (#118AB2). oklch(59.3% 0.112 237), rgb(44, 135, 184).

Aa

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

About this color

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

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

Values

HEX#2C87B8
RGBrgb(44, 135, 184)
HSLhsl(201, 61%, 45%)
OKLCHoklch(59.3% 0.112 237)

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 #2C87B8 3.98:1 AA large text Lc -72.4 Content text, not long reading
Black text on #2C87B8 5.26:1 AA Lc 37.2 Non-text elements, placeholder text
#2C87B8 text on white 3.98:1 AA large text Lc 66.9 Content text, not long reading
#2C87B8 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

    #F1F6F9

    oklch(97% 0.007 233.6)

  2. Step 100

    100

    #E1ECF3

    oklch(93.7% 0.015 235.4)

  3. Step 200

    200

    #C9DCEA

    oklch(88.5% 0.028 239.7)

  4. Step 300

    300

    #A3C6DD

    oklch(80.9% 0.05 237)

  5. Step 400

    400

    #6FA8CD

    oklch(70.6% 0.081 237.9)

  6. Step 500

    500

    #4492C0

    oklch(63.1% 0.103 237.4)

  7. Step 600

    600 (this color)

    #2C87B8

    oklch(59.3% 0.112 237)

  8. Step 700

    700

    #0A6894

    oklch(49.1% 0.104 237.2)

  9. Step 800

    800

    #105578

    oklch(42.7% 0.086 237.1)

  10. Step 900

    900

    #184661

    oklch(37.6% 0.068 238.2)

  11. Step 950

    950

    #102939

    oklch(26.9% 0.043 239.2)

Export this scale for Tailwind in the Tailwind colors tool

#2C87B8 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)#7087BA0.065
Deuteranopia (no green cones)#5D79B70.054
Tritanopia (no blue cones)#0094980.073
Achromatopsia (no color)#7F7F7F0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #2C87B8

    #2C87B8

    oklch(59.3% 0.112 237)

  • #B06B34

    #B06B34

    oklch(59.3% 0.112 56.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2C87B8

    #2C87B8

    oklch(59.3% 0.112 237)

  • #008F9D

    #008F9D

    oklch(59.4% 0.102 206.9)

  • #607BC1

    #607BC1

    oklch(59.3% 0.112 267)

Open the analogous palette in the generator

Split complementary

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

  • #2C87B8

    #2C87B8

    oklch(59.3% 0.112 237)

  • #B76259

    #B76259

    oklch(59.3% 0.111 27.2)

  • #9B791C

    #9B791C

    oklch(59.3% 0.112 86.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2C87B8

    #2C87B8

    oklch(59.3% 0.112 237)

  • #B2607F

    #B2607F

    oklch(59.3% 0.112 357)

  • #7A8630

    #7A8630

    oklch(59.2% 0.111 116.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2C87B8

    #2C87B8

    oklch(59.3% 0.112 237)

  • #A165A1

    #A165A1

    oklch(59.3% 0.112 326.9)

  • #B06B34

    #B06B34

    oklch(59.3% 0.112 56.7)

  • #4C9055

    #4C9055

    oklch(59.3% 0.113 146.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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