#4871A2

Closest named color: Flat Blue (#3C73A8). oklch(54% 0.09 253.7), rgb(72, 113, 162).

Aa

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

About this color

#4871A2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 54%, its chroma 0.090 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Flat Blue (#3C73A8), ΔE 0.014 away. White text reads best on it, at 5.04:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.090)
Temperaturecool
Nearest nameFlat Blue (#3C73A8)
Black text4.15:1
White text5.04:1

Values

HEX#4871A2
RGBrgb(72, 113, 162)
HSLhsl(213, 38%, 46%)
OKLCHoklch(54% 0.09 253.7)

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 #4871A2 5.04:1 AA Lc -80.1 Fine for body text
Black text on #4871A2 4.15:1 AA large text Lc 29.3 Dividers and decoration only
#4871A2 text on white 5.04:1 AA Lc 74.7 Content text, not long reading
#4871A2 text on black 4.15:1 AA large text Lc -27.0 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

    #F3F6F9

    oklch(97.2% 0.005 247.9)

  2. Step 100

    100

    #E5EAF2

    oklch(93.6% 0.012 259.8)

  3. Step 200

    200

    #CFDAE8

    oklch(88.4% 0.023 254.4)

  4. Step 300

    300

    #AFC3DB

    oklch(81% 0.04 253.1)

  5. Step 400

    400

    #85A3C9

    oklch(70.7% 0.065 254.6)

  6. Step 500

    500

    #668CBB

    oklch(63.1% 0.083 254.2)

  7. Step 600

    600 (this color)

    #4871A2

    oklch(54% 0.09 253.7)

  8. Step 700

    700

    #3D638F

    oklch(49.1% 0.083 253)

  9. Step 800

    800

    #335174

    oklch(42.8% 0.069 253.1)

  10. Step 900

    900

    #2D435E

    oklch(37.7% 0.054 254.1)

  11. Step 950

    950

    #1A2737

    oklch(26.9% 0.035 254.1)

Export this scale for Tailwind in the Tailwind colors tool

#4871A2 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)#5D74A40.028
Deuteranopia (no green cones)#526BA10.019
Tritanopia (no blue cones)#0D7C820.079
Achromatopsia (no color)#6F6F6F0.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #4871A2

    #4871A2

    oklch(54% 0.09 253.7)

  • #8E662C

    #8E662C

    oklch(54% 0.09 73.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #4871A2

    #4871A2

    oklch(54% 0.09 253.7)

  • #227A95

    #227A95

    oklch(54.1% 0.09 223.1)

  • #6867A1

    #6867A1

    oklch(53.9% 0.09 283.8)

Open the analogous palette in the generator

Split complementary

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

  • #4871A2

    #4871A2

    oklch(54% 0.09 253.7)

  • #9A5D42

    #9A5D42

    oklch(54.1% 0.09 44.3)

  • #78712C

    #78712C

    oklch(54% 0.09 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #4871A2

    #4871A2

    oklch(54% 0.09 253.7)

  • #9C585F

    #9C585F

    oklch(54.1% 0.09 13.9)

  • #597A42

    #597A42

    oklch(54% 0.09 133.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #4871A2

    #4871A2

    oklch(54% 0.09 253.7)

  • #93597C

    #93597C

    oklch(54% 0.089 343.5)

  • #8E662C

    #8E662C

    oklch(54% 0.09 73.8)

  • #337F60

    #337F60

    oklch(54% 0.09 163.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #4871A2 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.