#3871B2

Closest named color: French Blue (#436BAD). oklch(54.2% 0.119 253.4), rgb(56, 113, 178).

Aa

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

About this color

#3871B2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.119 and its hue 253°. Its hue sits on the cool side of the wheel. The nearest named color is French Blue (#436BAD), ΔE 0.018 away. White text reads best on it, at 5.03:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.119)
Temperaturecool
Nearest nameFrench Blue (#436BAD)
Black text4.17:1
White text5.03:1

Values

HEX#3871B2
RGBrgb(56, 113, 178)
HSLhsl(212, 52%, 46%)
OKLCHoklch(54.2% 0.119 253.4)

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 #3871B2 5.03:1 AA Lc -79.9 Fine for body text
Black text on #3871B2 4.17:1 AA large text Lc 29.6 Dividers and decoration only
#3871B2 text on white 5.03:1 AA Lc 74.5 Content text, not long reading
#3871B2 text on black 4.17:1 AA large text Lc -27.2 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E3EBF4

    oklch(93.7% 0.015 251.2)

  3. Step 200

    200

    #CCDBED

    oklch(88.6% 0.03 253)

  4. Step 300

    300

    #A9C3E3

    oklch(80.8% 0.054 253.8)

  5. Step 400

    400

    #7BA4D5

    oklch(70.8% 0.085 253.3)

  6. Step 500

    500

    #588CCA

    oklch(63% 0.109 253.7)

  7. Step 600

    600 (this color)

    #3871B2

    oklch(54.2% 0.119 253.4)

  8. Step 700

    700

    #2E629D

    oklch(49% 0.11 253.4)

  9. Step 800

    800

    #275080

    oklch(42.6% 0.093 253.9)

  10. Step 900

    900

    #254366

    oklch(37.7% 0.07 253.4)

  11. Step 950

    950

    #16273C

    oklch(26.9% 0.046 254.4)

Export this scale for Tailwind in the Tailwind colors tool

#3871B2 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)#5475B50.033
Deuteranopia (no green cones)#426AB10.020
Tritanopia (no blue cones)#0080890.092
Achromatopsia (no color)#6F6F6F0.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #3871B2

    #3871B2

    oklch(54.2% 0.119 253.4)

  • #976300

    #976300

    oklch(54.2% 0.115 73.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3871B2

    #3871B2

    oklch(54.2% 0.119 253.4)

  • #007B9A

    #007B9A

    oklch(54.1% 0.101 223.5)

  • #6764B1

    #6764B1

    oklch(54.1% 0.118 283.5)

Open the analogous palette in the generator

Split complementary

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

  • #3871B2

    #3871B2

    oklch(54.2% 0.119 253.4)

  • #A75531

    #A75531

    oklch(54.2% 0.119 43.3)

  • #7B7100

    #7B7100

    oklch(54.1% 0.114 103.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3871B2

    #3871B2

    oklch(54.2% 0.119 253.4)

  • #A84E5B

    #A84E5B

    oklch(54.1% 0.119 12.9)

  • #527D2F

    #527D2F

    oklch(54% 0.118 133.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3871B2

    #3871B2

    oklch(54.2% 0.119 253.4)

  • #9D5081

    #9D5081

    oklch(54.1% 0.119 342.9)

  • #976300

    #976300

    oklch(54.2% 0.115 73.4)

  • #00845C

    #00845C

    oklch(54.3% 0.117 163.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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