#398A7D

Closest named color: Dark Cyan (#008B8B). oklch(58% 0.081 181.1), rgb(57, 138, 125).

Aa

Black text reads best on this color (5.10:1).

About this color

#398A7D is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 58%, its chroma 0.081 and its hue 181°. Its hue sits on the cool side of the wheel. The nearest named color is Dark Cyan (#008B8B), ΔE 0.027 away. Black text reads best on it, at 5.10:1.

Hue familyTeals and cyans
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.081)
Temperaturecool
Nearest nameDark Cyan (#008B8B)
Black text5.10:1
White text4.11:1

Values

HEX#398A7D
RGBrgb(57, 138, 125)
HSLhsl(170, 42%, 38%)
OKLCHoklch(58% 0.081 181.1)

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 #398A7D 4.11:1 AA large text Lc -73.5 Content text, not long reading
Black text on #398A7D 5.10:1 AA Lc 36.0 Non-text elements, placeholder text
#398A7D text on white 4.11:1 AA large text Lc 68.0 Content text, not long reading
#398A7D text on black 5.10:1 AA Lc -33.6 Non-text elements, placeholder text

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

    #F2F6F5

    oklch(97% 0.004 179.7)

  2. Step 100

    100

    #E3ECEA

    oklch(93.6% 0.01 181.4)

  3. Step 200

    200

    #CBDEDA

    oklch(88.5% 0.021 181.8)

  4. Step 300

    300

    #A8C9C2

    oklch(81% 0.037 181.1)

  5. Step 400

    400

    #77ADA3

    oklch(70.7% 0.059 181.7)

  6. Step 500

    500

    #51998C

    oklch(63.2% 0.076 180.6)

  7. Step 600

    600 (this color)

    #398A7D

    oklch(58% 0.081 181.1)

  8. Step 700

    700

    #226F63

    oklch(49.2% 0.076 180.6)

  9. Step 800

    800

    #1F5A51

    oklch(42.7% 0.062 181.4)

  10. Step 900

    900

    #204A43

    oklch(37.7% 0.049 181.2)

  11. Step 950

    950

    #142B27

    oklch(26.9% 0.03 181.4)

Export this scale for Tailwind in the Tailwind colors tool

#398A7D 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)#84827D0.087
Deuteranopia (no green cones)#78797E0.083
Tritanopia (no blue cones)#008C860.023
Achromatopsia (no color)#7D7D7D0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #398A7D

    #398A7D

    oklch(58% 0.081 181.1)

  • #A26577

    #A26577

    oklch(57.8% 0.082 0.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #398A7D

    #398A7D

    oklch(58% 0.081 181.1)

  • #558861

    #558861

    oklch(58% 0.081 150.7)

  • #348796

    #348796

    oklch(58% 0.082 211.6)

Open the analogous palette in the generator

Split complementary

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

  • #398A7D

    #398A7D

    oklch(58% 0.081 181.1)

  • #966890

    #966890

    oklch(57.9% 0.081 331.2)

  • #A5685C

    #A5685C

    oklch(58% 0.081 31.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #398A7D

    #398A7D

    oklch(58% 0.081 181.1)

  • #826FA3

    #826FA3

    oklch(58% 0.081 300.7)

  • #9D6F46

    #9D6F46

    oklch(58% 0.081 61.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #398A7D

    #398A7D

    oklch(58% 0.081 181.1)

  • #6877AB

    #6877AB

    oklch(57.8% 0.082 271.3)

  • #A26577

    #A26577

    oklch(57.8% 0.082 0.9)

  • #8C783E

    #8C783E

    oklch(57.9% 0.081 90.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #398A7D 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.