#3872DB

Closest named color: Royal Blue (#4169E1). oklch(57% 0.172 261.1), rgb(56, 114, 219).

Aa

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

About this color

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

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

Values

HEX#3872DB
RGBrgb(56, 114, 219)
HSLhsl(219, 69%, 54%)
OKLCHoklch(57% 0.172 261.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 #3872DB 4.56:1 AA Lc -76.8 Fine for body text
Black text on #3872DB 4.59:1 AA Lc 32.8 Non-text elements, placeholder text
#3872DB text on white 4.56:1 AA Lc 71.3 Content text, not long reading
#3872DB text on black 4.59:1 AA Lc -30.4 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

    #C9DAF6

    oklch(88.4% 0.043 260.4)

  4. Step 300

    300

    #A5C2F3

    oklch(81% 0.077 260.8)

  5. Step 400

    400

    #74A0EE

    oklch(70.7% 0.125 261.3)

  6. Step 500

    500

    #5086E8

    oklch(63.1% 0.159 261.3)

  7. Step 600

    600 (this color)

    #3872DB

    oklch(57% 0.172 261.1)

  8. Step 700

    700

    #275BBA

    oklch(49.2% 0.16 261.2)

  9. Step 800

    800

    #214B96

    oklch(42.7% 0.132 260.9)

  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

#3872DB 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)#377EDF0.031
Deuteranopia (no green cones)#006FD90.028
Tritanopia (no blue cones)#008B9C0.135
Achromatopsia (no color)#7676760.172

Harmonies

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

Complementary

The opposite hue (180°).

  • #3872DB

    #3872DB

    oklch(57% 0.172 261.1)

  • #9A6F00

    #9A6F00

    oklch(57% 0.118 81.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3872DB

    #3872DB

    oklch(57% 0.172 261.1)

  • #0082AF

    #0082AF

    oklch(56.9% 0.116 231.7)

  • #7B5FD3

    #7B5FD3

    oklch(57.1% 0.171 291.1)

Open the analogous palette in the generator

Split complementary

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

  • #3872DB

    #3872DB

    oklch(57% 0.172 261.1)

  • #B95800

    #B95800

    oklch(57% 0.148 51.3)

  • #7B7D00

    #7B7D00

    oklch(56.9% 0.125 110.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3872DB

    #3872DB

    oklch(57% 0.172 261.1)

  • #C94049

    #C94049

    oklch(57% 0.173 20.9)

  • #2D8F1D

    #2D8F1D

    oklch(57.1% 0.173 141.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3872DB

    #3872DB

    oklch(57% 0.172 261.1)

  • #BE4283

    #BE4283

    oklch(57.1% 0.171 351.5)

  • #9A6F00

    #9A6F00

    oklch(57% 0.118 81.6)

  • #008C6F

    #008C6F

    oklch(57% 0.111 171.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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