#2170D5

Closest named color: Royal Blue (#4169E1). oklch(55.5% 0.172 256.9), rgb(33, 112, 213).

Aa

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

About this color

#2170D5 is a medium-dark, vivid blue. In OKLCH its lightness is 55%, its chroma 0.172 and its hue 257°. Its hue sits on the cool side of the wheel. The nearest named color is Royal Blue (#4169E1), ΔE 0.034 away. White text reads best on it, at 4.83:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromavivid (0.172)
Temperaturecool
Nearest nameRoyal Blue (#4169E1)
Black text4.34:1
White text4.83:1

Values

HEX#2170D5
RGBrgb(33, 112, 213)
HSLhsl(214, 73%, 48%)
OKLCHoklch(55.5% 0.172 256.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 #2170D5 4.83:1 AA Lc -78.4 Fine for body text
Black text on #2170D5 4.34:1 AA large text Lc 31.1 Non-text elements, placeholder text
#2170D5 text on white 4.83:1 AA Lc 73.0 Content text, not long reading
#2170D5 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

    #F1F6FD

    oklch(97.1% 0.011 256.7)

  2. Step 100

    100

    #E1EBF9

    oklch(93.7% 0.022 256.7)

  3. Step 200

    200

    #C7DBF6

    oklch(88.5% 0.043 255.9)

  4. Step 300

    300

    #A1C3F3

    oklch(80.9% 0.078 257)

  5. Step 400

    400

    #6DA2ED

    oklch(70.7% 0.124 257.2)

  6. Step 500

    500

    #4489E7

    oklch(63.1% 0.158 256.9)

  7. Step 600

    600 (this color)

    #2170D5

    oklch(55.5% 0.172 256.9)

  8. Step 700

    700

    #135DB9

    oklch(49% 0.161 257.1)

  9. Step 800

    800

    #144D96

    oklch(42.8% 0.133 256.9)

  10. Step 900

    900

    #184177

    oklch(37.8% 0.103 256.6)

  11. Step 950

    950

    #0F2646

    oklch(26.9% 0.066 257.2)

Export this scale for Tailwind in the Tailwind colors tool

#2170D5 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)#367AD90.032
Deuteranopia (no green cones)#006AD30.021
Tritanopia (no blue cones)#0088980.130
Achromatopsia (no color)#7272720.173

Harmonies

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

Complementary

The opposite hue (180°).

  • #2170D5

    #2170D5

    oklch(55.5% 0.172 256.9)

  • #996800

    #996800

    oklch(55.5% 0.116 76.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2170D5

    #2170D5

    oklch(55.5% 0.172 256.9)

  • #007FA3

    #007FA3

    oklch(55.6% 0.107 226.4)

  • #6F5CD1

    #6F5CD1

    oklch(55.4% 0.173 286.8)

Open the analogous palette in the generator

Split complementary

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

  • #2170D5

    #2170D5

    oklch(55.5% 0.172 256.9)

  • #B84F00

    #B84F00

    oklch(55.5% 0.154 46.9)

  • #7C7700

    #7C7700

    oklch(55.6% 0.119 106.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2170D5

    #2170D5

    oklch(55.5% 0.172 256.9)

  • #C33A4D

    #C33A4D

    oklch(55.5% 0.173 17.1)

  • #3C8800

    #3C8800

    oklch(55.6% 0.168 136.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2170D5

    #2170D5

    oklch(55.5% 0.172 256.9)

  • #B63E86

    #B63E86

    oklch(55.5% 0.172 347.2)

  • #996800

    #996800

    oklch(55.5% 0.116 76.4)

  • #008865

    #008865

    oklch(55.6% 0.114 167)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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