#2F7793

Closest named color: Ocean (#017B92). oklch(53.6% 0.083 227.2), rgb(47, 119, 147).

Aa

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

About this color

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

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

Values

HEX#2F7793
RGBrgb(47, 119, 147)
HSLhsl(197, 52%, 38%)
OKLCHoklch(53.6% 0.083 227.2)

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 #2F7793 5.02:1 AA Lc -79.9 Fine for body text
Black text on #2F7793 4.18:1 AA large text Lc 29.6 Dividers and decoration only
#2F7793 text on white 5.02:1 AA Lc 74.5 Content text, not long reading
#2F7793 text on black 4.18:1 AA large text Lc -27.2 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

    #E3EBEF

    oklch(93.5% 0.01 228.9)

  3. Step 200

    200

    #CCDCE4

    oklch(88.5% 0.02 229.1)

  4. Step 300

    300

    #A8C6D4

    oklch(80.9% 0.038 227.7)

  5. Step 400

    400

    #79A9BE

    oklch(70.8% 0.06 226.9)

  6. Step 500

    500

    #5493AD

    oklch(63.1% 0.076 226.7)

  7. Step 600

    600 (this color)

    #2F7793

    oklch(53.6% 0.083 227.2)

  8. Step 700

    700

    #276983

    oklch(49.1% 0.078 227.7)

  9. Step 800

    800

    #22566A

    oklch(42.7% 0.064 226.6)

  10. Step 900

    900

    #224756

    oklch(37.7% 0.049 226.8)

  11. Step 950

    950

    #152A32

    oklch(27.1% 0.031 224.6)

Export this scale for Tailwind in the Tailwind colors tool

#2F7793 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)#6875940.061
Deuteranopia (no green cones)#5A6B930.053
Tritanopia (no blue cones)#007F800.048
Achromatopsia (no color)#6F6F6F0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #2F7793

    #2F7793

    oklch(53.6% 0.083 227.2)

  • #955E42

    #955E42

    oklch(53.6% 0.083 47.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2F7793

    #2F7793

    oklch(53.6% 0.083 227.2)

  • #1E7C7E

    #1E7C7E

    oklch(53.6% 0.083 197.1)

  • #4E6F9D

    #4E6F9D

    oklch(53.6% 0.082 256.8)

Open the analogous palette in the generator

Split complementary

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

  • #2F7793

    #2F7793

    oklch(53.6% 0.083 227.2)

  • #98595C

    #98595C

    oklch(53.7% 0.083 17.2)

  • #886731

    #886731

    oklch(53.6% 0.083 77.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2F7793

    #2F7793

    oklch(53.6% 0.083 227.2)

  • #915977

    #915977

    oklch(53.6% 0.084 346.9)

  • #737134

    #737134

    oklch(53.7% 0.083 107.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2F7793

    #2F7793

    oklch(53.6% 0.083 227.2)

  • #815E8D

    #815E8D

    oklch(53.6% 0.082 317.3)

  • #955E42

    #955E42

    oklch(53.6% 0.083 47.4)

  • #567948

    #567948

    oklch(53.6% 0.083 137.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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