#2771A8

Closest named color: Flat Blue (#3C73A8). oklch(53% 0.112 245), rgb(39, 113, 168).

Aa

White text reads best on this color (5.23:1).

About this color

#2771A8 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.112 and its hue 245°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.018 away. White text reads best on it, at 5.23:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.112)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.01:1
White text5.23:1

Values

HEX#2771A8
RGBrgb(39, 113, 168)
HSLhsl(206, 62%, 41%)
OKLCHoklch(53% 0.112 245)

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 #2771A8 5.23:1 AA Lc -81.0 Fine for body text
Black text on #2771A8 4.01:1 AA large text Lc 28.5 Dividers and decoration only
#2771A8 text on white 5.23:1 AA Lc 75.6 Fine for body text
#2771A8 text on black 4.01:1 AA large text Lc -26.1 Dividers and decoration only

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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E2EBF3

    oklch(93.6% 0.015 244.7)

  3. Step 200

    200

    #CADCEB

    oklch(88.6% 0.028 243.1)

  4. Step 300

    300

    #A6C5E0

    oklch(81% 0.051 244.8)

  5. Step 400

    400

    #75A6D0

    oklch(70.6% 0.081 245.2)

  6. Step 500

    500

    #4F8FC4

    oklch(63% 0.104 245.5)

  7. Step 600

    600 (this color)

    #2771A8

    oklch(53% 0.112 245)

  8. Step 700

    700

    #226598

    oklch(49% 0.105 245.6)

  9. Step 800

    800

    #1E537B

    oklch(42.7% 0.087 244.9)

  10. Step 900

    900

    #1F4563

    oklch(37.8% 0.067 244.8)

  11. Step 950

    950

    #13283A

    oklch(26.9% 0.043 246.2)

Export this scale for Tailwind in the Tailwind colors tool

#2771A8 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)#5873AA0.048
Deuteranopia (no green cones)#4567A70.035
Tritanopia (no blue cones)#007E850.078
Achromatopsia (no color)#6C6C6C0.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #2771A8

    #2771A8

    oklch(53% 0.112 245)

  • #975C12

    #975C12

    oklch(53% 0.112 65.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2771A8

    #2771A8

    oklch(53% 0.112 245)

  • #00798D

    #00798D

    oklch(53% 0.093 214.5)

  • #5965AC

    #5965AC

    oklch(53% 0.112 274.7)

Open the analogous palette in the generator

Split complementary

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

  • #2771A8

    #2771A8

    oklch(53% 0.112 245)

  • #A2513D

    #A2513D

    oklch(53% 0.112 35)

  • #806A00

    #806A00

    oklch(53% 0.109 94.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2771A8

    #2771A8

    oklch(53% 0.112 245)

  • #A04D63

    #A04D63

    oklch(53% 0.112 4.9)

  • #5D7724

    #5D7724

    oklch(53.1% 0.113 125.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2771A8

    #2771A8

    oklch(53% 0.112 245)

  • #935185

    #935185

    oklch(53.1% 0.112 335.4)

  • #975C12

    #975C12

    oklch(53% 0.112 65.1)

  • #277E4E

    #277E4E

    oklch(52.9% 0.112 155)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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