#317C8B

Closest named color: Ocean (#017B92). oklch(54.6% 0.076 213.1), rgb(49, 124, 139).

Aa

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

About this color

#317C8B is a medium-dark, moderately saturated teal or cyan. In OKLCH its lightness is 55%, its chroma 0.076 and its hue 213°. 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.78:1.

Hue familyTeals and cyans
Lightnessmedium-dark (55%)
Chromamoderately saturated (0.076)
Temperaturecool
Nearest nameOcean (#017B92)
Black text4.38:1
White text4.78:1

Values

HEX#317C8B
RGBrgb(49, 124, 139)
HSLhsl(190, 48%, 37%)
OKLCHoklch(54.6% 0.076 213.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 #317C8B 4.78:1 AA Lc -78.4 Fine for body text
Black text on #317C8B 4.38:1 AA large text Lc 31.1 Non-text elements, placeholder text
#317C8B text on white 4.78:1 AA Lc 73.0 Content text, not long reading
#317C8B text on black 4.38:1 AA large text Lc -28.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

    #F2F6F7

    oklch(97% 0.004 214.3)

  2. Step 100

    100

    #E3ECEE

    oklch(93.7% 0.01 212.5)

  3. Step 200

    200

    #CCDDE1

    oklch(88.6% 0.019 213.4)

  4. Step 300

    300

    #A8C7CE

    oklch(80.9% 0.035 212.9)

  5. Step 400

    400

    #78AAB5

    oklch(70.7% 0.055 212.8)

  6. Step 500

    500

    #5395A3

    oklch(63.1% 0.07 212.9)

  7. Step 600

    600 (this color)

    #317C8B

    oklch(54.6% 0.076 213.1)

  8. Step 700

    700

    #266B79

    oklch(49.1% 0.071 213.6)

  9. Step 800

    800

    #215762

    oklch(42.6% 0.059 213.3)

  10. Step 900

    900

    #214850

    oklch(37.7% 0.046 212.7)

  11. Step 950

    950

    #142A2F

    oklch(26.9% 0.029 214)

Export this scale for Tailwind in the Tailwind colors tool

#317C8B 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)#71788C0.070
Deuteranopia (no green cones)#636E8B0.063
Tritanopia (no blue cones)#0082810.033
Achromatopsia (no color)#7272720.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #317C8B

    #317C8B

    oklch(54.6% 0.076 213.1)

  • #986053

    #986053

    oklch(54.7% 0.076 33.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #317C8B

    #317C8B

    oklch(54.6% 0.076 213.1)

  • #337F75

    #337F75

    oklch(54.6% 0.076 183.5)

  • #47769A

    #47769A

    oklch(54.7% 0.076 242.9)

Open the analogous palette in the generator

Split complementary

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

  • #317C8B

    #317C8B

    oklch(54.6% 0.076 213.1)

  • #965D6C

    #965D6C

    oklch(54.6% 0.077 2.9)

  • #906640

    #906640

    oklch(54.5% 0.076 62.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #317C8B

    #317C8B

    oklch(54.6% 0.076 213.1)

  • #8B6084

    #8B6084

    oklch(54.7% 0.076 332.4)

  • #806F39

    #806F39

    oklch(54.6% 0.076 92.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #317C8B

    #317C8B

    oklch(54.6% 0.076 213.1)

  • #796595

    #796595

    oklch(54.5% 0.077 303.1)

  • #986053

    #986053

    oklch(54.7% 0.076 33.8)

  • #687845

    #687845

    oklch(54.7% 0.076 123.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #317C8B 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.