#21719E

Closest named color: Ocean Blue (#03719C). oklch(52.3% 0.103 238.6), rgb(33, 113, 158).

Aa

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

About this color

#21719E is a medium-dark, moderately saturated blue. In OKLCH its lightness is 52%, its chroma 0.103 and its hue 239°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean Blue (#03719C), ΔE 0.011 away. White text reads best on it, at 5.35:1.

Hue familyBlues
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.103)
Temperaturecool
Nearest nameOcean Blue (#03719C)
Black text3.92:1
White text5.35:1

Values

HEX#21719E
RGBrgb(33, 113, 158)
HSLhsl(202, 65%, 37%)
OKLCHoklch(52.3% 0.103 238.6)

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 #21719E 5.35:1 AA Lc -81.7 Fine for body text
Black text on #21719E 3.92:1 AA large text Lc 27.8 Dividers and decoration only
#21719E text on white 5.35:1 AA Lc 76.3 Fine for body text
#21719E text on black 3.92:1 AA large text Lc -25.4 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 700.

  1. Step 50

    50

    #F2F6F9

    oklch(97.1% 0.006 239.8)

  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

    #A4C6DE

    oklch(81% 0.05 239)

  5. Step 400

    400

    #71A8CD

    oklch(70.7% 0.079 238.8)

  6. Step 500

    500

    #4792C0

    oklch(63.2% 0.102 238.2)

  7. Step 600

    600

    #237BAC

    oklch(55.5% 0.11 238.5)

  8. Step 700

    700 (this color)

    #21719E

    oklch(52.3% 0.103 238.6)

  9. Step 800

    800

    #155578

    oklch(42.8% 0.085 238.1)

  10. Step 900

    900

    #1A4661

    oklch(37.7% 0.067 239.1)

  11. Step 950

    950

    #112939

    oklch(27% 0.042 240.1)

Export this scale for Tailwind in the Tailwind colors tool

#21719E 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)#5C71A00.056
Deuteranopia (no green cones)#4B669D0.044
Tritanopia (no blue cones)#007C810.066
Achromatopsia (no color)#6B6B6B0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #21719E

    #21719E

    oklch(52.3% 0.103 238.6)

  • #955925

    #955925

    oklch(52.3% 0.103 58.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21719E

    #21719E

    oklch(52.3% 0.103 238.6)

  • #007885

    #007885

    oklch(52.4% 0.09 208)

  • #5166A5

    #5166A5

    oklch(52.2% 0.103 268.7)

Open the analogous palette in the generator

Split complementary

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

  • #21719E

    #21719E

    oklch(52.3% 0.103 238.6)

  • #9C5047

    #9C5047

    oklch(52.2% 0.103 28.1)

  • #82660D

    #82660D

    oklch(52.4% 0.103 88.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21719E

    #21719E

    oklch(52.3% 0.103 238.6)

  • #984E69

    #984E69

    oklch(52.2% 0.103 358.1)

  • #647224

    #647224

    oklch(52.4% 0.103 118.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21719E

    #21719E

    oklch(52.3% 0.103 238.6)

  • #8A5387

    #8A5387

    oklch(52.4% 0.103 328.9)

  • #955925

    #955925

    oklch(52.3% 0.103 58.2)

  • #3A7A47

    #3A7A47

    oklch(52.3% 0.103 148.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21719E 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.