#315F63

Closest named color: Petrol (#005F6A). oklch(45.5% 0.051 202.9), rgb(49, 95, 99).

Aa

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

About this color

#315F63 is a medium-dark, muted teal or cyan. In OKLCH its lightness is 45%, its chroma 0.051 and its hue 203°. Its hue sits on the cool side of the wheel. The nearest named color is Petrol (#005F6A), ΔE 0.028 away. White text reads best on it, at 7.12:1.

Hue familyTeals and cyans
Lightnessmedium-dark (45%)
Chromamuted (0.051)
Temperaturecool
Nearest namePetrol (#005F6A)
Black text2.94:1
White text7.12:1

Values

HEX#315F63
RGBrgb(49, 95, 99)
HSLhsl(185, 34%, 29%)
OKLCHoklch(45.5% 0.051 202.9)

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 #315F63 7.12:1 AAA Lc -89.5 Fine for body text
Black text on #315F63 2.94:1 Fails Lc 19.4 Dividers and decoration only
#315F63 text on white 7.12:1 AAA Lc 84.6 Fine for body text
#315F63 text on black 2.94:1 Fails Lc -17.4 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 800.

  1. Step 50

    50

    #F2F6F6

    oklch(97% 0.004 197.1)

  2. Step 100

    100

    #E4ECEC

    oklch(93.7% 0.009 197)

  3. Step 200

    200

    #CDDDDE

    oklch(88.6% 0.017 201.4)

  4. Step 300

    300

    #ABC7C9

    oklch(81% 0.03 201.9)

  5. Step 400

    400

    #7EAAAE

    oklch(70.8% 0.048 203.1)

  6. Step 500

    500

    #5B959A

    oklch(63.2% 0.061 202.8)

  7. Step 600

    600

    #3F7F84

    oklch(55.6% 0.066 202.2)

  8. Step 700

    700

    #306B70

    oklch(49.1% 0.062 202.8)

  9. Step 800

    800 (this color)

    #315F63

    oklch(45.5% 0.051 202.9)

  10. Step 900

    900

    #26484B

    oklch(37.7% 0.04 203)

  11. Step 950

    950

    #172A2C

    oklch(27% 0.025 204.3)

Export this scale for Tailwind in the Tailwind colors tool

#315F63 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)#595C630.051
Deuteranopia (no green cones)#5155630.048
Tritanopia (no blue cones)#1562600.023
Achromatopsia (no color)#5858580.051

Harmonies

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

Complementary

The opposite hue (180°).

  • #315F63

    #315F63

    oklch(45.5% 0.051 202.9)

  • #704B49

    #704B49

    oklch(45.3% 0.051 22.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #315F63

    #315F63

    oklch(45.5% 0.051 202.9)

  • #376054

    #376054

    oklch(45.5% 0.051 173.2)

  • #395C6E

    #395C6E

    oklch(45.6% 0.05 231.8)

Open the analogous palette in the generator

Split complementary

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

  • #315F63

    #315F63

    oklch(45.5% 0.051 202.9)

  • #6D4B59

    #6D4B59

    oklch(45.5% 0.05 352.9)

  • #6D4F3C

    #6D4F3C

    oklch(45.5% 0.05 53.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #315F63

    #315F63

    oklch(45.5% 0.051 202.9)

  • #644D67

    #644D67

    oklch(45.4% 0.05 322.5)

  • #645435

    #645435

    oklch(45.4% 0.051 83.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #315F63

    #315F63

    oklch(45.5% 0.051 202.9)

  • #575171

    #575171

    oklch(45.4% 0.052 292.8)

  • #704B49

    #704B49

    oklch(45.3% 0.051 22.7)

  • #565A38

    #565A38

    oklch(45.5% 0.052 113.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #315F63 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.