#3872DA

Closest named color: Royal Blue (#4169E1). oklch(56.9% 0.171 261), rgb(56, 114, 218).

Aa

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

About this color

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

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

Values

HEX#3872DA
RGBrgb(56, 114, 218)
HSLhsl(219, 69%, 54%)
OKLCHoklch(56.9% 0.171 261)

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 #3872DA 4.57:1 AA Lc -76.8 Fine for body text
Black text on #3872DA 4.58:1 AA Lc 32.7 Non-text elements, placeholder text
#3872DA text on white 4.57:1 AA Lc 71.4 Content text, not long reading
#3872DA text on black 4.58:1 AA Lc -30.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

    #F2F6FD

    oklch(97.2% 0.01 261.8)

  2. Step 100

    100

    #E2EAF9

    oklch(93.5% 0.022 263.2)

  3. Step 200

    200

    #CADAF6

    oklch(88.5% 0.042 261.7)

  4. Step 300

    300

    #A5C2F3

    oklch(81% 0.077 260.8)

  5. Step 400

    400

    #74A0ED

    oklch(70.6% 0.123 261.1)

  6. Step 500

    500

    #5086E7

    oklch(63% 0.157 261.2)

  7. Step 600

    600 (this color)

    #3872DA

    oklch(56.9% 0.171 261)

  8. Step 700

    700

    #275BB9

    oklch(49.1% 0.159 261.1)

  9. Step 800

    800

    #214B96

    oklch(42.7% 0.132 260.9)

  10. Step 900

    900

    #203F77

    oklch(37.6% 0.103 261.2)

  11. Step 950

    950

    #132546

    oklch(26.9% 0.066 261.5)

Export this scale for Tailwind in the Tailwind colors tool

#3872DA 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)#387DDE0.029
Deuteranopia (no green cones)#006FD80.028
Tritanopia (no blue cones)#008B9B0.135
Achromatopsia (no color)#7575750.171

Harmonies

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

Complementary

The opposite hue (180°).

  • #3872DA

    #3872DA

    oklch(56.9% 0.171 261)

  • #9A6E00

    #9A6E00

    oklch(56.8% 0.117 80.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3872DA

    #3872DA

    oklch(56.9% 0.171 261)

  • #0082AE

    #0082AE

    oklch(56.9% 0.115 231.1)

  • #7A5FD2

    #7A5FD2

    oklch(56.9% 0.17 290.8)

Open the analogous palette in the generator

Split complementary

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

  • #3872DA

    #3872DA

    oklch(56.9% 0.171 261)

  • #B95700

    #B95700

    oklch(56.9% 0.149 50.8)

  • #7B7D00

    #7B7D00

    oklch(56.9% 0.125 110.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3872DA

    #3872DA

    oklch(56.9% 0.171 261)

  • #C84149

    #C84149

    oklch(57% 0.171 21.1)

  • #2F8E1D

    #2F8E1D

    oklch(56.9% 0.171 140.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3872DA

    #3872DA

    oklch(56.9% 0.171 261)

  • #BD4283

    #BD4283

    oklch(56.9% 0.171 351.2)

  • #9A6E00

    #9A6E00

    oklch(56.8% 0.117 80.8)

  • #008C6E

    #008C6E

    oklch(57% 0.112 170.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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