#2F78C2

Closest named color: Windows Blue (#3778BF). oklch(56.4% 0.135 251.8), rgb(47, 120, 194).

Aa

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

About this color

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

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

Values

HEX#2F78C2
RGBrgb(47, 120, 194)
HSLhsl(210, 61%, 47%)
OKLCHoklch(56.4% 0.135 251.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 #2F78C2 4.57:1 AA Lc -76.9 Fine for body text
Black text on #2F78C2 4.58:1 AA Lc 32.6 Non-text elements, placeholder text
#2F78C2 text on white 4.57:1 AA Lc 71.4 Content text, not long reading
#2F78C2 text on black 4.58:1 AA Lc -30.2 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

    #E2EBF6

    oklch(93.7% 0.018 253.3)

  3. Step 200

    200

    #C9DBEF

    oklch(88.4% 0.034 251)

  4. Step 300

    300

    #A5C4E7

    oklch(80.9% 0.06 251.7)

  5. Step 400

    400

    #73A5DC

    oklch(70.8% 0.097 251.6)

  6. Step 500

    500

    #4C8DD2

    oklch(63.1% 0.124 251.6)

  7. Step 600

    600 (this color)

    #2F78C2

    oklch(56.4% 0.135 251.8)

  8. Step 700

    700

    #1E62A5

    oklch(49% 0.126 251.9)

  9. Step 800

    800

    #1C5186

    oklch(42.8% 0.104 251.6)

  10. Step 900

    900

    #1D436B

    oklch(37.6% 0.081 251.9)

  11. Step 950

    950

    #12283F

    oklch(27.1% 0.051 251.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F78C2 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)#557DC50.039
Deuteranopia (no green cones)#3F6FC10.026
Tritanopia (no blue cones)#008A930.103
Achromatopsia (no color)#7575750.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F78C2

    #2F78C2

    oklch(56.4% 0.135 251.8)

  • #A16800

    #A16800

    oklch(56.5% 0.121 71.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F78C2

    #2F78C2

    oklch(56.4% 0.135 251.8)

  • #0083A1

    #0083A1

    oklch(56.5% 0.104 221.4)

  • #6A69C2

    #6A69C2

    oklch(56.4% 0.135 281.7)

Open the analogous palette in the generator

Split complementary

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

  • #2F78C2

    #2F78C2

    oklch(56.4% 0.135 251.8)

  • #B5562E

    #B5562E

    oklch(56.4% 0.135 42.1)

  • #847700

    #847700

    oklch(56.4% 0.118 101.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F78C2

    #2F78C2

    oklch(56.4% 0.135 251.8)

  • #B64E61

    #B64E61

    oklch(56.3% 0.136 11.2)

  • #578525

    #578525

    oklch(56.3% 0.135 131.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F78C2

    #2F78C2

    oklch(56.4% 0.135 251.8)

  • #A9518C

    #A9518C

    oklch(56.3% 0.136 341.6)

  • #A16800

    #A16800

    oklch(56.5% 0.121 71.9)

  • #008B5E

    #008B5E

    oklch(56.3% 0.124 161.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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