#315B4E#315B4E

#315B4E is a dark, muted teal. Relative luminance 0.087; OKLCH L 43.6% C 0.052 H 171.8°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#315B4E
RGBrgb(49, 91, 78)
HSLhsl(161, 30%, 27%)
HSVhsv(161, 46%, 36%)
CMYKcmyk(46.2%, 0%, 14.3%, 64.3%)
CIE-LABlab(35.37, -18.19, 2.94)
CIE-LCHlch(35.37, 18.43, 170.83°)
OKLaboklab(43.63% -0.0518 0.0075)
OKLCHoklch(43.63% 0.052 171.8)
XYZxyz(6.3823, 8.6847, 8.5463)
Luminance0.0868 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315B4E #5B313E
analogous
#315B39 #315B4E #31535B
triadic
#315B4E #4E315B #5B4E31
tetradic
#315B4E #39315B #5B313E #535B31
square
#315B4E #39315B #5B313E #535B31
split-complementary
#315B4E #5B3153 #5B3931
monochromatic
#0B1411 #1C332C #315B4E #468370 #5EA891

Accessibility & contrast

On white

7.67
#315B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#315B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315B4E
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315B4E#FFFFFF#000000##FFFFFF
##315B4E1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59564D
Deuteranopia (green-blind)
#52514F
Tritanopia (blue-blind)
#235C57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #315b4e;
/* rgb */ color: rgb(49, 91, 78);
/* oklch */ color: oklch(43.6% 0.052 171.8);
Tailwind
colors: {
  custom: {
    50: '#6c897f',
    500: '#315b4e',
    950: '#000000',
  },
}
SCSS
$custom: #315b4e;
$custom-light: #6c897f;
$custom-dark: #000000;
JSON
{
  "hex": "#315b4e",
  "rgb": {
    "r": 49,
    "g": 91,
    "b": 78
  },
  "hsl": {
    "h": 161.429,
    "s": 30,
    "l": 27.451
  },
  "oklch": {
    "l": 0.43625,
    "c": 0.05232,
    "h": 171.8
  },
  "luminance": 0.08685
}

Semantic roles & 50–950 ramp

primary
#315B4E
secondary
#8C5C6B
accent
#6281C6
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070B0A
muted
#7A7C7C

Preview Lab

Preview with #315B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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