#2170C6

Closest named color: Mid Blue (#276AB3). oklch(54.5% 0.153 254.1), rgb(33, 112, 198).

Aa

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

About this color

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

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

Values

HEX#2170C6
RGBrgb(33, 112, 198)
HSLhsl(211, 71%, 45%)
OKLCHoklch(54.5% 0.153 254.1)

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 #2170C6 5.00:1 AA Lc -79.5 Fine for body text
Black text on #2170C6 4.19:1 AA large text Lc 30.0 Dividers and decoration only
#2170C6 text on white 5.00:1 AA Lc 74.1 Content text, not long reading
#2170C6 text on black 4.19:1 AA large text Lc -27.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

    #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

    #6FA4E4

    oklch(70.8% 0.11 253.8)

  6. Step 500

    500

    #478BDC

    oklch(63% 0.141 254.3)

  7. Step 600

    600 (this color)

    #2170C6

    oklch(54.5% 0.153 254.1)

  8. Step 700

    700

    #1760AF

    oklch(49% 0.143 254.4)

  9. Step 800

    800

    #174F8D

    oklch(42.7% 0.117 254.2)

  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

#2170C6 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)#4477C90.036
Deuteranopia (no green cones)#2269C40.019
Tritanopia (no blue cones)#0085910.116
Achromatopsia (no color)#6F6F6F0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #2170C6

    #2170C6

    oklch(54.5% 0.153 254.1)

  • #976400

    #976400

    oklch(54.4% 0.115 74.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2170C6

    #2170C6

    oklch(54.5% 0.153 254.1)

  • #007C9C

    #007C9C

    oklch(54.5% 0.102 224.1)

  • #685FC4

    #685FC4

    oklch(54.5% 0.152 284.2)

Open the analogous palette in the generator

Split complementary

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

  • #2170C6

    #2170C6

    oklch(54.5% 0.153 254.1)

  • #B54A0C

    #B54A0C

    oklch(54.4% 0.153 43.9)

  • #7B7200

    #7B7200

    oklch(54.3% 0.115 104.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2170C6

    #2170C6

    oklch(54.5% 0.153 254.1)

  • #B74154

    #B74154

    oklch(54.4% 0.152 14.2)

  • #478209

    #478209

    oklch(54.5% 0.153 134.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2170C6

    #2170C6

    oklch(54.5% 0.153 254.1)

  • #AA4485

    #AA4485

    oklch(54.4% 0.153 344.2)

  • #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 #2170C6, closest first.

Similar named colors

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

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