#2F7CBD

Closest named color: Windows Blue (#3778BF). oklch(57% 0.125 247.8), rgb(47, 124, 189).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.125)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.73:1
White text4.43:1

Values

HEX#2F7CBD
RGBrgb(47, 124, 189)
HSLhsl(207, 60%, 46%)
OKLCHoklch(57% 0.125 247.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 #2F7CBD 4.43:1 AA large text Lc -75.9 Fine for body text
Black text on #2F7CBD 4.73:1 AA Lc 33.7 Non-text elements, placeholder text
#2F7CBD text on white 4.43:1 AA large text Lc 70.4 Content text, not long reading
#2F7CBD text on black 4.73:1 AA Lc -31.3 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E2EBF4

    oklch(93.6% 0.016 248)

  3. Step 200

    200

    #C9DCED

    oklch(88.6% 0.031 245.1)

  4. Step 300

    300

    #A4C5E4

    oklch(81% 0.057 246.9)

  5. Step 400

    400

    #72A6D6

    oklch(70.7% 0.09 247.2)

  6. Step 500

    500

    #4B8FCB

    oklch(63.2% 0.114 247.4)

  7. Step 600

    600 (this color)

    #2F7CBD

    oklch(57% 0.125 247.8)

  8. Step 700

    700

    #1C649F

    oklch(49% 0.117 248.2)

  9. Step 800

    800

    #1A5281

    oklch(42.7% 0.097 248)

  10. Step 900

    900

    #1C4467

    oklch(37.6% 0.075 247.8)

  11. Step 950

    950

    #12283C

    oklch(26.9% 0.047 247.8)

Export this scale for Tailwind in the Tailwind colors tool

#2F7CBD 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)#5E7FC00.046
Deuteranopia (no green cones)#4A72BC0.033
Tritanopia (no blue cones)#008C940.091
Achromatopsia (no color)#7878780.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7CBD

    #2F7CBD

    oklch(57% 0.125 247.8)

  • #A76701

    #A76701

    oklch(57.1% 0.125 67.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7CBD

    #2F7CBD

    oklch(57% 0.125 247.8)

  • #00859F

    #00859F

    oklch(56.9% 0.102 218)

  • #676EC0

    #676EC0

    oklch(57% 0.126 277.9)

Open the analogous palette in the generator

Split complementary

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

  • #2F7CBD

    #2F7CBD

    oklch(57% 0.125 247.8)

  • #B45A3E

    #B45A3E

    oklch(57.1% 0.124 38)

  • #8A7700

    #8A7700

    oklch(57% 0.118 98)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7CBD

    #2F7CBD

    oklch(57% 0.125 247.8)

  • #B3546A

    #B3546A

    oklch(57% 0.125 7.3)

  • #628529

    #628529

    oklch(57.1% 0.126 127.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7CBD

    #2F7CBD

    oklch(57% 0.125 247.8)

  • #A55891

    #A55891

    oklch(57% 0.124 337.7)

  • #A76701

    #A76701

    oklch(57.1% 0.125 67.9)

  • #1C8D5A

    #1C8D5A

    oklch(57% 0.125 157.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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