#1872CD

Closest named color: Windows Blue (#3778BF). oklch(55.2% 0.162 253.7), rgb(24, 114, 205).

Aa

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

About this color

#1872CD is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.162 and its hue 254°. Its hue sits on the cool side of the wheel. The nearest named color is Windows Blue (#3778BF), ΔE 0.035 away. White text reads best on it, at 4.85:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.162)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.32:1
White text4.85:1

Values

HEX#1872CD
RGBrgb(24, 114, 205)
HSLhsl(210, 79%, 45%)
OKLCHoklch(55.2% 0.162 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 #1872CD 4.85:1 AA Lc -78.5 Fine for body text
Black text on #1872CD 4.32:1 AA large text Lc 31.0 Non-text elements, placeholder text
#1872CD text on white 4.85:1 AA Lc 73.1 Content text, not long reading
#1872CD text on black 4.32:1 AA large text Lc -28.6 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

    #F1F6FC

    oklch(97.1% 0.01 252.8)

  2. Step 100

    100

    #E0EBF8

    oklch(93.6% 0.021 252.5)

  3. Step 200

    200

    #C7DBF4

    oklch(88.4% 0.041 254)

  4. Step 300

    300

    #A0C4EF

    oklch(80.9% 0.072 253.1)

  5. Step 400

    400

    #6BA4E7

    oklch(70.7% 0.116 253.3)

  6. Step 500

    500

    #408BE0

    oklch(63% 0.148 253.6)

  7. Step 600

    600 (this color)

    #1872CD

    oklch(55.2% 0.162 253.7)

  8. Step 700

    700

    #0860B3

    oklch(49.1% 0.151 253.8)

  9. Step 800

    800

    #0E4F91

    oklch(42.8% 0.125 253.7)

  10. Step 900

    900

    #164273

    oklch(37.7% 0.097 253.8)

  11. Step 950

    950

    #0E2744

    oklch(27% 0.062 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#1872CD 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)#417AD00.038
Deuteranopia (no green cones)#186ACB0.022
Tritanopia (no blue cones)#0088950.121
Achromatopsia (no color)#7171710.162

Harmonies

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

Complementary

The opposite hue (180°).

  • #1872CD

    #1872CD

    oklch(55.2% 0.162 253.7)

  • #9A6600

    #9A6600

    oklch(55.2% 0.117 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #1872CD

    #1872CD

    oklch(55.2% 0.162 253.7)

  • #007E9E

    #007E9E

    oklch(55.1% 0.103 223.7)

  • #6960CC

    #6960CC

    oklch(55.3% 0.162 283.5)

Open the analogous palette in the generator

Split complementary

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

  • #1872CD

    #1872CD

    oklch(55.2% 0.162 253.7)

  • #BB4900

    #BB4900

    oklch(55.2% 0.162 43.6)

  • #7E7400

    #7E7400

    oklch(55.1% 0.116 103.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #1872CD

    #1872CD

    oklch(55.2% 0.162 253.7)

  • #BD3F55

    #BD3F55

    oklch(55.2% 0.161 13.9)

  • #498400

    #498400

    oklch(55.1% 0.157 133.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #1872CD

    #1872CD

    oklch(55.2% 0.162 253.7)

  • #AF438A

    #AF438A

    oklch(55.2% 0.162 343.4)

  • #9A6600

    #9A6600

    oklch(55.2% 0.117 74.2)

  • #00875F

    #00875F

    oklch(55.2% 0.118 163.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #1872CD 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.