#2F7ABE

Closest named color: Windows Blue (#3778BF). oklch(56.6% 0.128 249.4), rgb(47, 122, 190).

Aa

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

About this color

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

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

Values

HEX#2F7ABE
RGBrgb(47, 122, 190)
HSLhsl(209, 60%, 46%)
OKLCHoklch(56.6% 0.128 249.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 #2F7ABE 4.51:1 AA Lc -76.5 Fine for body text
Black text on #2F7ABE 4.64:1 AA Lc 33.1 Non-text elements, placeholder text
#2F7ABE text on white 4.51:1 AA Lc 71.0 Content text, not long reading
#2F7ABE text on black 4.64:1 AA Lc -30.7 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

    #F2F6FB

    oklch(97.2% 0.008 253.9)

  2. Step 100

    100

    #E2EBF5

    oklch(93.6% 0.017 250.8)

  3. Step 200

    200

    #CADBEE

    oklch(88.5% 0.032 251.1)

  4. Step 300

    300

    #A5C4E5

    oklch(80.9% 0.058 250.2)

  5. Step 400

    400

    #73A5D8

    oklch(70.7% 0.092 249.7)

  6. Step 500

    500

    #4C8ECE

    oklch(63.1% 0.118 249.6)

  7. Step 600

    600 (this color)

    #2F7ABE

    oklch(56.6% 0.128 249.4)

  8. Step 700

    700

    #1D64A1

    oklch(49.2% 0.119 249.1)

  9. Step 800

    800

    #1B5282

    oklch(42.8% 0.098 248.8)

  10. Step 900

    900

    #1D4469

    oklch(37.8% 0.077 249.6)

  11. Step 950

    950

    #12283D

    oklch(27% 0.048 249)

Export this scale for Tailwind in the Tailwind colors tool

#2F7ABE 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)#5B7EC10.044
Deuteranopia (no green cones)#4670BD0.031
Tritanopia (no blue cones)#008A930.094
Achromatopsia (no color)#7676760.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7ABE

    #2F7ABE

    oklch(56.6% 0.128 249.4)

  • #A46700

    #A46700

    oklch(56.7% 0.123 69.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7ABE

    #2F7ABE

    oklch(56.6% 0.128 249.4)

  • #00849F

    #00849F

    oklch(56.7% 0.102 218.9)

  • #686CC0

    #686CC0

    oklch(56.7% 0.128 279.4)

Open the analogous palette in the generator

Split complementary

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

  • #2F7ABE

    #2F7ABE

    oklch(56.6% 0.128 249.4)

  • #B45838

    #B45838

    oklch(56.7% 0.128 39.5)

  • #877700

    #877700

    oklch(56.7% 0.118 99.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7ABE

    #2F7ABE

    oklch(56.6% 0.128 249.4)

  • #B45266

    #B45266

    oklch(56.7% 0.128 9.3)

  • #5E8428

    #5E8428

    oklch(56.6% 0.127 129.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7ABE

    #2F7ABE

    oklch(56.6% 0.128 249.4)

  • #A6558F

    #A6558F

    oklch(56.6% 0.129 339)

  • #A46700

    #A46700

    oklch(56.7% 0.123 69.5)

  • #058C5A

    #058C5A

    oklch(56.5% 0.128 159.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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