#2771F1

Closest named color: Cerulean Blue (#056EEE). oklch(57.9% 0.206 260.7), rgb(39, 113, 241).

Aa

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

About this color

#2771F1 is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.206 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.016 away. Black text reads best on it, at 4.71:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.206)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.71:1
White text4.45:1

Values

HEX#2771F1
RGBrgb(39, 113, 241)
HSLhsl(218, 88%, 55%)
OKLCHoklch(57.9% 0.206 260.7)

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 #2771F1 4.45:1 AA large text Lc -75.7 Fine for body text
Black text on #2771F1 4.71:1 AA Lc 33.9 Non-text elements, placeholder text
#2771F1 text on white 4.45:1 AA large text Lc 70.2 Content text, not long reading
#2771F1 text on black 4.71:1 AA Lc -31.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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E0EBFC

    oklch(93.7% 0.026 259)

  3. Step 200

    200

    #C6DAFC

    oklch(88.4% 0.052 261.1)

  4. Step 300

    300

    #9FC2FD

    oklch(81% 0.092 260.7)

  5. Step 400

    400

    #699FFC

    oklch(70.6% 0.148 260.7)

  6. Step 500

    500

    #4084FA

    oklch(63.2% 0.189 260.6)

  7. Step 600

    600 (this color)

    #2771F1

    oklch(57.9% 0.206 260.7)

  8. Step 700

    700

    #1257CB

    oklch(49.2% 0.192 260.8)

  9. Step 800

    800

    #1248A4

    oklch(42.7% 0.159 260.7)

  10. Step 900

    900

    #163D82

    oklch(37.6% 0.125 260.9)

  11. Step 950

    950

    #0E254C

    oklch(27.1% 0.078 260.3)

Export this scale for Tailwind in the Tailwind colors tool

#2771F1 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)#0081F60.039
Deuteranopia (no green cones)#006FEF0.015
Tritanopia (no blue cones)#0091A60.159
Achromatopsia (no color)#7777770.206

Harmonies

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

Complementary

The opposite hue (180°).

  • #2771F1

    #2771F1

    oklch(57.9% 0.206 260.7)

  • #9E7100

    #9E7100

    oklch(57.9% 0.12 80.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2771F1

    #2771F1

    oklch(57.9% 0.206 260.7)

  • #0085B2

    #0085B2

    oklch(57.8% 0.117 231.1)

  • #7F59E8

    #7F59E8

    oklch(58% 0.206 290.8)

Open the analogous palette in the generator

Split complementary

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

  • #2771F1

    #2771F1

    oklch(57.9% 0.206 260.7)

  • #BE5900

    #BE5900

    oklch(57.9% 0.152 50.5)

  • #7E8000

    #7E8000

    oklch(57.9% 0.127 110.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2771F1

    #2771F1

    oklch(57.9% 0.206 260.7)

  • #D92C42

    #D92C42

    oklch(57.9% 0.206 20.5)

  • #249300

    #249300

    oklch(57.9% 0.189 140.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2771F1

    #2771F1

    oklch(57.9% 0.206 260.7)

  • #CC3089

    #CC3089

    oklch(57.9% 0.206 350.8)

  • #9E7100

    #9E7100

    oklch(57.9% 0.12 80.8)

  • #008F71

    #008F71

    oklch(57.9% 0.113 171.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2771F1 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.