#3871FF

Closest named color: Clear Blue (#247AFD). oklch(59.5% 0.22 264.2), rgb(56, 113, 255).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (59%)
Chromavivid (0.220)
Temperaturecool
Nearest nameClear Blue (#247AFD)
Black text4.97:1
White text4.22:1

Values

HEX#3871FF
RGBrgb(56, 113, 255)
HSLhsl(223, 100%, 61%)
OKLCHoklch(59.5% 0.22 264.2)

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 #3871FF 4.22:1 AA large text Lc -74.0 Content text, not long reading
Black text on #3871FF 4.97:1 AA Lc 35.6 Non-text elements, placeholder text
#3871FF text on white 4.22:1 AA large text Lc 68.5 Content text, not long reading
#3871FF text on black 4.97:1 AA Lc -33.1 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 500.

  1. Step 50

    50

    #F1F6FF

    oklch(97.2% 0.013 262.4)

  2. Step 100

    100

    #E0EAFF

    oklch(93.6% 0.03 265.3)

  3. Step 200

    200

    #C7DAFF

    oklch(88.6% 0.055 263.7)

  4. Step 300

    300

    #A2C0FF

    oklch(80.9% 0.096 264.7)

  5. Step 400

    400

    #709DFF

    oklch(70.7% 0.152 264.2)

  6. Step 500

    500 (this color)

    #3871FF

    oklch(59.5% 0.22 264.2)

  7. Step 600

    600

    #2660FC

    oklch(55.5% 0.24 264.2)

  8. Step 700

    700

    #1B4EDC

    oklch(49.1% 0.222 264.2)

  9. Step 800

    800

    #1741B1

    oklch(42.6% 0.184 264.1)

  10. Step 900

    900

    #18398C

    oklch(37.6% 0.144 264.2)

  11. Step 950

    950

    #0F2252

    oklch(26.9% 0.091 264.7)

Export this scale for Tailwind in the Tailwind colors tool

#3871FF 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)#0085FF0.049
Deuteranopia (no green cones)#0072FC0.024
Tritanopia (no blue cones)#0094AD0.171
Achromatopsia (no color)#7B7B7B0.220

Harmonies

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

Complementary

The opposite hue (180°).

  • #3871FF

    #3871FF

    oklch(59.5% 0.22 264.2)

  • #A17700

    #A17700

    oklch(59.5% 0.122 83.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3871FF

    #3871FF

    oklch(59.5% 0.22 264.2)

  • #0089BD

    #0089BD

    oklch(59.4% 0.125 234.3)

  • #8B57F1

    #8B57F1

    oklch(59.5% 0.219 294.3)

Open the analogous palette in the generator

Split complementary

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

  • #3871FF

    #3871FF

    oklch(59.5% 0.22 264.2)

  • #C06100

    #C06100

    oklch(59.5% 0.149 54.2)

  • #7E8700

    #7E8700

    oklch(59.6% 0.134 114.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3871FF

    #3871FF

    oklch(59.5% 0.22 264.2)

  • #E42836

    #E42836

    oklch(59.4% 0.22 24.1)

  • #009A20

    #009A20

    oklch(59.6% 0.192 144.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3871FF

    #3871FF

    oklch(59.5% 0.22 264.2)

  • #D92A87

    #D92A87

    oklch(59.5% 0.22 354.3)

  • #A17700

    #A17700

    oklch(59.5% 0.122 83.8)

  • #00947A

    #00947A

    oklch(59.5% 0.113 174.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #3871FF.

Similar named colors

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

Use #3871FF 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.