#2F7EF4

Closest named color: Clear Blue (#247AFD). oklch(61% 0.193 258.8), rgb(47, 126, 244).

Aa

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

About this color

#2F7EF4 is a medium-dark, vivid blue. In OKLCH its lightness is 61%, its chroma 0.193 and its hue 259°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.019 away. Black text reads best on it, at 5.41:1.

Hue familyBlues
Lightnessmedium-dark (61%)
Chromavivid (0.193)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text5.41:1
White text3.88:1

Values

HEX#2F7EF4
RGBrgb(47, 126, 244)
HSLhsl(216, 90%, 57%)
OKLCHoklch(61% 0.193 258.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 #2F7EF4 3.88:1 AA large text Lc -71.2 Content text, not long reading
Black text on #2F7EF4 5.41:1 AA Lc 38.4 Non-text elements, placeholder text
#2F7EF4 text on white 3.88:1 AA large text Lc 65.7 Content text, not long reading
#2F7EF4 text on black 5.41: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

    #F0F6FE

    oklch(97.1% 0.012 255.5)

  2. Step 100

    100

    #DFEBFD

    oklch(93.6% 0.028 258.4)

  3. Step 200

    200

    #C5DBFC

    oklch(88.6% 0.051 258.4)

  4. Step 300

    300

    #9CC2FE

    oklch(80.9% 0.095 259.4)

  5. Step 400

    400

    #64A0FD

    oklch(70.7% 0.151 258.9)

  6. Step 500

    500 (this color)

    #2F7EF4

    oklch(61% 0.193 258.8)

  7. Step 600

    600

    #066BEB

    oklch(55.7% 0.21 258.7)

  8. Step 700

    700

    #0059C9

    oklch(49.2% 0.189 258.8)

  9. Step 800

    800

    #0349A5

    oklch(42.8% 0.161 258.8)

  10. Step 900

    900

    #0F3E83

    oklch(37.7% 0.126 258.9)

  11. Step 950

    950

    #0B254D

    oklch(27% 0.081 259)

Export this scale for Tailwind in the Tailwind colors tool

#2F7EF4 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)#378BF80.035
Deuteranopia (no green cones)#0079F20.023
Tritanopia (no blue cones)#009BAD0.149
Achromatopsia (no color)#8181810.193

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7EF4

    #2F7EF4

    oklch(61% 0.193 258.8)

  • #AC7800

    #AC7800

    oklch(61% 0.127 78.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7EF4

    #2F7EF4

    oklch(61% 0.193 258.8)

  • #0090BC

    #0090BC

    oklch(61.1% 0.12 228.6)

  • #8368ED

    #8368ED

    oklch(61% 0.192 288.7)

Open the analogous palette in the generator

Split complementary

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

  • #2F7EF4

    #2F7EF4

    oklch(61% 0.193 258.8)

  • #CE5D00

    #CE5D00

    oklch(60.9% 0.165 48.6)

  • #8A8800

    #8A8800

    oklch(60.9% 0.132 108.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7EF4

    #2F7EF4

    oklch(61% 0.193 258.8)

  • #DF4153

    #DF4153

    oklch(61% 0.194 18.9)

  • #399C00

    #399C00

    oklch(61% 0.191 138.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7EF4

    #2F7EF4

    oklch(61% 0.193 258.8)

  • #D14596

    #D14596

    oklch(61% 0.193 348.6)

  • #AC7800

    #AC7800

    oklch(61% 0.127 78.4)

  • #009A76

    #009A76

    oklch(61% 0.122 168.8)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2F7EF4.

Similar named colors

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

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