#3872EE

Closest named color: Cerulean Blue (#056EEE). oklch(58.4% 0.197 262.9), rgb(56, 114, 238).

Aa

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

About this color

#3872EE is a medium-dark, vivid blue. In OKLCH its lightness is 58%, its chroma 0.197 and its hue 263°. Its hue sits on the cool side of the wheel. The nearest named color is Cerulean Blue (#056EEE), ΔE 0.028 away. Black text reads best on it, at 4.80:1.

Hue familyBlues
Lightnessmedium-dark (58%)
Chromavivid (0.197)
Temperaturecool
Nearest nameCerulean Blue (#056EEE)
Black text4.80:1
White text4.36:1

Values

HEX#3872EE
RGBrgb(56, 114, 238)
HSLhsl(221, 84%, 58%)
OKLCHoklch(58.4% 0.197 262.9)

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 #3872EE 4.36:1 AA large text Lc -75.2 Fine for body text
Black text on #3872EE 4.80:1 AA Lc 34.3 Non-text elements, placeholder text
#3872EE text on white 4.36:1 AA large text Lc 69.7 Content text, not long reading
#3872EE text on black 4.80:1 AA Lc -31.9 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

    #F1F6FE

    oklch(97.2% 0.012 259.8)

  2. Step 100

    100

    #E1EAFC

    oklch(93.6% 0.026 264.4)

  3. Step 200

    200

    #C8DAFB

    oklch(88.5% 0.05 262.6)

  4. Step 300

    300

    #A2C1FB

    oklch(80.9% 0.089 262.7)

  5. Step 400

    400

    #719EF9

    oklch(70.7% 0.143 263.3)

  6. Step 500

    500

    #4C83F5

    oklch(63.1% 0.181 262.9)

  7. Step 600

    600 (this color)

    #3872EE

    oklch(58.4% 0.197 262.9)

  8. Step 700

    700

    #2357C6

    oklch(49.1% 0.182 262.7)

  9. Step 800

    800

    #1E48A0

    oklch(42.7% 0.151 262.6)

  10. Step 900

    900

    #1E3D7F

    oklch(37.7% 0.118 263)

  11. Step 950

    950

    #12244B

    oklch(26.9% 0.076 263.5)

Export this scale for Tailwind in the Tailwind colors tool

#3872EE 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)#1682F20.040
Deuteranopia (no green cones)#0071EC0.025
Tritanopia (no blue cones)#0090A50.154
Achromatopsia (no color)#7979790.197

Harmonies

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

Complementary

The opposite hue (180°).

  • #3872EE

    #3872EE

    oklch(58.4% 0.197 262.9)

  • #9E7300

    #9E7300

    oklch(58.3% 0.12 82.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #3872EE

    #3872EE

    oklch(58.4% 0.197 262.9)

  • #0086B7

    #0086B7

    oklch(58.4% 0.121 233.2)

  • #835BE3

    #835BE3

    oklch(58.3% 0.197 292.8)

Open the analogous palette in the generator

Split complementary

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

  • #3872EE

    #3872EE

    oklch(58.4% 0.197 262.9)

  • #BD5D00

    #BD5D00

    oklch(58.4% 0.148 52.9)

  • #7D8300

    #7D8300

    oklch(58.5% 0.13 113)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #3872EE

    #3872EE

    oklch(58.4% 0.197 262.9)

  • #D73640

    #D73640

    oklch(58.3% 0.197 22.8)

  • #00960C

    #00960C

    oklch(58.4% 0.196 142.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #3872EE

    #3872EE

    oklch(58.4% 0.197 262.9)

  • #CC3886

    #CC3886

    oklch(58.4% 0.197 352.7)

  • #9E7300

    #9E7300

    oklch(58.3% 0.12 82.4)

  • #009075

    #009075

    oklch(58.3% 0.112 173.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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