#217BAF

Closest named color: Nice Blue (#107AB0). oklch(55.6% 0.114 239.8), rgb(33, 123, 175).

Aa

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

About this color

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

Hue familyBlues
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.114)
Temperaturecool
Nearest nameNice Blue (#107AB0)
Black text4.51:1
White text4.64:1

Values

HEX#217BAF
RGBrgb(33, 123, 175)
HSLhsl(202, 68%, 41%)
OKLCHoklch(55.6% 0.114 239.8)

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 #217BAF 4.64:1 AA Lc -77.4 Fine for body text
Black text on #217BAF 4.51:1 AA Lc 32.2 Non-text elements, placeholder text
#217BAF text on white 4.64:1 AA Lc 71.9 Content text, not long reading
#217BAF text on black 4.51:1 AA Lc -29.8 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

    #A3C6DF

    oklch(80.9% 0.052 239.4)

  5. Step 400

    400

    #70A8CF

    oklch(70.8% 0.082 239.8)

  6. Step 500

    500

    #4691C2

    oklch(63% 0.105 240)

  7. Step 600

    600 (this color)

    #217BAF

    oklch(55.6% 0.114 239.8)

  8. Step 700

    700

    #106796

    oklch(49% 0.106 239.8)

  9. Step 800

    800

    #13547A

    oklch(42.6% 0.088 240.2)

  10. Step 900

    900

    #194662

    oklch(37.7% 0.068 239.6)

  11. Step 950

    950

    #102939

    oklch(26.9% 0.043 239.2)

Export this scale for Tailwind in the Tailwind colors tool

#217BAF 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)#627CB10.059
Deuteranopia (no green cones)#4F6FAE0.046
Tritanopia (no blue cones)#00888D0.076
Achromatopsia (no color)#7474740.114

Harmonies

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

Complementary

The opposite hue (180°).

  • #217BAF

    #217BAF

    oklch(55.6% 0.114 239.8)

  • #A36122

    #A36122

    oklch(55.6% 0.114 59.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #217BAF

    #217BAF

    oklch(55.6% 0.114 239.8)

  • #008292

    #008292

    oklch(55.6% 0.096 209.8)

  • #596FB6

    #596FB6

    oklch(55.7% 0.114 269.5)

Open the analogous palette in the generator

Split complementary

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

  • #217BAF

    #217BAF

    oklch(55.6% 0.114 239.8)

  • #AC574A

    #AC574A

    oklch(55.7% 0.114 30.1)

  • #8D6F00

    #8D6F00

    oklch(55.5% 0.113 89.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #217BAF

    #217BAF

    oklch(55.6% 0.114 239.8)

  • #A85471

    #A85471

    oklch(55.6% 0.115 359.6)

  • #6B7D24

    #6B7D24

    oklch(55.7% 0.115 120.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #217BAF

    #217BAF

    oklch(55.6% 0.114 239.8)

  • #985993

    #985993

    oklch(55.6% 0.114 329.9)

  • #A36122

    #A36122

    oklch(55.6% 0.114 59.8)

  • #3A864E

    #3A864E

    oklch(55.7% 0.115 149.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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