#2F8CF8

Closest named color: Dodger Blue (#1E90FF). oklch(64.2% 0.182 255.1), rgb(47, 140, 248).

Aa

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

About this color

#2F8CF8 is a medium-light, vivid blue. In OKLCH its lightness is 64%, its chroma 0.182 and its hue 255°. Its hue sits on the cool side of the wheel. The nearest named color is Dodger Blue (#1E90FF), ΔE 0.014 away. Black text reads best on it, at 6.22:1.

Hue familyBlues
Lightnessmedium-light (64%)
Chromavivid (0.182)
Temperaturecool
Nearest nameDodger Blue (#1E90FF)
Black text6.22:1
White text3.37:1

Values

HEX#2F8CF8
RGBrgb(47, 140, 248)
HSLhsl(212, 93%, 58%)
OKLCHoklch(64.2% 0.182 255.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 #2F8CF8 3.37:1 AA large text Lc -66.1 Content text, not long reading
Black text on #2F8CF8 6.22:1 AA Lc 43.4 Non-text elements, placeholder text
#2F8CF8 text on white 3.37:1 AA large text Lc 60.7 Content text, not long reading
#2F8CF8 text on black 6.22:1 AA Lc -41.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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFB

    oklch(93.6% 0.025 255.6)

  3. Step 200

    200

    #C4DBFA

    oklch(88.4% 0.05 255.9)

  4. Step 300

    300

    #9AC4FA

    oklch(81% 0.089 255)

  5. Step 400

    400

    #5FA3F7

    oklch(70.7% 0.142 254.7)

  6. Step 500

    500 (this color)

    #2F8CF8

    oklch(64.2% 0.182 255.1)

  7. Step 600

    600

    #0071DB

    oklch(55.7% 0.183 255)

  8. Step 700

    700

    #005EB9

    oklch(49% 0.162 255.1)

  9. Step 800

    800

    #004D99

    oklch(42.7% 0.14 255)

  10. Step 900

    900

    #06407F

    oklch(37.7% 0.12 255.4)

  11. Step 950

    950

    #08264A

    oklch(26.9% 0.075 255.4)

Export this scale for Tailwind in the Tailwind colors tool

#2F8CF8 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)#5495FC0.039
Deuteranopia (no green cones)#2983F60.024
Tritanopia (no blue cones)#00A6B60.138
Achromatopsia (no color)#8C8C8C0.182

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F8CF8

    #2F8CF8

    oklch(64.2% 0.182 255.1)

  • #BC7F00

    #BC7F00

    oklch(64.3% 0.135 75.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F8CF8

    #2F8CF8

    oklch(64.2% 0.182 255.1)

  • #009BC4

    #009BC4

    oklch(64.2% 0.122 225.2)

  • #8577F5

    #8577F5

    oklch(64.3% 0.182 285.1)

Open the analogous palette in the generator

Split complementary

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

  • #2F8CF8

    #2F8CF8

    oklch(64.2% 0.182 255.1)

  • #E25F03

    #E25F03

    oklch(64.2% 0.182 45.3)

  • #9A9000

    #9A9000

    oklch(64.2% 0.136 104.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F8CF8

    #2F8CF8

    oklch(64.2% 0.182 255.1)

  • #E55268

    #E55268

    oklch(64.2% 0.182 15.1)

  • #57A311

    #57A311

    oklch(64.1% 0.182 134.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F8CF8

    #2F8CF8

    oklch(64.2% 0.182 255.1)

  • #D656A6

    #D656A6

    oklch(64.3% 0.183 345)

  • #BC7F00

    #BC7F00

    oklch(64.3% 0.135 75.2)

  • #00A678

    #00A678

    oklch(64.2% 0.135 165)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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