#2E7998

Closest named color: Ocean (#017B92). oklch(54.3% 0.087 229), rgb(46, 121, 152).

Aa

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

About this color

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

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

Values

HEX#2E7998
RGBrgb(46, 121, 152)
HSLhsl(198, 54%, 39%)
OKLCHoklch(54.3% 0.087 229)

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 #2E7998 4.87:1 AA Lc -79.0 Fine for body text
Black text on #2E7998 4.30:1 AA large text Lc 30.5 Non-text elements, placeholder text
#2E7998 text on white 4.87:1 AA Lc 73.6 Content text, not long reading
#2E7998 text on black 4.30:1 AA large text Lc -28.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 600.

  1. Step 50

    50

    #F2F6F8

    oklch(97.1% 0.005 228.8)

  2. Step 100

    100

    #E3EBF0

    oklch(93.5% 0.011 234.8)

  3. Step 200

    200

    #CBDCE5

    oklch(88.4% 0.022 230.6)

  4. Step 300

    300

    #A7C6D5

    oklch(80.9% 0.04 228.7)

  5. Step 400

    400

    #77A9C0

    oklch(70.8% 0.063 228.3)

  6. Step 500

    500

    #5193B0

    oklch(63.1% 0.08 228.5)

  7. Step 600

    600 (this color)

    #2E7998

    oklch(54.3% 0.087 229)

  8. Step 700

    700

    #246985

    oklch(49.1% 0.081 228.9)

  9. Step 800

    800

    #20566C

    oklch(42.7% 0.067 228.4)

  10. Step 900

    900

    #204758

    oklch(37.7% 0.053 228.9)

  11. Step 950

    950

    #142A33

    oklch(27.1% 0.033 226.5)

Export this scale for Tailwind in the Tailwind colors tool

#2E7998 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)#69779A0.062
Deuteranopia (no green cones)#5A6C980.054
Tritanopia (no blue cones)#0082830.053
Achromatopsia (no color)#7171710.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #2E7998

    #2E7998

    oklch(54.3% 0.087 229)

  • #996040

    #996040

    oklch(54.5% 0.088 49.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #2E7998

    #2E7998

    oklch(54.3% 0.087 229)

  • #177F83

    #177F83

    oklch(54.4% 0.087 199)

  • #5070A2

    #5070A2

    oklch(54.2% 0.087 259.1)

Open the analogous palette in the generator

Split complementary

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

  • #2E7998

    #2E7998

    oklch(54.3% 0.087 229)

  • #9C5A5B

    #9C5A5B

    oklch(54.3% 0.087 19.3)

  • #8B692F

    #8B692F

    oklch(54.3% 0.087 78.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #2E7998

    #2E7998

    oklch(54.3% 0.087 229)

  • #955A78

    #955A78

    oklch(54.3% 0.087 348.5)

  • #747433

    #747433

    oklch(54.5% 0.087 109)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #2E7998

    #2E7998

    oklch(54.3% 0.087 229)

  • #865F90

    #865F90

    oklch(54.4% 0.087 319.3)

  • #996040

    #996040

    oklch(54.5% 0.088 49.5)

  • #557C4A

    #557C4A

    oklch(54.4% 0.087 139)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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