#1871B2

Closest named color: Mid Blue (#276AB3). oklch(53.2% 0.129 246.6), rgb(24, 113, 178).

Aa

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

About this color

#1871B2 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.129 and its hue 247°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.020 away. White text reads best on it, at 5.19:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.129)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text4.04:1
White text5.19:1

Values

HEX#1871B2
RGBrgb(24, 113, 178)
HSLhsl(205, 76%, 40%)
OKLCHoklch(53.2% 0.129 246.6)

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 #1871B2 5.19:1 AA Lc -80.6 Fine for body text
Black text on #1871B2 4.04:1 AA large text Lc 28.8 Dividers and decoration only
#1871B2 text on white 5.19:1 AA Lc 75.3 Fine for body text
#1871B2 text on black 4.04:1 AA large text Lc -26.5 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF5

    oklch(93.5% 0.017 248)

  3. Step 200

    200

    #C9DCEE

    oklch(88.6% 0.032 246.7)

  4. Step 300

    300

    #A3C5E5

    oklch(80.9% 0.058 247)

  5. Step 400

    400

    #6FA6D7

    oklch(70.6% 0.093 246.4)

  6. Step 500

    500

    #468FCD

    oklch(63.1% 0.119 246.8)

  7. Step 600

    600 (this color)

    #1871B2

    oklch(53.2% 0.129 246.6)

  8. Step 700

    700

    #1365A0

    oklch(49.2% 0.119 246.5)

  9. Step 800

    800

    #145282

    oklch(42.6% 0.1 247)

  10. Step 900

    900

    #194568

    oklch(37.8% 0.077 245.9)

  11. Step 950

    950

    #10283D

    oklch(26.9% 0.05 247.3)

Export this scale for Tailwind in the Tailwind colors tool

#1871B2 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)#5274B50.049
Deuteranopia (no green cones)#3B67B10.033
Tritanopia (no blue cones)#0081890.091
Achromatopsia (no color)#6D6D6D0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #1871B2

    #1871B2

    oklch(53.2% 0.129 246.6)

  • #995C00

    #995C00

    oklch(53.2% 0.118 66.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1871B2

    #1871B2

    oklch(53.2% 0.129 246.6)

  • #007990

    #007990

    oklch(53.1% 0.095 217.2)

  • #5A63B6

    #5A63B6

    oklch(53.3% 0.129 276.4)

Open the analogous palette in the generator

Split complementary

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

  • #1871B2

    #1871B2

    oklch(53.2% 0.129 246.6)

  • #A94D32

    #A94D32

    oklch(53.2% 0.128 37.1)

  • #7F6C00

    #7F6C00

    oklch(53.3% 0.11 96.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1871B2

    #1871B2

    oklch(53.2% 0.129 246.6)

  • #A84760

    #A84760

    oklch(53.2% 0.13 6.5)

  • #597913

    #597913

    oklch(53.2% 0.128 126.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1871B2

    #1871B2

    oklch(53.2% 0.129 246.6)

  • #9A4C88

    #9A4C88

    oklch(53.4% 0.129 336.7)

  • #995C00

    #995C00

    oklch(53.2% 0.118 66.4)

  • #00824D

    #00824D

    oklch(53.4% 0.128 156.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1871B2 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.