#2A71CE

Closest named color: Windows Blue (#3778BF). oklch(55.5% 0.16 256.8), rgb(42, 113, 206).

Aa

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

About this color

#2A71CE is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.160 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.034 away. White text reads best on it, at 4.82:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.160)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.35:1
White text4.82:1

Values

HEX#2A71CE
RGBrgb(42, 113, 206)
HSLhsl(214, 66%, 49%)
OKLCHoklch(55.5% 0.16 256.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 #2A71CE 4.82:1 AA Lc -78.4 Fine for body text
Black text on #2A71CE 4.35:1 AA large text Lc 31.1 Non-text elements, placeholder text
#2A71CE text on white 4.82:1 AA Lc 73.0 Content text, not long reading
#2A71CE text on black 4.35:1 AA large text Lc -28.7 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C9DBF4

    oklch(88.6% 0.04 256.6)

  4. Step 300

    300

    #A3C3EF

    oklch(80.9% 0.072 256.4)

  5. Step 400

    400

    #71A2E8

    oklch(70.6% 0.116 257.3)

  6. Step 500

    500

    #4A8AE1

    oklch(63.2% 0.147 256.7)

  7. Step 600

    600 (this color)

    #2A71CE

    oklch(55.5% 0.16 256.8)

  8. Step 700

    700

    #1D5FB3

    oklch(49.2% 0.149 256.7)

  9. Step 800

    800

    #1A4E91

    oklch(42.8% 0.123 256.5)

  10. Step 900

    900

    #1C4173

    oklch(37.6% 0.096 256.8)

  11. Step 950

    950

    #112744

    oklch(27.1% 0.061 256.1)

Export this scale for Tailwind in the Tailwind colors tool

#2A71CE 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)#407AD20.032
Deuteranopia (no green cones)#196BCC0.020
Tritanopia (no blue cones)#0087950.122
Achromatopsia (no color)#7272720.160

Harmonies

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

Complementary

The opposite hue (180°).

  • #2A71CE

    #2A71CE

    oklch(55.5% 0.16 256.8)

  • #996800

    #996800

    oklch(55.5% 0.116 76.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2A71CE

    #2A71CE

    oklch(55.5% 0.16 256.8)

  • #007FA3

    #007FA3

    oklch(55.6% 0.107 226.4)

  • #6F5FCA

    #6F5FCA

    oklch(55.4% 0.16 286.8)

Open the analogous palette in the generator

Split complementary

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

  • #2A71CE

    #2A71CE

    oklch(55.5% 0.16 256.8)

  • #B84F00

    #B84F00

    oklch(55.5% 0.154 46.9)

  • #7C7700

    #7C7700

    oklch(55.6% 0.119 106.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2A71CE

    #2A71CE

    oklch(55.5% 0.16 256.8)

  • #BE4150

    #BE4150

    oklch(55.5% 0.16 17.1)

  • #408711

    #408711

    oklch(55.6% 0.16 136.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2A71CE

    #2A71CE

    oklch(55.5% 0.16 256.8)

  • #B24385

    #B24385

    oklch(55.5% 0.161 346.9)

  • #996800

    #996800

    oklch(55.5% 0.116 76.4)

  • #008764

    #008764

    oklch(55.3% 0.114 166.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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