#217AAD

Closest named color: Nice Blue (#107AB0). oklch(55.3% 0.113 239.5), rgb(33, 122, 173).

Aa

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

About this color

#217AAD is a medium-dark, moderately saturated blue. In OKLCH its lightness is 55%, its chroma 0.113 and its hue 240°. Its hue sits on the cool side of the wheel. The nearest named color is Nice Blue (#107AB0), ΔE 0.007 away. White text reads best on it, at 4.71:1.

Hue familyBlues
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.113)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.45:1
White text4.71:1

Values

HEX#217AAD
RGBrgb(33, 122, 173)
HSLhsl(202, 68%, 40%)
OKLCHoklch(55.3% 0.113 239.5)

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 #217AAD 4.71:1 AA Lc -77.8 Fine for body text
Black text on #217AAD 4.45:1 AA large text Lc 31.7 Non-text elements, placeholder text
#217AAD text on white 4.71:1 AA Lc 72.4 Content text, not long reading
#217AAD text on black 4.45:1 AA large text Lc -29.3 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

    #F1F6FA

    oklch(97.1% 0.008 241.7)

  2. Step 100

    100

    #E1EBF3

    oklch(93.5% 0.015 241.8)

  3. Step 200

    200

    #C9DCEA

    oklch(88.5% 0.028 239.7)

  4. Step 300

    300

    #A3C6DE

    oklch(80.9% 0.051 238.2)

  5. Step 400

    400

    #70A8CE

    oklch(70.7% 0.081 239.1)

  6. Step 500

    500

    #4791C2

    oklch(63% 0.104 240.3)

  7. Step 600

    600 (this color)

    #217AAD

    oklch(55.3% 0.113 239.5)

  8. Step 700

    700

    #126795

    oklch(49% 0.105 239.5)

  9. Step 800

    800

    #145479

    oklch(42.6% 0.087 239.7)

  10. Step 900

    900

    #1A4662

    oklch(37.8% 0.068 240)

  11. Step 950

    950

    #102939

    oklch(26.9% 0.043 239.2)

Export this scale for Tailwind in the Tailwind colors tool

#217AAD 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)#627AAF0.059
Deuteranopia (no green cones)#4F6EAC0.046
Tritanopia (no blue cones)#00878C0.075
Achromatopsia (no color)#7373730.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #217AAD

    #217AAD

    oklch(55.3% 0.113 239.5)

  • #A26023

    #A26023

    oklch(55.3% 0.113 59.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #217AAD

    #217AAD

    oklch(55.3% 0.113 239.5)

  • #008191

    #008191

    oklch(55.3% 0.096 209.9)

  • #586EB4

    #586EB4

    oklch(55.3% 0.112 269.3)

Open the analogous palette in the generator

Split complementary

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

  • #217AAD

    #217AAD

    oklch(55.3% 0.113 239.5)

  • #AA564A

    #AA564A

    oklch(55.2% 0.113 29.6)

  • #8C6E01

    #8C6E01

    oklch(55.2% 0.113 89.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #217AAD

    #217AAD

    oklch(55.3% 0.113 239.5)

  • #A65470

    #A65470

    oklch(55.3% 0.112 359.7)

  • #6B7B24

    #6B7B24

    oklch(55.2% 0.112 119.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #217AAD

    #217AAD

    oklch(55.3% 0.113 239.5)

  • #965892

    #965892

    oklch(55.2% 0.113 329.3)

  • #A26023

    #A26023

    oklch(55.3% 0.113 59.1)

  • #3B844D

    #3B844D

    oklch(55.2% 0.112 149.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #217AAD 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.