#2F7EC7

Closest named color: Windows Blue (#3778BF). oklch(58.1% 0.136 250), rgb(47, 126, 199).

Aa

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

About this color

#2F7EC7 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 58%, its chroma 0.136 and its hue 250°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.018 away. Black text reads best on it, at 4.92:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.136)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.92:1
White text4.25:1

Values

HEX#2F7EC7
RGBrgb(47, 126, 199)
HSLhsl(209, 62%, 48%)
OKLCHoklch(58.1% 0.136 250)

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 #2F7EC7 4.25:1 AA large text Lc -74.6 Content text, not long reading
Black text on #2F7EC7 4.92:1 AA Lc 35.0 Non-text elements, placeholder text
#2F7EC7 text on white 4.25:1 AA large text Lc 69.1 Content text, not long reading
#2F7EC7 text on black 4.92:1 AA Lc -32.6 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C9DBEF

    oklch(88.4% 0.034 251)

  4. Step 300

    300

    #A3C4E7

    oklch(80.8% 0.061 250.1)

  5. Step 400

    400

    #70A5DB

    oklch(70.6% 0.098 249.8)

  6. Step 500

    500

    #488ED2

    oklch(63.2% 0.125 249.8)

  7. Step 600

    600 (this color)

    #2F7EC7

    oklch(58.1% 0.136 250)

  8. Step 700

    700

    #1763A5

    oklch(49.1% 0.127 250.1)

  9. Step 800

    800

    #175185

    oklch(42.6% 0.104 249.9)

  10. Step 900

    900

    #1B446B

    oklch(37.8% 0.081 249.9)

  11. Step 950

    950

    #11283F

    oklch(27.1% 0.052 250.3)

Export this scale for Tailwind in the Tailwind colors tool

#2F7EC7 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)#5C82CA0.044
Deuteranopia (no green cones)#4574C60.030
Tritanopia (no blue cones)#008F990.099
Achromatopsia (no color)#7B7B7B0.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7EC7

    #2F7EC7

    oklch(58.1% 0.136 250)

  • #A96B00

    #A96B00

    oklch(58.1% 0.126 70.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7EC7

    #2F7EC7

    oklch(58.1% 0.136 250)

  • #0088A6

    #0088A6

    oklch(58% 0.106 220.6)

  • #6C6FC9

    #6C6FC9

    oklch(58.1% 0.136 279.8)

Open the analogous palette in the generator

Split complementary

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

  • #2F7EC7

    #2F7EC7

    oklch(58.1% 0.136 250)

  • #BC5A37

    #BC5A37

    oklch(58.1% 0.136 39.8)

  • #8C7B00

    #8C7B00

    oklch(58.1% 0.121 99.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7EC7

    #2F7EC7

    oklch(58.1% 0.136 250)

  • #BC5368

    #BC5368

    oklch(58.1% 0.136 9.9)

  • #5F8A26

    #5F8A26

    oklch(58.2% 0.136 130.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7EC7

    #2F7EC7

    oklch(58.1% 0.136 250)

  • #AE5794

    #AE5794

    oklch(58.2% 0.136 339.9)

  • #A96B00

    #A96B00

    oklch(58.1% 0.126 70.1)

  • #00915F

    #00915F

    oklch(58% 0.131 160.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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