#3871FD

Closest named color: Clear Blue (#247AFD). oklch(59.3% 0.217 264.1), rgb(56, 113, 253).

Aa

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

About this color

#3871FD is a medium-dark, vivid blue. In OKLCH its lightness is 59%, its chroma 0.217 and its hue 264°. 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.94:1.

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

Values

HEX#3871FD
RGBrgb(56, 113, 253)
HSLhsl(223, 98%, 61%)
OKLCHoklch(59.3% 0.217 264.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 #3871FD 4.24:1 AA large text Lc -74.2 Content text, not long reading
Black text on #3871FD 4.94:1 AA Lc 35.4 Non-text elements, placeholder text
#3871FD text on white 4.24:1 AA large text Lc 68.7 Content text, not long reading
#3871FD text on black 4.94:1 AA Lc -33.0 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

    #E0EAFE

    oklch(93.6% 0.029 264.4)

  3. Step 200

    200

    #C7DAFE

    oklch(88.6% 0.054 263.2)

  4. Step 300

    300

    #A1C0FF

    oklch(80.8% 0.096 264.1)

  5. Step 400

    400

    #6F9DFF

    oklch(70.7% 0.152 263.9)

  6. Step 500

    500

    #4A80FF

    oklch(63.1% 0.198 264.2)

  7. Step 600

    600 (this color)

    #3871FD

    oklch(59.3% 0.217 264.1)

  8. Step 700

    700

    #2152D1

    oklch(49% 0.203 264.1)

  9. Step 800

    800

    #1D44A9

    oklch(42.6% 0.168 264.3)

  10. Step 900

    900

    #1C3B86

    oklch(37.7% 0.131 264.1)

  11. Step 950

    950

    #11234E

    oklch(26.9% 0.083 264.4)

Export this scale for Tailwind in the Tailwind colors tool

#3871FD 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)#0084FF0.046
Deuteranopia (no green cones)#0072FA0.024
Tritanopia (no blue cones)#0094AC0.170
Achromatopsia (no color)#7B7B7B0.218

Harmonies

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

Complementary

The opposite hue (180°).

  • #3871FD

    #3871FD

    oklch(59.3% 0.217 264.1)

  • #A07700

    #A07700

    oklch(59.4% 0.122 84.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3871FD

    #3871FD

    oklch(59.3% 0.217 264.1)

  • #0089BC

    #0089BC

    oklch(59.3% 0.124 233.7)

  • #8A57F0

    #8A57F0

    oklch(59.3% 0.218 294.1)

Open the analogous palette in the generator

Split complementary

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

  • #3871FD

    #3871FD

    oklch(59.3% 0.217 264.1)

  • #BF6000

    #BF6000

    oklch(59.2% 0.148 54)

  • #7E8600

    #7E8600

    oklch(59.3% 0.133 113.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3871FD

    #3871FD

    oklch(59.3% 0.217 264.1)

  • #E32A37

    #E32A37

    oklch(59.4% 0.217 24.1)

  • #00991F

    #00991F

    oklch(59.3% 0.192 144.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3871FD

    #3871FD

    oklch(59.3% 0.217 264.1)

  • #D72B87

    #D72B87

    oklch(59.3% 0.218 353.9)

  • #A07700

    #A07700

    oklch(59.4% 0.122 84.4)

  • #009379

    #009379

    oklch(59.2% 0.112 174.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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