#315A4E#315A4E

#315A4E is a dark, muted teal. Relative luminance 0.085; OKLCH L 43.4% C 0.051 H 173.0°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#315A4E
RGBrgb(49, 90, 78)
HSLhsl(162, 29%, 27%)
HSVhsv(162, 46%, 35%)
CMYKcmyk(45.6%, 0%, 13.3%, 64.7%)
CIE-LABlab(35.03, -17.65, 2.45)
CIE-LCHlch(35.03, 17.82, 172.09°)
OKLaboklab(43.35% -0.0504 0.0062)
OKLCHoklch(43.35% 0.051 173)
XYZxyz(6.2974, 8.5149, 8.5179)
Luminance0.0852 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315A4E #5A313D
analogous
#315A3A #315A4E #31525A
triadic
#315A4E #4E315A #5A4E31
tetradic
#315A4E #3A315A #5A313D #525A31
square
#315A4E #3A315A #5A313D #525A31
split-complementary
#315A4E #5A3152 #5A3A31
monochromatic
#0B1411 #1B322C #315A4E #478270 #5EA792

Accessibility & contrast

On white

7.77
#315A4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#315A4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315A4E
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315A4E#FFFFFF#000000##FFFFFF
##315A4E1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58554D
Deuteranopia (green-blind)
#51504F
Tritanopia (blue-blind)
#235B56
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #315a4e;
/* rgb */ color: rgb(49, 90, 78);
/* oklch */ color: oklch(43.4% 0.051 173.0);
Tailwind
colors: {
  custom: {
    50: '#6c897f',
    500: '#315a4e',
    950: '#000000',
  },
}
SCSS
$custom: #315a4e;
$custom-light: #6c897f;
$custom-dark: #000000;
JSON
{
  "hex": "#315a4e",
  "rgb": {
    "r": 49,
    "g": 90,
    "b": 78
  },
  "hsl": {
    "h": 162.439,
    "s": 29.496,
    "l": 27.255
  },
  "oklch": {
    "l": 0.43352,
    "c": 0.05079,
    "h": 173
  },
  "luminance": 0.08515
}

Semantic roles & 50–950 ramp

primary
#315A4E
secondary
#8B5C6A
accent
#627FC6
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070B0A
muted
#7A7C7C

Preview Lab

Preview with #315A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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