#315D4E#315D4E

#315D4E is a dark, muted teal. Relative luminance 0.090; OKLCH L 44.2% C 0.055 H 169.6°. Best body text is #FFFFFF at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#315D4E
RGBrgb(49, 93, 78)
HSLhsl(160, 31%, 28%)
HSVhsv(160, 47%, 36%)
CMYKcmyk(47.3%, 0%, 16.1%, 63.5%)
CIE-LABlab(36.04, -19.28, 3.91)
CIE-LCHlch(36.04, 19.67, 168.54°)
OKLaboklab(44.17% -0.0545 0.01)
OKLCHoklch(44.17% 0.055 169.6)
XYZxyz(6.5556, 9.0312, 8.6040)
Luminance0.0903 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315D4E #5D3140
analogous
#315D38 #315D4E #31565D
triadic
#315D4E #4E315D #5D4E31
tetradic
#315D4E #38315D #5D3140 #565D31
square
#315D4E #38315D #5D3140 #565D31
split-complementary
#315D4E #5D3156 #5D3831
monochromatic
#0B1411 #1C352C #315D4E #468570 #5EAA90

Accessibility & contrast

On white

7.48
#315D4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#315D4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315D4E
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315D4E#FFFFFF#000000##FFFFFF
##315D4E1.007.482.817.48
#FFFFFF7.481.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B584D
Deuteranopia (green-blind)
#54534F
Tritanopia (blue-blind)
#235E59
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #315d4e;
/* rgb */ color: rgb(49, 93, 78);
/* oklch */ color: oklch(44.2% 0.055 169.6);
Tailwind
colors: {
  custom: {
    50: '#6c8b7f',
    500: '#315d4e',
    950: '#000000',
  },
}
SCSS
$custom: #315d4e;
$custom-light: #6c8b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#315d4e",
  "rgb": {
    "r": 49,
    "g": 93,
    "b": 78
  },
  "hsl": {
    "h": 159.545,
    "s": 30.986,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4417,
    "c": 0.05541,
    "h": 169.6
  },
  "luminance": 0.09032
}

Semantic roles & 50–950 ramp

primary
#315D4E
secondary
#8E5C6D
accent
#6184C7
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070C0A
muted
#7A7D7C

Preview Lab

Preview with #315D4E

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

Preview Lab → · Contrast checker → · Palette generator →

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