#2170C7

Closest named color: Windows Blue (#3778BF). oklch(54.5% 0.154 254.3), rgb(33, 112, 199).

Aa

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

About this color

#2170C7 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.154 and its hue 254°. 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.99:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.154)
Temperaturecool
Nearest nameWindows Blue (#3778BF)
Black text4.20:1
White text4.99:1

Values

HEX#2170C7
RGBrgb(33, 112, 199)
HSLhsl(211, 72%, 45%)
OKLCHoklch(54.5% 0.154 254.3)

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 #2170C7 4.99:1 AA Lc -79.4 Fine for body text
Black text on #2170C7 4.20:1 AA large text Lc 30.0 Non-text elements, placeholder text
#2170C7 text on white 4.99:1 AA Lc 74.0 Content text, not long reading
#2170C7 text on black 4.20:1 AA large text Lc -27.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

    #E1EBF7

    oklch(93.6% 0.019 252.9)

  3. Step 200

    200

    #C8DBF3

    oklch(88.5% 0.039 254.3)

  4. Step 300

    300

    #A2C4ED

    oklch(81% 0.069 253.4)

  5. Step 400

    400

    #6FA4E5

    oklch(70.8% 0.111 254.2)

  6. Step 500

    500

    #478BDD

    oklch(63.1% 0.142 254.5)

  7. Step 600

    600 (this color)

    #2170C7

    oklch(54.5% 0.154 254.3)

  8. Step 700

    700

    #1760AF

    oklch(49% 0.143 254.4)

  9. Step 800

    800

    #164F8E

    oklch(42.7% 0.119 254.3)

  10. Step 900

    900

    #1A4271

    oklch(37.7% 0.092 254.4)

  11. Step 950

    950

    #102742

    oklch(27% 0.058 253.9)

Export this scale for Tailwind in the Tailwind colors tool

#2170C7 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)#4377CA0.035
Deuteranopia (no green cones)#2169C50.019
Tritanopia (no blue cones)#0085920.115
Achromatopsia (no color)#6F6F6F0.154

Harmonies

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

Complementary

The opposite hue (180°).

  • #2170C7

    #2170C7

    oklch(54.5% 0.154 254.3)

  • #976400

    #976400

    oklch(54.4% 0.115 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2170C7

    #2170C7

    oklch(54.5% 0.154 254.3)

  • #007C9D

    #007C9D

    oklch(54.5% 0.103 224.8)

  • #685FC5

    #685FC5

    oklch(54.5% 0.154 284.1)

Open the analogous palette in the generator

Split complementary

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

  • #2170C7

    #2170C7

    oklch(54.5% 0.154 254.3)

  • #B64A08

    #B64A08

    oklch(54.5% 0.155 44.1)

  • #7B7300

    #7B7300

    oklch(54.5% 0.116 104.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2170C7

    #2170C7

    oklch(54.5% 0.154 254.3)

  • #B84054

    #B84054

    oklch(54.5% 0.155 14)

  • #468208

    #468208

    oklch(54.4% 0.154 134.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2170C7

    #2170C7

    oklch(54.5% 0.154 254.3)

  • #AB4485

    #AB4485

    oklch(54.5% 0.154 344.6)

  • #976400

    #976400

    oklch(54.4% 0.115 74.2)

  • #00855E

    #00855E

    oklch(54.6% 0.116 164.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2170C7 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.