#2F87C7

Closest named color: Water Blue (#0E87CC). oklch(60.2% 0.127 244.6), rgb(47, 135, 199).

Aa

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

About this color

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

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

Values

HEX#2F87C7
RGBrgb(47, 135, 199)
HSLhsl(205, 62%, 48%)
OKLCHoklch(60.2% 0.127 244.6)

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 #2F87C7 3.88:1 AA large text Lc -71.4 Content text, not long reading
Black text on #2F87C7 5.41:1 AA Lc 38.2 Non-text elements, placeholder text
#2F87C7 text on white 3.88:1 AA large text Lc 65.9 Content text, not long reading
#2F87C7 text on black 5.41:1 AA Lc -35.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 500.

  1. Step 50

    50

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E0EBF5

    oklch(93.5% 0.018 245.4)

  3. Step 200

    200

    #C7DCEF

    oklch(88.5% 0.035 245.5)

  4. Step 300

    300

    #9FC6E7

    oklch(81% 0.063 244.2)

  5. Step 400

    400

    #68A7DB

    oklch(70.7% 0.1 244.8)

  6. Step 500

    500 (this color)

    #2F87C7

    oklch(60.2% 0.127 244.6)

  7. Step 600

    600

    #0179BE

    oklch(55.6% 0.139 244.7)

  8. Step 700

    700

    #0066A1

    oklch(49.2% 0.123 244.5)

  9. Step 800

    800

    #005385

    oklch(42.7% 0.107 244.8)

  10. Step 900

    900

    #10456A

    oklch(37.6% 0.083 244.4)

  11. Step 950

    950

    #0C293E

    oklch(27.1% 0.052 243.5)

Export this scale for Tailwind in the Tailwind colors tool

#2F87C7 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)#6989CA0.055
Deuteranopia (no green cones)#547BC60.041
Tritanopia (no blue cones)#00979E0.090
Achromatopsia (no color)#8181810.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F87C7

    #2F87C7

    oklch(60.2% 0.127 244.6)

  • #B46E18

    #B46E18

    oklch(60.2% 0.127 64.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F87C7

    #2F87C7

    oklch(60.2% 0.127 244.6)

  • #0090A8

    #0090A8

    oklch(60.1% 0.106 215)

  • #6B79CC

    #6B79CC

    oklch(60.2% 0.127 274.7)

Open the analogous palette in the generator

Split complementary

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

  • #2F87C7

    #2F87C7

    oklch(60.2% 0.127 244.6)

  • #C0614A

    #C0614A

    oklch(60.1% 0.127 34.7)

  • #987F00

    #987F00

    oklch(60.2% 0.124 95.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F87C7

    #2F87C7

    oklch(60.2% 0.127 244.6)

  • #BE5D77

    #BE5D77

    oklch(60.2% 0.127 4.7)

  • #708D2C

    #708D2C

    oklch(60.1% 0.127 124.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F87C7

    #2F87C7

    oklch(60.2% 0.127 244.6)

  • #AE619F

    #AE619F

    oklch(60.1% 0.127 334.7)

  • #B46E18

    #B46E18

    oklch(60.2% 0.127 64.6)

  • #31965D

    #31965D

    oklch(60% 0.127 154.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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