#2F798D

Closest named color: Ocean (#017B92). oklch(53.9% 0.078 218.8), rgb(47, 121, 141).

Aa

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

About this color

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

Hue familyTeals and cyans
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameOcean (#017B92)
Black text4.24:1
White text4.95:1

Values

HEX#2F798D
RGBrgb(47, 121, 141)
HSLhsl(193, 50%, 37%)
OKLCHoklch(53.9% 0.078 218.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 #2F798D 4.95:1 AA Lc -79.5 Fine for body text
Black text on #2F798D 4.24:1 AA large text Lc 30.0 Non-text elements, placeholder text
#2F798D text on white 4.95:1 AA Lc 74.0 Content text, not long reading
#2F798D text on black 4.24:1 AA large text Lc -27.7 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

    #E3ECEE

    oklch(93.7% 0.01 212.5)

  3. Step 200

    200

    #CCDDE2

    oklch(88.6% 0.02 217.2)

  4. Step 300

    300

    #A8C7D0

    oklch(81% 0.036 217.2)

  5. Step 400

    400

    #79A9B8

    oklch(70.6% 0.056 219.2)

  6. Step 500

    500

    #5394A7

    oklch(63.1% 0.072 218.9)

  7. Step 600

    600 (this color)

    #2F798D

    oklch(53.9% 0.078 218.8)

  8. Step 700

    700

    #266A7D

    oklch(49% 0.073 219.8)

  9. Step 800

    800

    #225765

    oklch(42.8% 0.06 218.1)

  10. Step 900

    900

    #224852

    oklch(37.8% 0.046 217.1)

  11. Step 950

    950

    #152A30

    oklch(27% 0.029 218.2)

Export this scale for Tailwind in the Tailwind colors tool

#2F798D 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)#6C768E0.066
Deuteranopia (no green cones)#5F6C8D0.059
Tritanopia (no blue cones)#00807F0.040
Achromatopsia (no color)#7070700.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F798D

    #2F798D

    oklch(53.9% 0.078 218.8)

  • #955E4C

    #955E4C

    oklch(53.8% 0.078 38.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F798D

    #2F798D

    oklch(53.9% 0.078 218.8)

  • #2B7D77

    #2B7D77

    oklch(53.9% 0.078 188.3)

  • #49729A

    #49729A

    oklch(53.9% 0.078 248.9)

Open the analogous palette in the generator

Split complementary

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

  • #2F798D

    #2F798D

    oklch(53.9% 0.078 218.8)

  • #955B65

    #955B65

    oklch(53.9% 0.077 8.8)

  • #8C6639

    #8C6639

    oklch(53.9% 0.078 69.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F798D

    #2F798D

    oklch(53.9% 0.078 218.8)

  • #8C5C7E

    #8C5C7E

    oklch(53.8% 0.079 338)

  • #7A6F36

    #7A6F36

    oklch(53.9% 0.078 98.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F798D

    #2F798D

    oklch(53.9% 0.078 218.8)

  • #7B6291

    #7B6291

    oklch(53.9% 0.077 308.3)

  • #955E4C

    #955E4C

    oklch(53.8% 0.078 38.9)

  • #607745

    #607745

    oklch(53.8% 0.078 128.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #2F798D 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.