#2D71CE

Closest named color: Windows Blue (#3778BF). oklch(55.5% 0.159 257.3), rgb(45, 113, 206).

Aa

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

About this color

#2D71CE is a medium-dark, vivid blue. In OKLCH its lightness is 56%, its chroma 0.159 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.81:1.

Hue familyBlues
Lightnessmedium-dark (56%)
Chromavivid (0.159)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.36:1
White text4.81:1

Values

HEX#2D71CE
RGBrgb(45, 113, 206)
HSLhsl(215, 64%, 49%)
OKLCHoklch(55.5% 0.159 257.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 #2D71CE 4.81:1 AA Lc -78.4 Fine for body text
Black text on #2D71CE 4.36:1 AA large text Lc 31.1 Non-text elements, placeholder text
#2D71CE text on white 4.81:1 AA Lc 72.9 Content text, not long reading
#2D71CE text on black 4.36:1 AA large text Lc -28.8 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

    #A4C3EF

    oklch(81% 0.071 257.1)

  5. Step 400

    400

    #72A2E7

    oklch(70.6% 0.114 257.4)

  6. Step 500

    500

    #4C89E0

    oklch(63% 0.146 257.5)

  7. Step 600

    600 (this color)

    #2D71CE

    oklch(55.5% 0.159 257.3)

  8. Step 700

    700

    #205EB3

    oklch(49.1% 0.149 257.6)

  9. Step 800

    800

    #1C4D90

    oklch(42.6% 0.123 257.4)

  10. Step 900

    900

    #1D4173

    oklch(37.7% 0.095 257.2)

  11. Step 950

    950

    #122643

    oklch(26.9% 0.06 257.7)

Export this scale for Tailwind in the Tailwind colors tool

#2D71CE 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.031
Deuteranopia (no green cones)#1B6BCC0.021
Tritanopia (no blue cones)#0087950.123
Achromatopsia (no color)#7272720.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D71CE

    #2D71CE

    oklch(55.5% 0.159 257.3)

  • #986900

    #986900

    oklch(55.6% 0.116 77.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D71CE

    #2D71CE

    oklch(55.5% 0.159 257.3)

  • #007FA4

    #007FA4

    oklch(55.6% 0.108 227.1)

  • #705FCA

    #705FCA

    oklch(55.5% 0.16 287.3)

Open the analogous palette in the generator

Split complementary

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

  • #2D71CE

    #2D71CE

    oklch(55.5% 0.159 257.3)

  • #B85000

    #B85000

    oklch(55.7% 0.153 47.4)

  • #7B7700

    #7B7700

    oklch(55.5% 0.119 107.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D71CE

    #2D71CE

    oklch(55.5% 0.159 257.3)

  • #BE4250

    #BE4250

    oklch(55.6% 0.159 17.4)

  • #3F8715

    #3F8715

    oklch(55.5% 0.159 137.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D71CE

    #2D71CE

    oklch(55.5% 0.159 257.3)

  • #B24484

    #B24484

    oklch(55.5% 0.159 347.5)

  • #986900

    #986900

    oklch(55.6% 0.116 77.9)

  • #008865

    #008865

    oklch(55.6% 0.114 167)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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