#317C87

Closest named color: Ocean (#017B92). oklch(54.4% 0.075 208.5), rgb(49, 124, 135).

Aa

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

About this color

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

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

Values

HEX#317C87
RGBrgb(49, 124, 135)
HSLhsl(188, 47%, 36%)
OKLCHoklch(54.4% 0.075 208.5)

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 #317C87 4.81:1 AA Lc -78.6 Fine for body text
Black text on #317C87 4.36:1 AA large text Lc 30.9 Non-text elements, placeholder text
#317C87 text on white 4.81:1 AA Lc 73.2 Content text, not long reading
#317C87 text on black 4.36:1 AA large text Lc -28.5 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

    #E3ECED

    oklch(93.7% 0.01 204.9)

  3. Step 200

    200

    #CCDDE0

    oklch(88.6% 0.019 209.4)

  4. Step 300

    300

    #A8C7CC

    oklch(80.8% 0.034 208.4)

  5. Step 400

    400

    #79AAB2

    oklch(70.6% 0.053 208.7)

  6. Step 500

    500

    #5495A0

    oklch(63.1% 0.068 209.6)

  7. Step 600

    600 (this color)

    #317C87

    oklch(54.4% 0.075 208.5)

  8. Step 700

    700

    #266C76

    oklch(49.2% 0.07 208.4)

  9. Step 800

    800

    #225860

    oklch(42.8% 0.058 208.5)

  10. Step 900

    900

    #22484E

    oklch(37.6% 0.044 208.8)

  11. Step 950

    950

    #152A2E

    oklch(26.9% 0.028 211.1)

Export this scale for Tailwind in the Tailwind colors tool

#317C87 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)#7277880.072
Deuteranopia (no green cones)#656E870.066
Tritanopia (no blue cones)#00817F0.029
Achromatopsia (no color)#7272720.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #317C87

    #317C87

    oklch(54.4% 0.075 208.5)

  • #975F57

    #975F57

    oklch(54.5% 0.075 28.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #317C87

    #317C87

    oklch(54.4% 0.075 208.5)

  • #377E70

    #377E70

    oklch(54.3% 0.075 178.5)

  • #447697

    #447697

    oklch(54.5% 0.075 239.1)

Open the analogous palette in the generator

Split complementary

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

  • #317C87

    #317C87

    oklch(54.4% 0.075 208.5)

  • #945D6F

    #945D6F

    oklch(54.4% 0.076 358.8)

  • #916543

    #916543

    oklch(54.5% 0.075 58.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #317C87

    #317C87

    oklch(54.4% 0.075 208.5)

  • #886086

    #886086

    oklch(54.4% 0.075 328.2)

  • #826E3A

    #826E3A

    oklch(54.6% 0.075 88.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #317C87

    #317C87

    oklch(54.4% 0.075 208.5)

  • #756696

    #756696

    oklch(54.3% 0.075 298.2)

  • #975F57

    #975F57

    oklch(54.5% 0.075 28.6)

  • #6B7643

    #6B7643

    oklch(54.4% 0.074 118.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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