#2771F8

Closest named color: Cerulean Blue (#056EEE). oklch(58.4% 0.215 261.3), rgb(39, 113, 248).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.215)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.80:1
White text4.37:1

Values

HEX#2771F8
RGBrgb(39, 113, 248)
HSLhsl(219, 94%, 56%)
OKLCHoklch(58.4% 0.215 261.3)

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 #2771F8 4.37:1 AA large text Lc -75.1 Fine for body text
Black text on #2771F8 4.80:1 AA Lc 34.5 Non-text elements, placeholder text
#2771F8 text on white 4.37:1 AA large text Lc 69.6 Content text, not long reading
#2771F8 text on black 4.80:1 AA Lc -32.1 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

    #E0EBFD

    oklch(93.7% 0.027 260.3)

  3. Step 200

    200

    #C6DAFD

    oklch(88.5% 0.053 261.7)

  4. Step 300

    300

    #9EC1FF

    oklch(80.8% 0.096 261.6)

  5. Step 400

    400

    #699FFF

    oklch(70.8% 0.152 261.1)

  6. Step 500

    500

    #3F82FF

    oklch(63.1% 0.198 261.5)

  7. Step 600

    600 (this color)

    #2771F8

    oklch(58.4% 0.215 261.3)

  8. Step 700

    700

    #1055CF

    oklch(49.1% 0.2 261.3)

  9. Step 800

    800

    #1147A7

    oklch(42.8% 0.164 261.1)

  10. Step 900

    900

    #153D85

    oklch(37.8% 0.129 261.1)

  11. Step 950

    950

    #0E244E

    oklch(27% 0.082 261.8)

Export this scale for Tailwind in the Tailwind colors tool

#2771F8 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)#0083FD0.043
Deuteranopia (no green cones)#0070F50.015
Tritanopia (no blue cones)#0093AA0.165
Achromatopsia (no color)#7979790.215

Harmonies

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

Complementary

The opposite hue (180°).

  • #2771F8

    #2771F8

    oklch(58.4% 0.215 261.3)

  • #A07300

    #A07300

    oklch(58.6% 0.121 81.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2771F8

    #2771F8

    oklch(58.4% 0.215 261.3)

  • #0087B5

    #0087B5

    oklch(58.5% 0.118 231.3)

  • #8257EE

    #8257EE

    oklch(58.4% 0.216 291.4)

Open the analogous palette in the generator

Split complementary

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

  • #2771F8

    #2771F8

    oklch(58.4% 0.215 261.3)

  • #BF5B00

    #BF5B00

    oklch(58.4% 0.152 51.3)

  • #7F8200

    #7F8200

    oklch(58.4% 0.129 111.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2771F8

    #2771F8

    oklch(58.4% 0.215 261.3)

  • #DE263E

    #DE263E

    oklch(58.3% 0.215 21.3)

  • #1D9500

    #1D9500

    oklch(58.4% 0.193 141.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2771F8

    #2771F8

    oklch(58.4% 0.215 261.3)

  • #D12B8A

    #D12B8A

    oklch(58.4% 0.215 351.3)

  • #A07300

    #A07300

    oklch(58.6% 0.121 81.3)

  • #009173

    #009173

    oklch(58.5% 0.114 171.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2771F8.

Similar named colors

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

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