#21796B

Closest named color: Bluegreen (#017A79). oklch(52.1% 0.084 179.9), rgb(33, 121, 107).

Aa

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

About this color

#21796B is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 52%, its chroma 0.084 and its hue 180°. Its hue sits on the cool side of the wheel. The nearest named color is Bluegreen (#017A79), ΔE 0.022 away. White text reads best on it, at 5.23:1.

Hue familyTeals and cyans
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.084)
Temperaturecool
Nearest nameBluegreen (#017A79)
Black text4.01:1
White text5.23:1

Values

HEX#21796B
RGBrgb(33, 121, 107)
HSLhsl(170, 57%, 30%)
OKLCHoklch(52.1% 0.084 179.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 #21796B 5.23:1 AA Lc -81.0 Fine for body text
Black text on #21796B 4.01:1 AA large text Lc 28.4 Dividers and decoration only
#21796B text on white 5.23:1 AA Lc 75.7 Fine for body text
#21796B text on black 4.01:1 AA large text Lc -26.1 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

    #F2F7F5

    oklch(97.2% 0.006 170.4)

  2. Step 100

    100

    #E2EDEA

    oklch(93.7% 0.012 178)

  3. Step 200

    200

    #CADED9

    oklch(88.4% 0.022 179.1)

  4. Step 300

    300

    #A5CAC1

    oklch(81% 0.041 178.8)

  5. Step 400

    400

    #72AEA2

    oklch(70.6% 0.065 180.3)

  6. Step 500

    500

    #499A8B

    oklch(63.1% 0.083 179.7)

  7. Step 600

    600

    #238475

    oklch(55.5% 0.09 180.1)

  8. Step 700

    700 (this color)

    #21796B

    oklch(52.1% 0.084 179.9)

  9. Step 800

    800

    #155B50

    oklch(42.6% 0.069 179.9)

  10. Step 900

    900

    #1B4B43

    oklch(37.7% 0.054 180.6)

  11. Step 950

    950

    #112C27

    oklch(27% 0.035 179.9)

Export this scale for Tailwind in the Tailwind colors tool

#21796B 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)#74716A0.090
Deuteranopia (no green cones)#67686C0.085
Tritanopia (no blue cones)#007B750.016
Achromatopsia (no color)#6C6C6C0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #21796B

    #21796B

    oklch(52.1% 0.084 179.9)

  • #915467

    #915467

    oklch(52.2% 0.084 0.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21796B

    #21796B

    oklch(52.1% 0.084 179.9)

  • #43774F

    #43774F

    oklch(52.1% 0.084 150.1)

  • #187684

    #187684

    oklch(52.1% 0.084 210.2)

Open the analogous palette in the generator

Split complementary

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

  • #21796B

    #21796B

    oklch(52.1% 0.084 179.9)

  • #855781

    #855781

    oklch(52.2% 0.085 329.8)

  • #94564C

    #94564C

    oklch(52.2% 0.085 30)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21796B

    #21796B

    oklch(52.1% 0.084 179.9)

  • #715E93

    #715E93

    oklch(52.2% 0.084 300)

  • #8D5D34

    #8D5D34

    oklch(52.2% 0.084 59.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21796B

    #21796B

    oklch(52.1% 0.084 179.9)

  • #56679A

    #56679A

    oklch(52.2% 0.084 269.3)

  • #915467

    #915467

    oklch(52.2% 0.084 0.4)

  • #7C672A

    #7C672A

    oklch(52.1% 0.084 90.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21796B 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.