#2172CC

Closest named color: Windows Blue (#3778BF). oklch(55.3% 0.159 254.6), rgb(33, 114, 204).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.159)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.34:1
White text4.83:1

Values

HEX#2172CC
RGBrgb(33, 114, 204)
HSLhsl(212, 72%, 46%)
OKLCHoklch(55.3% 0.159 254.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 #2172CC 4.83:1 AA Lc -78.5 Fine for body text
Black text on #2172CC 4.34:1 AA large text Lc 31.1 Non-text elements, placeholder text
#2172CC text on white 4.83:1 AA Lc 73.0 Content text, not long reading
#2172CC text on black 4.34:1 AA large text Lc -28.7 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

    #E1EBF8

    oklch(93.6% 0.021 254.9)

  3. Step 200

    200

    #C8DBF4

    oklch(88.5% 0.04 255.3)

  4. Step 300

    300

    #A2C4EF

    oklch(81% 0.071 254.5)

  5. Step 400

    400

    #6EA3E6

    oklch(70.6% 0.114 254.8)

  6. Step 500

    500

    #458BDF

    oklch(63.1% 0.145 254.5)

  7. Step 600

    600 (this color)

    #2172CC

    oklch(55.3% 0.159 254.6)

  8. Step 700

    700

    #1360B1

    oklch(49.1% 0.147 254.4)

  9. Step 800

    800

    #144F90

    oklch(42.8% 0.122 254.4)

  10. Step 900

    900

    #194273

    oklch(37.8% 0.096 254.8)

  11. Step 950

    950

    #102743

    oklch(27% 0.06 254.6)

Export this scale for Tailwind in the Tailwind colors tool

#2172CC 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)#437ACF0.036
Deuteranopia (no green cones)#1E6BCA0.019
Tritanopia (no blue cones)#0088950.120
Achromatopsia (no color)#7272720.159

Harmonies

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

Complementary

The opposite hue (180°).

  • #2172CC

    #2172CC

    oklch(55.3% 0.159 254.6)

  • #9A6600

    #9A6600

    oklch(55.2% 0.117 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2172CC

    #2172CC

    oklch(55.3% 0.159 254.6)

  • #007FA0

    #007FA0

    oklch(55.4% 0.104 224.3)

  • #6B60CA

    #6B60CA

    oklch(55.3% 0.159 284.6)

Open the analogous palette in the generator

Split complementary

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

  • #2172CC

    #2172CC

    oklch(55.3% 0.159 254.6)

  • #BA4B02

    #BA4B02

    oklch(55.3% 0.159 44.5)

  • #7E7500

    #7E7500

    oklch(55.3% 0.117 104.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2172CC

    #2172CC

    oklch(55.3% 0.159 254.6)

  • #BC4155

    #BC4155

    oklch(55.3% 0.158 14.4)

  • #468505

    #468505

    oklch(55.2% 0.158 134.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2172CC

    #2172CC

    oklch(55.3% 0.159 254.6)

  • #AF4488

    #AF4488

    oklch(55.2% 0.159 344.5)

  • #9A6600

    #9A6600

    oklch(55.2% 0.117 74.2)

  • #008760

    #008760

    oklch(55.2% 0.117 164.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2172CC 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.