#2F7BD3

Closest named color: Windows Blue (#3778BF). oklch(58.1% 0.154 254.6), rgb(47, 123, 211).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.154)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.89:1
White text4.29:1

Values

HEX#2F7BD3
RGBrgb(47, 123, 211)
HSLhsl(212, 65%, 51%)
OKLCHoklch(58.1% 0.154 254.6)

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 #2F7BD3 4.29:1 AA large text Lc -74.7 Content text, not long reading
Black text on #2F7BD3 4.89:1 AA Lc 34.8 Non-text elements, placeholder text
#2F7BD3 text on white 4.29:1 AA large text Lc 69.3 Content text, not long reading
#2F7BD3 text on black 4.89:1 AA Lc -32.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

    #C8DBF3

    oklch(88.5% 0.039 254.3)

  4. Step 300

    300

    #A3C3ED

    oklch(80.8% 0.069 255.4)

  5. Step 400

    400

    #6FA3E5

    oklch(70.6% 0.112 254.9)

  6. Step 500

    500

    #478BDD

    oklch(63.1% 0.142 254.5)

  7. Step 600

    600 (this color)

    #2F7BD3

    oklch(58.1% 0.154 254.6)

  8. Step 700

    700

    #1860AF

    oklch(49.1% 0.143 254.6)

  9. Step 800

    800

    #174F8E

    oklch(42.7% 0.119 254.5)

  10. Step 900

    900

    #1A4271

    oklch(37.7% 0.092 254.4)

  11. Step 950

    950

    #112742

    oklch(27% 0.058 254.7)

Export this scale for Tailwind in the Tailwind colors tool

#2F7BD3 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)#5082D60.036
Deuteranopia (no green cones)#3273D10.021
Tritanopia (no blue cones)#00909D0.116
Achromatopsia (no color)#7A7A7A0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7BD3

    #2F7BD3

    oklch(58.1% 0.154 254.6)

  • #A56E00

    #A56E00

    oklch(58.2% 0.123 74.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7BD3

    #2F7BD3

    oklch(58.1% 0.154 254.6)

  • #0088AB

    #0088AB

    oklch(58.2% 0.11 224.2)

  • #736AD1

    #736AD1

    oklch(58.2% 0.153 284.5)

Open the analogous palette in the generator

Split complementary

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

  • #2F7BD3

    #2F7BD3

    oklch(58.1% 0.154 254.6)

  • #C2561B

    #C2561B

    oklch(58.2% 0.154 44.7)

  • #877E00

    #877E00

    oklch(58.3% 0.123 104.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7BD3

    #2F7BD3

    oklch(58.1% 0.154 254.6)

  • #C44C5D

    #C44C5D

    oklch(58.1% 0.154 14.8)

  • #508D1E

    #508D1E

    oklch(58% 0.153 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7BD3

    #2F7BD3

    oklch(58.1% 0.154 254.6)

  • #B74F90

    #B74F90

    oklch(58.1% 0.154 344.5)

  • #A56E00

    #A56E00

    oklch(58.2% 0.123 74.5)

  • #009168

    #009168

    oklch(58.2% 0.123 164.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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