#1871A9

Closest named color: Ocean Blue (#03719C). oklch(52.7% 0.118 242.9), rgb(24, 113, 169).

Aa

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

About this color

#1871A9 is a medium-dark, moderately saturated blue. In OKLCH its lightness is 53%, its chroma 0.118 and its hue 243°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.023 away. White text reads best on it, at 5.28:1.

Hue familyBlues
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.118)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text3.97:1
White text5.28:1

Values

HEX#1871A9
RGBrgb(24, 113, 169)
HSLhsl(203, 75%, 38%)
OKLCHoklch(52.7% 0.118 242.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 #1871A9 5.28:1 AA Lc -81.2 Fine for body text
Black text on #1871A9 3.97:1 AA large text Lc 28.3 Dividers and decoration only
#1871A9 text on white 5.28:1 AA Lc 75.8 Fine for body text
#1871A9 text on black 3.97:1 AA large text Lc -25.9 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

    #F2F6FA

    oklch(97.1% 0.007 247.9)

  2. Step 100

    100

    #E1EBF4

    oklch(93.5% 0.016 245.1)

  3. Step 200

    200

    #C9DCEB

    oklch(88.5% 0.029 241.6)

  4. Step 300

    300

    #A4C5E1

    oklch(80.9% 0.053 244.1)

  5. Step 400

    400

    #71A7D2

    oklch(70.7% 0.085 243.4)

  6. Step 500

    500

    #4890C6

    oklch(63% 0.109 243.5)

  7. Step 600

    600 (this color)

    #1871A9

    oklch(52.7% 0.118 242.9)

  8. Step 700

    700

    #156699

    oklch(49% 0.109 242.9)

  9. Step 800

    800

    #16547C

    oklch(42.8% 0.09 242.2)

  10. Step 900

    900

    #1A4564

    oklch(37.6% 0.071 243.3)

  11. Step 950

    950

    #11293B

    oklch(27.1% 0.045 243.2)

Export this scale for Tailwind in the Tailwind colors tool

#1871A9 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)#5673AB0.053
Deuteranopia (no green cones)#4266A80.040
Tritanopia (no blue cones)#007F850.081
Achromatopsia (no color)#6C6C6C0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #1871A9

    #1871A9

    oklch(52.7% 0.118 242.9)

  • #9A5907

    #9A5907

    oklch(52.8% 0.118 62.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1871A9

    #1871A9

    oklch(52.7% 0.118 242.9)

  • #00788A

    #00788A

    oklch(52.6% 0.092 212.8)

  • #5564AF

    #5564AF

    oklch(52.7% 0.119 273.1)

Open the analogous palette in the generator

Split complementary

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

  • #1871A9

    #1871A9

    oklch(52.7% 0.118 242.9)

  • #A44E3C

    #A44E3C

    oklch(52.8% 0.118 33.2)

  • #816800

    #816800

    oklch(52.7% 0.108 92.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1871A9

    #1871A9

    oklch(52.7% 0.118 242.9)

  • #A14A64

    #A14A64

    oklch(52.7% 0.118 3.2)

  • #5F7519

    #5F7519

    oklch(52.7% 0.117 122.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1871A9

    #1871A9

    oklch(52.7% 0.118 242.9)

  • #924F88

    #924F88

    oklch(52.8% 0.117 332.8)

  • #9A5907

    #9A5907

    oklch(52.8% 0.118 62.7)

  • #257E49

    #257E49

    oklch(52.7% 0.118 153)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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