#2F87A8

Closest named color: Blue NCS (#118AB2). oklch(58.6% 0.096 227.1), rgb(47, 135, 168).

Aa

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

About this color

#2F87A8 is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 59%, its chroma 0.096 and its hue 227°. 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.15:1.

Hue familyTeals and cyans
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.096)
Temperaturecool
Nearest nameBlue NCS (#118AB2)
Black text5.15:1
White text4.07:1

Values

HEX#2F87A8
RGBrgb(47, 135, 168)
HSLhsl(196, 56%, 42%)
OKLCHoklch(58.6% 0.096 227.1)

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 #2F87A8 4.07:1 AA large text Lc -73.2 Content text, not long reading
Black text on #2F87A8 5.15:1 AA Lc 36.4 Non-text elements, placeholder text
#2F87A8 text on white 4.07:1 AA large text Lc 67.6 Content text, not long reading
#2F87A8 text on black 5.15:1 AA Lc -34.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 600.

  1. Step 50

    50

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2ECF0

    oklch(93.7% 0.012 223.5)

  3. Step 200

    200

    #CADDE6

    oklch(88.6% 0.024 227.8)

  4. Step 300

    300

    #A4C7D6

    oklch(80.9% 0.043 225.7)

  5. Step 400

    400

    #71AAC2

    oklch(70.7% 0.069 226.4)

  6. Step 500

    500

    #4894B3

    oklch(63.1% 0.088 227.4)

  7. Step 600

    600 (this color)

    #2F87A8

    oklch(58.6% 0.096 227.1)

  8. Step 700

    700

    #136A88

    oklch(49.1% 0.089 227.5)

  9. Step 800

    800

    #15576E

    oklch(42.8% 0.073 226.3)

  10. Step 900

    900

    #1A4859

    oklch(37.8% 0.057 225.8)

  11. Step 950

    950

    #112A34

    oklch(27% 0.036 226.6)

Export this scale for Tailwind in the Tailwind colors tool

#2F87A8 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)#7584AA0.070
Deuteranopia (no green cones)#6578A80.063
Tritanopia (no blue cones)#0091920.054
Achromatopsia (no color)#7E7E7E0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F87A8

    #2F87A8

    oklch(58.6% 0.096 227.1)

  • #AA6949

    #AA6949

    oklch(58.5% 0.095 46.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F87A8

    #2F87A8

    oklch(58.6% 0.096 227.1)

  • #158D90

    #158D90

    oklch(58.6% 0.096 197.6)

  • #567DB4

    #567DB4

    oklch(58.5% 0.096 257.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F87A8

    #2F87A8

    oklch(58.6% 0.096 227.1)

  • #AD6367

    #AD6367

    oklch(58.4% 0.096 17)

  • #9C7433

    #9C7433

    oklch(58.6% 0.096 77)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F87A8

    #2F87A8

    oklch(58.6% 0.096 227.1)

  • #A56487

    #A56487

    oklch(58.6% 0.095 346.9)

  • #828036

    #828036

    oklch(58.6% 0.096 107.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F87A8

    #2F87A8

    oklch(58.6% 0.096 227.1)

  • #936AA2

    #936AA2

    oklch(58.7% 0.095 316.7)

  • #AA6949

    #AA6949

    oklch(58.5% 0.095 46.5)

  • #608950

    #608950

    oklch(58.5% 0.095 137.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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