#2B71FA

Closest named color: Clear Blue (#247AFD). oklch(58.7% 0.217 261.9), rgb(43, 113, 250).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.217)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text4.84:1
White text4.33:1

Values

HEX#2B71FA
RGBrgb(43, 113, 250)
HSLhsl(220, 95%, 57%)
OKLCHoklch(58.7% 0.217 261.9)

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 #2B71FA 4.33:1 AA large text Lc -74.8 Content text, not long reading
Black text on #2B71FA 4.84:1 AA Lc 34.7 Non-text elements, placeholder text
#2B71FA text on white 4.33:1 AA large text Lc 69.3 Content text, not long reading
#2B71FA text on black 4.84:1 AA Lc -32.3 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

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFD

    oklch(93.5% 0.028 263.4)

  3. Step 200

    200

    #C6DAFE

    oklch(88.5% 0.054 262.2)

  4. Step 300

    300

    #9FC1FF

    oklch(80.9% 0.096 262.2)

  5. Step 400

    400

    #6A9EFF

    oklch(70.6% 0.153 261.9)

  6. Step 500

    500

    #4182FF

    oklch(63.1% 0.198 261.8)

  7. Step 600

    600 (this color)

    #2B71FA

    oklch(58.7% 0.217 261.9)

  8. Step 700

    700

    #1454D0

    oklch(49% 0.202 261.9)

  9. Step 800

    800

    #1446A8

    oklch(42.7% 0.166 262)

  10. Step 900

    900

    #173C85

    oklch(37.6% 0.13 262)

  11. Step 950

    950

    #0E244E

    oklch(27% 0.082 261.8)

Export this scale for Tailwind in the Tailwind colors tool

#2B71FA 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)#0083FF0.043
Deuteranopia (no green cones)#0070F70.017
Tritanopia (no blue cones)#0093AB0.166
Achromatopsia (no color)#7979790.217

Harmonies

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

Complementary

The opposite hue (180°).

  • #2B71FA

    #2B71FA

    oklch(58.7% 0.217 261.9)

  • #A07400

    #A07400

    oklch(58.8% 0.121 82)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2B71FA

    #2B71FA

    oklch(58.7% 0.217 261.9)

  • #0087B7

    #0087B7

    oklch(58.6% 0.12 232.5)

  • #8457EF

    #8457EF

    oklch(58.7% 0.217 292)

Open the analogous palette in the generator

Split complementary

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

  • #2B71FA

    #2B71FA

    oklch(58.7% 0.217 261.9)

  • #BF5D00

    #BF5D00

    oklch(58.7% 0.15 52.3)

  • #7F8300

    #7F8300

    oklch(58.7% 0.13 111.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2B71FA

    #2B71FA

    oklch(58.7% 0.217 261.9)

  • #E0263C

    #E0263C

    oklch(58.7% 0.217 22)

  • #129700

    #129700

    oklch(58.8% 0.197 141.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2B71FA

    #2B71FA

    oklch(58.7% 0.217 261.9)

  • #D32B8A

    #D32B8A

    oklch(58.7% 0.216 351.8)

  • #A07400

    #A07400

    oklch(58.8% 0.121 82)

  • #009274

    #009274

    oklch(58.8% 0.115 171.5)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #2B71FA.

Similar named colors

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

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