#3872DD

Closest named color: Royal Blue (#4169E1). oklch(57.2% 0.175 261.3), rgb(56, 114, 221).

Aa

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

About this color

#3872DD is a medium-dark, vivid blue. In OKLCH its lightness is 57%, its chroma 0.175 and its hue 261°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.024 away. Black text reads best on it, at 4.61:1.

Hue familyBlues
Lightnessmedium-dark (57%)
Chromavivid (0.175)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.61:1
White text4.54:1

Values

HEX#3872DD
RGBrgb(56, 114, 221)
HSLhsl(219, 71%, 54%)
OKLCHoklch(57.2% 0.175 261.3)

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 #3872DD 4.54:1 AA Lc -76.6 Fine for body text
Black text on #3872DD 4.61:1 AA Lc 32.9 Non-text elements, placeholder text
#3872DD text on white 4.54:1 AA Lc 71.1 Content text, not long reading
#3872DD text on black 4.61:1 AA Lc -30.5 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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAFA

    oklch(93.6% 0.023 264.5)

  3. Step 200

    200

    #C9DAF7

    oklch(88.5% 0.044 261.2)

  4. Step 300

    300

    #A4C2F4

    oklch(81% 0.078 260.5)

  5. Step 400

    400

    #74A0EF

    oklch(70.7% 0.126 261.5)

  6. Step 500

    500

    #4F86E9

    oklch(63.1% 0.16 261.2)

  7. Step 600

    600 (this color)

    #3872DD

    oklch(57.2% 0.175 261.3)

  8. Step 700

    700

    #265ABB

    oklch(49% 0.163 261.4)

  9. Step 800

    800

    #214A97

    oklch(42.6% 0.135 261.5)

  10. Step 900

    900

    #203F78

    oklch(37.7% 0.104 261.4)

  11. Step 950

    950

    #132546

    oklch(26.9% 0.066 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#3872DD 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)#357EE10.031
Deuteranopia (no green cones)#006FDB0.028
Tritanopia (no blue cones)#008C9D0.138
Achromatopsia (no color)#7676760.175

Harmonies

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

Complementary

The opposite hue (180°).

  • #3872DD

    #3872DD

    oklch(57.2% 0.175 261.3)

  • #9B6F00

    #9B6F00

    oklch(57.2% 0.118 81)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3872DD

    #3872DD

    oklch(57.2% 0.175 261.3)

  • #0083AF

    #0083AF

    oklch(57.2% 0.115 230.9)

  • #7C5ED5

    #7C5ED5

    oklch(57.2% 0.175 291.5)

Open the analogous palette in the generator

Split complementary

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

  • #3872DD

    #3872DD

    oklch(57.2% 0.175 261.3)

  • #B95800

    #B95800

    oklch(57% 0.148 51.3)

  • #7B7E00

    #7B7E00

    oklch(57.1% 0.126 111.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3872DD

    #3872DD

    oklch(57.2% 0.175 261.3)

  • #CA3F48

    #CA3F48

    oklch(57.1% 0.175 21.1)

  • #2A8F1B

    #2A8F1B

    oklch(57.1% 0.175 141.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3872DD

    #3872DD

    oklch(57.2% 0.175 261.3)

  • #BF4184

    #BF4184

    oklch(57.2% 0.174 351.2)

  • #9B6F00

    #9B6F00

    oklch(57.2% 0.118 81)

  • #008D6F

    #008D6F

    oklch(57.3% 0.112 170.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #3872DD 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.