#2F7CCC

Closest named color: Windows Blue (#3778BF). oklch(57.9% 0.144 252.4), rgb(47, 124, 204).

Aa

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

About this color

#2F7CCC is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.144 and its hue 252°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.021 away. Black text reads best on it, at 4.87:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.144)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.87:1
White text4.30:1

Values

HEX#2F7CCC
RGBrgb(47, 124, 204)
HSLhsl(211, 63%, 49%)
OKLCHoklch(57.9% 0.144 252.4)

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 #2F7CCC 4.30:1 AA large text Lc -74.9 Content text, not long reading
Black text on #2F7CCC 4.87:1 AA Lc 34.7 Non-text elements, placeholder text
#2F7CCC text on white 4.30:1 AA large text Lc 69.4 Content text, not long reading
#2F7CCC text on black 4.87:1 AA Lc -32.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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C9DBF1

    oklch(88.5% 0.036 253.5)

  4. Step 300

    300

    #A3C4EA

    oklch(80.9% 0.065 252.2)

  5. Step 400

    400

    #70A4E0

    oklch(70.6% 0.104 252.8)

  6. Step 500

    500

    #488CD7

    oklch(63% 0.133 252.6)

  7. Step 600

    600 (this color)

    #2F7CCC

    oklch(57.9% 0.144 252.4)

  8. Step 700

    700

    #1962AA

    oklch(49.2% 0.134 252.5)

  9. Step 800

    800

    #185089

    oklch(42.7% 0.11 252.4)

  10. Step 900

    900

    #1B436E

    oklch(37.7% 0.086 252.5)

  11. Step 950

    950

    #112740

    oklch(26.9% 0.055 253.1)

Export this scale for Tailwind in the Tailwind colors tool

#2F7CCC 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)#5682CF0.040
Deuteranopia (no green cones)#3D73CA0.024
Tritanopia (no blue cones)#008F9A0.108
Achromatopsia (no color)#7A7A7A0.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7CCC

    #2F7CCC

    oklch(57.9% 0.144 252.4)

  • #A66C00

    #A66C00

    oklch(57.9% 0.124 72.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7CCC

    #2F7CCC

    oklch(57.9% 0.144 252.4)

  • #0087A8

    #0087A8

    oklch(57.9% 0.108 223)

  • #6F6CCC

    #6F6CCC

    oklch(58% 0.144 282.3)

Open the analogous palette in the generator

Split complementary

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

  • #2F7CCC

    #2F7CCC

    oklch(57.9% 0.144 252.4)

  • #BE582B

    #BE582B

    oklch(58% 0.144 42.5)

  • #887C00

    #887C00

    oklch(57.9% 0.122 102.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7CCC

    #2F7CCC

    oklch(57.9% 0.144 252.4)

  • #BF5062

    #BF5062

    oklch(57.9% 0.143 12.8)

  • #588B22

    #588B22

    oklch(58% 0.144 132.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7CCC

    #2F7CCC

    oklch(57.9% 0.144 252.4)

  • #B25391

    #B25391

    oklch(58% 0.144 342.7)

  • #A66C00

    #A66C00

    oklch(57.9% 0.124 72.4)

  • #009163

    #009163

    oklch(58% 0.127 162.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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