#1871BF

Closest named color: Mid Blue (#276AB3). oklch(54.1% 0.145 250.8), rgb(24, 113, 191).

Aa

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

About this color

#1871BF is a medium-dark, vivid blue. In OKLCH its lightness is 54%, its chroma 0.145 and its hue 251°. Its hue sits on the cool side of the wheel. The nearest named color is Mid Blue (#276AB3), ΔE 0.024 away. White text reads best on it, at 5.05:1.

Hue familyBlues
Lightnessmedium-dark (54%)
Chromavivid (0.145)
Temperaturecool
Nearest nameMid Blue (#276AB3)
Black text4.15:1
White text5.05:1

Values

HEX#1871BF
RGBrgb(24, 113, 191)
HSLhsl(208, 78%, 42%)
OKLCHoklch(54.1% 0.145 250.8)

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 #1871BF 5.05:1 AA Lc -79.8 Fine for body text
Black text on #1871BF 4.15:1 AA large text Lc 29.7 Dividers and decoration only
#1871BF text on white 5.05:1 AA Lc 74.4 Content text, not long reading
#1871BF text on black 4.15:1 AA large text Lc -27.3 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

    #F1F6FB

    oklch(97.1% 0.009 247.9)

  2. Step 100

    100

    #E1EBF6

    oklch(93.6% 0.018 250.6)

  3. Step 200

    200

    #C8DBF1

    oklch(88.4% 0.037 252.1)

  4. Step 300

    300

    #A2C4EA

    oklch(80.9% 0.065 251.5)

  5. Step 400

    400

    #6EA5E0

    oklch(70.8% 0.105 251.1)

  6. Step 500

    500

    #448DD7

    oklch(63.1% 0.134 251)

  7. Step 600

    600 (this color)

    #1871BF

    oklch(54.1% 0.145 250.8)

  8. Step 700

    700

    #0F62A9

    oklch(49% 0.135 250.9)

  9. Step 800

    800

    #125189

    oklch(42.8% 0.111 250.5)

  10. Step 900

    900

    #18436E

    oklch(37.6% 0.088 251.3)

  11. Step 950

    950

    #0F2840

    oklch(27% 0.055 249.7)

Export this scale for Tailwind in the Tailwind colors tool

#1871BF 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)#4A76C20.042
Deuteranopia (no green cones)#2D68BD0.025
Tritanopia (no blue cones)#00848E0.107
Achromatopsia (no color)#6F6F6F0.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #1871BF

    #1871BF

    oklch(54.1% 0.145 250.8)

  • #996100

    #996100

    oklch(54.1% 0.117 70.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1871BF

    #1871BF

    oklch(54.1% 0.145 250.8)

  • #007B97

    #007B97

    oklch(54% 0.099 221.1)

  • #6261C0

    #6261C0

    oklch(54.1% 0.145 280.9)

Open the analogous palette in the generator

Split complementary

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

  • #1871BF

    #1871BF

    oklch(54.1% 0.145 250.8)

  • #B24B21

    #B24B21

    oklch(54.2% 0.145 40.8)

  • #7E7000

    #7E7000

    oklch(54.1% 0.113 100.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1871BF

    #1871BF

    oklch(54.1% 0.145 250.8)

  • #B2435A

    #B2435A

    oklch(54% 0.145 10.8)

  • #507F06

    #507F06

    oklch(54.2% 0.145 130.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1871BF

    #1871BF

    oklch(54.1% 0.145 250.8)

  • #A44788

    #A44788

    oklch(54% 0.145 340.7)

  • #996100

    #996100

    oklch(54.1% 0.117 70.6)

  • #008457

    #008457

    oklch(54.2% 0.121 160.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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