#2F87CA

Closest named color: Water Blue (#0E87CC). oklch(60.3% 0.131 245.7), rgb(47, 135, 202).

Aa

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

About this color

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

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

Values

HEX#2F87CA
RGBrgb(47, 135, 202)
HSLhsl(206, 62%, 49%)
OKLCHoklch(60.3% 0.131 245.7)

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 #2F87CA 3.86:1 AA large text Lc -71.2 Content text, not long reading
Black text on #2F87CA 5.43:1 AA Lc 38.4 Non-text elements, placeholder text
#2F87CA text on white 3.86:1 AA large text Lc 65.7 Content text, not long reading
#2F87CA 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

    #C7DCF0

    oklch(88.5% 0.036 246.9)

  4. Step 300

    300

    #9FC6E8

    oklch(81% 0.064 245)

  5. Step 400

    400

    #68A7DD

    oklch(70.7% 0.103 245.8)

  6. Step 500

    500 (this color)

    #2F87CA

    oklch(60.3% 0.131 245.7)

  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

    #10456C

    oklch(37.8% 0.086 245.7)

  11. Step 950

    950

    #0C293F

    oklch(27.1% 0.054 244.7)

Export this scale for Tailwind in the Tailwind colors tool

#2F87CA 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)#688ACD0.054
Deuteranopia (no green cones)#527BC90.040
Tritanopia (no blue cones)#00979F0.093
Achromatopsia (no color)#8282820.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F87CA

    #2F87CA

    oklch(60.3% 0.131 245.7)

  • #B56E0D

    #B56E0D

    oklch(60.2% 0.131 65.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F87CA

    #2F87CA

    oklch(60.3% 0.131 245.7)

  • #0090AA

    #0090AA

    oklch(60.2% 0.107 216.5)

  • #6C78CE

    #6C78CE

    oklch(60.2% 0.131 275.7)

Open the analogous palette in the generator

Split complementary

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

  • #2F87CA

    #2F87CA

    oklch(60.3% 0.131 245.7)

  • #C26147

    #C26147

    oklch(60.3% 0.131 36)

  • #988000

    #988000

    oklch(60.4% 0.124 95.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F87CA

    #2F87CA

    oklch(60.3% 0.131 245.7)

  • #C05C75

    #C05C75

    oklch(60.3% 0.13 6)

  • #6E8E2B

    #6E8E2B

    oklch(60.2% 0.13 125.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F87CA

    #2F87CA

    oklch(60.3% 0.131 245.7)

  • #B1609F

    #B1609F

    oklch(60.4% 0.131 336)

  • #B56E0D

    #B56E0D

    oklch(60.2% 0.131 65.5)

  • #2A985F

    #2A985F

    oklch(60.4% 0.131 155.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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