#2FA7EC

Closest named color: Chefchaouen Blue (#4895EF). oklch(69.5% 0.143 239.8), rgb(47, 167, 236).

Aa

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

About this color

#2FA7EC is a medium-light, vivid blue. In OKLCH its lightness is 70%, its chroma 0.143 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Chefchaouen Blue (#4895EF), ΔE 0.050 away. Black text reads best on it, at 7.85:1.

Hue familyBlues
Lightnessmedium-light (70%)
Chromavivid (0.143)
Temperaturecool
Nearest nameChefchaouen Blue (#4895EF)
Black text7.85:1
White text2.67:1

Values

HEX#2FA7EC
RGBrgb(47, 167, 236)
HSLhsl(202, 83%, 55%)
OKLCHoklch(69.5% 0.143 239.8)

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 #2FA7EC 2.67:1 Fails Lc -56.7 Large or bold text, headings
Black text on #2FA7EC 7.85:1 AAA Lc 52.5 Large or bold text, headings
#2FA7EC text on white 2.67:1 Fails Lc 51.5 Large or bold text, headings
#2FA7EC text on black 7.85:1 AAA Lc -50.4 Large or bold text, headings

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 400.

  1. Step 50

    50

    #EFF7FD

    oklch(97.2% 0.012 239.9)

  2. Step 100

    100

    #DBEDFA

    oklch(93.7% 0.026 239.1)

  3. Step 200

    200

    #BCDEF7

    oklch(88.4% 0.05 240)

  4. Step 300

    300

    #8AC9F5

    oklch(80.9% 0.09 239.8)

  5. Step 400

    400 (this color)

    #2FA7EC

    oklch(69.5% 0.143 239.8)

  6. Step 500

    500

    #0093D7

    oklch(63.2% 0.144 239.7)

  7. Step 600

    600

    #007BB5

    oklch(55.6% 0.127 239.8)

  8. Step 700

    700

    #006799

    oklch(49% 0.112 240)

  9. Step 800

    800

    #00557E

    oklch(42.8% 0.097 239.2)

  10. Step 900

    900

    #00466A

    oklch(37.6% 0.086 240.1)

  11. Step 950

    950

    #002A41

    oklch(27.1% 0.061 239)

Export this scale for Tailwind in the Tailwind colors tool

#2FA7EC 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)#86A8EF0.074
Deuteranopia (no green cones)#6D97EB0.058
Tritanopia (no blue cones)#00B8BF0.094
Achromatopsia (no color)#9E9E9E0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #2FA7EC

    #2FA7EC

    oklch(69.5% 0.143 239.8)

  • #DC8530

    #DC8530

    oklch(69.5% 0.143 60.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2FA7EC

    #2FA7EC

    oklch(69.5% 0.143 239.8)

  • #00B1C6

    #00B1C6

    oklch(69.6% 0.12 209.7)

  • #7A97F6

    #7A97F6

    oklch(69.6% 0.144 269.6)

Open the analogous palette in the generator

Split complementary

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

  • #2FA7EC

    #2FA7EC

    oklch(69.5% 0.143 239.8)

  • #E87766

    #E87766

    oklch(69.5% 0.143 30)

  • #BF9700

    #BF9700

    oklch(69.4% 0.142 89.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2FA7EC

    #2FA7EC

    oklch(69.5% 0.143 239.8)

  • #E3749A

    #E3749A

    oklch(69.6% 0.143 359.8)

  • #92A933

    #92A933

    oklch(69.5% 0.143 119.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2FA7EC

    #2FA7EC

    oklch(69.5% 0.143 239.8)

  • #CE7AC7

    #CE7AC7

    oklch(69.6% 0.143 330)

  • #DC8530

    #DC8530

    oklch(69.5% 0.143 60.3)

  • #51B56B

    #51B56B

    oklch(69.5% 0.143 149.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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