#2F7ED3

Closest named color: Water Blue (#0E87CC). oklch(58.8% 0.151 253.2), rgb(47, 126, 211).

Aa

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

About this color

#2F7ED3 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.151 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is Water Blue (#0E87CC), ΔE 0.030 away. Black text reads best on it, at 5.04:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.151)
Temperaturecool
Nearest nameWater Blue (#0E87CC)
Black text5.04:1
White text4.16:1

Values

HEX#2F7ED3
RGBrgb(47, 126, 211)
HSLhsl(211, 65%, 51%)
OKLCHoklch(58.8% 0.151 253.2)

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 #2F7ED3 4.16:1 AA large text Lc -73.7 Content text, not long reading
Black text on #2F7ED3 5.04:1 AA Lc 35.8 Non-text elements, placeholder text
#2F7ED3 text on white 4.16:1 AA large text Lc 68.2 Content text, not long reading
#2F7ED3 text on black 5.04:1 AA Lc -33.4 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF2

    oklch(88.4% 0.038 253.2)

  4. Step 300

    300

    #A2C4EC

    oklch(80.9% 0.068 252.7)

  5. Step 400

    400

    #6FA4E3

    oklch(70.7% 0.109 253.5)

  6. Step 500

    500

    #468CDB

    oklch(63.2% 0.139 253.2)

  7. Step 600

    600 (this color)

    #2F7ED3

    oklch(58.8% 0.151 253.2)

  8. Step 700

    700

    #1561AD

    oklch(49.1% 0.14 253.2)

  9. Step 800

    800

    #15508C

    oklch(42.8% 0.115 252.8)

  10. Step 900

    900

    #194370

    oklch(37.8% 0.09 252.7)

  11. Step 950

    950

    #102742

    oklch(27% 0.058 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#2F7ED3 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)#5584D60.039
Deuteranopia (no green cones)#3975D10.024
Tritanopia (no blue cones)#00929E0.113
Achromatopsia (no color)#7C7C7C0.151

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7ED3

    #2F7ED3

    oklch(58.8% 0.151 253.2)

  • #A96F00

    #A96F00

    oklch(58.9% 0.125 73.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7ED3

    #2F7ED3

    oklch(58.8% 0.151 253.2)

  • #008AAC

    #008AAC

    oklch(58.8% 0.11 223.2)

  • #736DD2

    #736DD2

    oklch(58.8% 0.15 283.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F7ED3

    #2F7ED3

    oklch(58.8% 0.151 253.2)

  • #C35826

    #C35826

    oklch(58.7% 0.151 43)

  • #8A7F00

    #8A7F00

    oklch(58.8% 0.124 103.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7ED3

    #2F7ED3

    oklch(58.8% 0.151 253.2)

  • #C54F62

    #C54F62

    oklch(58.7% 0.151 13.3)

  • #568F20

    #568F20

    oklch(58.9% 0.152 133.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7ED3

    #2F7ED3

    oklch(58.8% 0.151 253.2)

  • #B75394

    #B75394

    oklch(58.8% 0.15 343)

  • #A96F00

    #A96F00

    oklch(58.9% 0.125 73.1)

  • #009367

    #009367

    oklch(58.7% 0.126 163.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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