#315F5D#315F5D

#315F5D is a mid, muted teal. Relative luminance 0.096; OKLCH L 45.2% C 0.051 H 191.8°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#315F5D
RGBrgb(49, 95, 93)
HSLhsl(177, 32%, 28%)
HSVhsv(177, 48%, 37%)
CMYKcmyk(48.4%, 0%, 2.1%, 62.7%)
CIE-LABlab(37.16, -16.30, -3.76)
CIE-LCHlch(37.16, 16.72, 192.99°)
OKLaboklab(45.22% -0.0497 -0.0104)
OKLCHoklch(45.22% 0.051 191.8)
XYZxyz(7.3338, 9.6271, 11.8256)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F5D #5F3133
analogous
#315F46 #315F5D #314A5F
triadic
#315F5D #5D315F #5F5D31
tetradic
#315F5D #46315F #5F3133 #4A5F31
square
#315F5D #46315F #5F3133 #4A5F31
split-complementary
#315F5D #5F314A #5F4631
monochromatic
#0A1414 #1C3735 #315F5D #468785 #5EACA9

Accessibility & contrast

On white

7.18
#315F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#315F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315F5D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F5D#FFFFFF#000000##FFFFFF
##315F5D1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5B5D
Deuteranopia (green-blind)
#52555D
Tritanopia (blue-blind)
#1A615E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #315f5d;
/* rgb */ color: rgb(49, 95, 93);
/* oklch */ color: oklch(45.2% 0.051 191.8);
Tailwind
colors: {
  custom: {
    50: '#6d8c8a',
    500: '#315f5d',
    950: '#000000',
  },
}
SCSS
$custom: #315f5d;
$custom-light: #6d8c8a;
$custom-dark: #000000;
JSON
{
  "hex": "#315f5d",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 93
  },
  "hsl": {
    "h": 177.391,
    "s": 31.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.45223,
    "c": 0.05077,
    "h": 191.8
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#315F5D
secondary
#905C5E
accent
#6064C8
background
#F6F8F8
surface
#ECF0F0
border
#C7CBCB
text
#070C0B
muted
#7A7D7C

Preview Lab

Preview with #315F5D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#315F5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva