#2D71F8

Closest named color: Clear Blue (#247AFD). oklch(58.6% 0.214 262.1), rgb(45, 113, 248).

Aa

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

About this color

#2D71F8 is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.214 and its hue 262°. Its hue sits on the cool side of the wheel. The nearest named color is Clear Blue (#247AFD), ΔE 0.022 away. Black text reads best on it, at 4.82:1.

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.214)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text4.82:1
White text4.34:1

Values

HEX#2D71F8
RGBrgb(45, 113, 248)
HSLhsl(220, 94%, 57%)
OKLCHoklch(58.6% 0.214 262.1)

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 #2D71F8 4.34:1 AA large text Lc -75.0 Content text, not long reading
Black text on #2D71F8 4.82:1 AA Lc 34.6 Non-text elements, placeholder text
#2D71F8 text on white 4.34:1 AA large text Lc 69.5 Content text, not long reading
#2D71F8 text on black 4.82:1 AA Lc -32.2 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

    #E0EAFD

    oklch(93.5% 0.028 263.4)

  3. Step 200

    200

    #C6DAFD

    oklch(88.5% 0.053 261.7)

  4. Step 300

    300

    #9FC1FF

    oklch(80.9% 0.096 262.2)

  5. Step 400

    400

    #6B9EFF

    oklch(70.7% 0.153 262.2)

  6. Step 500

    500

    #4282FE

    oklch(63.1% 0.196 261.9)

  7. Step 600

    600 (this color)

    #2D71F8

    oklch(58.6% 0.214 262.1)

  8. Step 700

    700

    #1755CF

    oklch(49.2% 0.199 262)

  9. Step 800

    800

    #1546A7

    oklch(42.6% 0.165 262)

  10. Step 900

    900

    #183C84

    oklch(37.6% 0.128 262.2)

  11. Step 950

    950

    #0F244D

    oklch(27% 0.081 262.1)

Export this scale for Tailwind in the Tailwind colors tool

#2D71F8 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.018
Tritanopia (no blue cones)#0093AA0.165
Achromatopsia (no color)#7979790.214

Harmonies

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

Complementary

The opposite hue (180°).

  • #2D71F8

    #2D71F8

    oklch(58.6% 0.214 262.1)

  • #9F7400

    #9F7400

    oklch(58.7% 0.121 82.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2D71F8

    #2D71F8

    oklch(58.6% 0.214 262.1)

  • #0087B6

    #0087B6

    oklch(58.5% 0.119 231.9)

  • #8458ED

    #8458ED

    oklch(58.7% 0.213 292.1)

Open the analogous palette in the generator

Split complementary

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

  • #2D71F8

    #2D71F8

    oklch(58.6% 0.214 262.1)

  • #BF5C00

    #BF5C00

    oklch(58.5% 0.151 51.8)

  • #7F8300

    #7F8300

    oklch(58.7% 0.13 111.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2D71F8

    #2D71F8

    oklch(58.6% 0.214 262.1)

  • #DF293D

    #DF293D

    oklch(58.7% 0.214 22.1)

  • #0E9700

    #0E9700

    oklch(58.7% 0.198 142.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2D71F8

    #2D71F8

    oklch(58.6% 0.214 262.1)

  • #D22D89

    #D22D89

    oklch(58.6% 0.213 352.1)

  • #9F7400

    #9F7400

    oklch(58.7% 0.121 82.6)

  • #009174

    #009174

    oklch(58.5% 0.113 172)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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