#21798F

Closest named color: Ocean (#017B92). oklch(53.6% 0.086 218.6), rgb(33, 121, 143).

Aa

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

About this color

#21798F is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 54%, its chroma 0.086 and its hue 219°. Its hue sits on the cool side of the wheel. The nearest named color is Ocean (#017B92), ΔE 0.010 away. White text reads best on it, at 5.00:1.

Hue familyTeals and cyans
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.086)
Temperaturecool
Nearest nameOcean (#017B92)
Black text4.19:1
White text5.00:1

Values

HEX#21798F
RGBrgb(33, 121, 143)
HSLhsl(192, 63%, 35%)
OKLCHoklch(53.6% 0.086 218.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 #21798F 5.00:1 AA Lc -79.7 Fine for body text
Black text on #21798F 4.19:1 AA large text Lc 29.8 Dividers and decoration only
#21798F text on white 5.00:1 AA Lc 74.3 Content text, not long reading
#21798F text on black 4.19:1 AA large text Lc -27.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 600.

  1. Step 50

    50

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E2ECEF

    oklch(93.6% 0.011 217.5)

  3. Step 200

    200

    #CADDE3

    oklch(88.5% 0.022 218.6)

  4. Step 300

    300

    #A6C7D2

    oklch(80.9% 0.039 220)

  5. Step 400

    400

    #74AABB

    oklch(70.6% 0.062 219.6)

  6. Step 500

    500

    #4C95AA

    oklch(63.1% 0.079 219)

  7. Step 600

    600 (this color)

    #21798F

    oklch(53.6% 0.086 218.6)

  8. Step 700

    700

    #1A6B7F

    oklch(49% 0.08 218.7)

  9. Step 800

    800

    #195767

    oklch(42.5% 0.066 218.7)

  10. Step 900

    900

    #1D4854

    oklch(37.7% 0.051 218.9)

  11. Step 950

    950

    #122A31

    oklch(26.9% 0.033 219.1)

Export this scale for Tailwind in the Tailwind colors tool

#21798F 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)#6B75900.073
Deuteranopia (no green cones)#5C6B8F0.065
Tritanopia (no blue cones)#0080800.038
Achromatopsia (no color)#6F6F6F0.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #21798F

    #21798F

    oklch(53.6% 0.086 218.6)

  • #985B47

    #985B47

    oklch(53.5% 0.086 38.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #21798F

    #21798F

    oklch(53.6% 0.086 218.6)

  • #1A7D77

    #1A7D77

    oklch(53.5% 0.086 188.7)

  • #43719D

    #43719D

    oklch(53.5% 0.086 248.7)

Open the analogous palette in the generator

Split complementary

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

  • #21798F

    #21798F

    oklch(53.6% 0.086 218.6)

  • #985763

    #985763

    oklch(53.5% 0.087 8.5)

  • #8E6331

    #8E6331

    oklch(53.5% 0.087 68.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #21798F

    #21798F

    oklch(53.6% 0.086 218.6)

  • #8E597E

    #8E597E

    oklch(53.5% 0.086 338.8)

  • #7A6E2D

    #7A6E2D

    oklch(53.6% 0.086 98.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #21798F

    #21798F

    oklch(53.6% 0.086 218.6)

  • #7C5F94

    #7C5F94

    oklch(53.6% 0.087 308.8)

  • #985B47

    #985B47

    oklch(53.5% 0.086 38.9)

  • #5E773F

    #5E773F

    oklch(53.5% 0.086 128.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #21798F 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.