#2F87AA

Closest named color: Blue NCS (#118AB2). oklch(58.7% 0.097 228.6), rgb(47, 135, 170).

Aa

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

About this color

#2F87AA is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 59%, its chroma 0.097 and its hue 229°. Its hue sits on the cool side of the wheel. The nearest named color is Blue NCS (#118AB2), ΔE 0.016 away. Black text reads best on it, at 5.16:1.

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

Values

HEX#2F87AA
RGBrgb(47, 135, 170)
HSLhsl(197, 57%, 43%)
OKLCHoklch(58.7% 0.097 228.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 #2F87AA 4.06:1 AA large text Lc -73.0 Content text, not long reading
Black text on #2F87AA 5.16:1 AA Lc 36.5 Non-text elements, placeholder text
#2F87AA text on white 4.06:1 AA large text Lc 67.5 Content text, not long reading
#2F87AA text on black 5.16:1 AA Lc -34.1 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

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  2. Step 100

    100

    #E2ECF1

    oklch(93.7% 0.013 228.9)

  3. Step 200

    200

    #C9DDE6

    oklch(88.5% 0.025 226.5)

  4. Step 300

    300

    #A4C7D7

    oklch(80.9% 0.044 227.3)

  5. Step 400

    400

    #71AAC3

    oklch(70.8% 0.07 227.4)

  6. Step 500

    500

    #4894B4

    oklch(63.1% 0.089 228.2)

  7. Step 600

    600 (this color)

    #2F87AA

    oklch(58.7% 0.097 228.6)

  8. Step 700

    700

    #136A89

    oklch(49.1% 0.09 228.3)

  9. Step 800

    800

    #15566F

    oklch(42.6% 0.075 228.8)

  10. Step 900

    900

    #1A475A

    oklch(37.6% 0.058 229.1)

  11. Step 950

    950

    #112A35

    oklch(27.1% 0.037 229)

Export this scale for Tailwind in the Tailwind colors tool

#2F87AA 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)#7585AC0.070
Deuteranopia (no green cones)#6479AA0.060
Tritanopia (no blue cones)#0091930.056
Achromatopsia (no color)#7E7E7E0.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F87AA

    #2F87AA

    oklch(58.7% 0.097 228.6)

  • #AB6A46

    #AB6A46

    oklch(58.7% 0.098 49)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F87AA

    #2F87AA

    oklch(58.7% 0.097 228.6)

  • #0F8D92

    #0F8D92

    oklch(58.6% 0.097 199.4)

  • #587DB6

    #587DB6

    oklch(58.7% 0.098 258.8)

Open the analogous palette in the generator

Split complementary

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

  • #2F87AA

    #2F87AA

    oklch(58.7% 0.097 228.6)

  • #AF6366

    #AF6366

    oklch(58.7% 0.098 18)

  • #9C7531

    #9C7531

    oklch(58.8% 0.098 78.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F87AA

    #2F87AA

    oklch(58.7% 0.097 228.6)

  • #A76386

    #A76386

    oklch(58.6% 0.098 348.4)

  • #818136

    #818136

    oklch(58.7% 0.098 109.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F87AA

    #2F87AA

    oklch(58.7% 0.097 228.6)

  • #9569A1

    #9569A1

    oklch(58.7% 0.097 318.9)

  • #AB6A46

    #AB6A46

    oklch(58.7% 0.098 49)

  • #5E8A50

    #5E8A50

    oklch(58.6% 0.098 138.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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