#2F87BF

Closest named color: Cool Blue (#4984B8). oklch(59.7% 0.118 241.1), rgb(47, 135, 191).

Aa

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

About this color

#2F87BF is a medium-dark, moderately saturated blue. In OKLCH its lightness is 60%, its chroma 0.118 and its hue 241°. Its hue sits on the cool side of the wheel. The nearest named color is Cool Blue (#4984B8), ΔE 0.021 away. Black text reads best on it, at 5.33:1.

Hue familyBlues
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameCool Blue (#4984B8)
Black text5.33:1
White text3.93:1

Values

HEX#2F87BF
RGBrgb(47, 135, 191)
HSLhsl(203, 61%, 47%)
OKLCHoklch(59.7% 0.118 241.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 #2F87BF 3.93:1 AA large text Lc -71.9 Content text, not long reading
Black text on #2F87BF 5.33:1 AA Lc 37.7 Non-text elements, placeholder text
#2F87BF text on white 3.93:1 AA large text Lc 66.4 Content text, not long reading
#2F87BF text on black 5.33:1 AA Lc -35.3 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E0ECF4

    oklch(93.6% 0.017 236.7)

  3. Step 200

    200

    #C7DCED

    oklch(88.4% 0.033 242.4)

  4. Step 300

    300

    #A0C6E3

    oklch(80.9% 0.058 241.3)

  5. Step 400

    400

    #69A8D5

    oklch(70.7% 0.093 240.9)

  6. Step 500

    500 (this color)

    #2F87BF

    oklch(59.7% 0.118 241.1)

  7. Step 600

    600

    #057BB7

    oklch(55.7% 0.128 240.9)

  8. Step 700

    700

    #00679B

    oklch(49.1% 0.115 241)

  9. Step 800

    800

    #025480

    oklch(42.7% 0.1 241.6)

  10. Step 900

    900

    #114666

    oklch(37.7% 0.077 240.5)

  11. Step 950

    950

    #0D293C

    oklch(27% 0.049 241.5)

Export this scale for Tailwind in the Tailwind colors tool

#2F87BF 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)#6D88C10.059
Deuteranopia (no green cones)#597ABE0.047
Tritanopia (no blue cones)#00959B0.080
Achromatopsia (no color)#8080800.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F87BF

    #2F87BF

    oklch(59.7% 0.118 241.1)

  • #B16D2A

    #B16D2A

    oklch(59.7% 0.118 61.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F87BF

    #2F87BF

    oklch(59.7% 0.118 241.1)

  • #008FA2

    #008FA2

    oklch(59.6% 0.104 211.1)

  • #667AC6

    #667AC6

    oklch(59.8% 0.118 271.3)

Open the analogous palette in the generator

Split complementary

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

  • #2F87BF

    #2F87BF

    oklch(59.7% 0.118 241.1)

  • #BB6252

    #BB6252

    oklch(59.7% 0.118 31.4)

  • #9A7C0F

    #9A7C0F

    oklch(59.8% 0.118 91.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F87BF

    #2F87BF

    oklch(59.7% 0.118 241.1)

  • #B85F7B

    #B85F7B

    oklch(59.8% 0.118 1.3)

  • #758A2F

    #758A2F

    oklch(59.8% 0.119 121.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F87BF

    #2F87BF

    oklch(59.7% 0.118 241.1)

  • #A763A0

    #A763A0

    oklch(59.6% 0.119 330.7)

  • #B16D2A

    #B16D2A

    oklch(59.7% 0.118 61.3)

  • #41935A

    #41935A

    oklch(59.7% 0.118 151.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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