#31718D

Closest named color: Sea Blue (#047495). oklch(51.9% 0.078 229.7), rgb(49, 113, 141).

Aa

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

About this color

#31718D is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 52%, its chroma 0.078 and its hue 230°. Its hue sits on the cool side of the wheel. The nearest named color is Sea Blue (#047495), ΔE 0.021 away. White text reads best on it, at 5.41:1.

Hue familyTeals and cyans
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.078)
Temperaturecool
Nearest nameSea Blue (#047495)
Black text3.87:1
White text5.41:1

Values

HEX#31718D
RGBrgb(49, 113, 141)
HSLhsl(198, 48%, 37%)
OKLCHoklch(51.9% 0.078 229.7)

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 #31718D 5.41:1 AA Lc -82.1 Fine for body text
Black text on #31718D 3.87:1 AA large text Lc 27.3 Dividers and decoration only
#31718D text on white 5.41:1 AA Lc 76.8 Fine for body text
#31718D text on black 3.87:1 AA large text Lc -25.0 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 700.

  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

    #CCDCE4

    oklch(88.5% 0.02 229.1)

  4. Step 300

    300

    #A8C6D5

    oklch(80.9% 0.039 229.5)

  5. Step 400

    400

    #79A8BF

    oklch(70.6% 0.06 229.8)

  6. Step 500

    500

    #5492AF

    oklch(63% 0.078 229.9)

  7. Step 600

    600

    #367C9B

    oklch(55.5% 0.085 230)

  8. Step 700

    700 (this color)

    #31718D

    oklch(51.9% 0.078 229.7)

  9. Step 800

    800

    #23556C

    oklch(42.6% 0.065 231)

  10. Step 900

    900

    #224757

    oklch(37.8% 0.05 228.4)

  11. Step 950

    950

    #152933

    oklch(26.9% 0.032 231.4)

Export this scale for Tailwind in the Tailwind colors tool

#31718D 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)#636F8E0.056
Deuteranopia (no green cones)#56668D0.048
Tritanopia (no blue cones)#00797A0.050
Achromatopsia (no color)#6A6A6A0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #31718D

    #31718D

    oklch(51.9% 0.078 229.7)

  • #8D5B3E

    #8D5B3E

    oklch(51.9% 0.078 50.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #31718D

    #31718D

    oklch(51.9% 0.078 229.7)

  • #20767A

    #20767A

    oklch(51.9% 0.078 199.6)

  • #4D6996

    #4D6996

    oklch(51.8% 0.079 259.6)

Open the analogous palette in the generator

Split complementary

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

  • #31718D

    #31718D

    oklch(51.9% 0.078 229.7)

  • #915656

    #915656

    oklch(52% 0.079 20.1)

  • #816330

    #816330

    oklch(51.9% 0.078 78.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #31718D

    #31718D

    oklch(51.9% 0.078 229.7)

  • #8B556F

    #8B556F

    oklch(51.9% 0.079 349.9)

  • #6C6D34

    #6C6D34

    oklch(52.1% 0.079 109.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #31718D

    #31718D

    oklch(51.9% 0.078 229.7)

  • #7D5A85

    #7D5A85

    oklch(52% 0.078 320)

  • #8D5B3E

    #8D5B3E

    oklch(51.9% 0.078 50.4)

  • #507448

    #507448

    oklch(52% 0.079 140)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #31718D 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.