#315F4E#315F4E

#315F4E is a dark, muted teal. Relative luminance 0.094; OKLCH L 44.7% C 0.059 H 167.7°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#315F4E
RGBrgb(49, 95, 78)
HSLhsl(158, 32%, 28%)
HSVhsv(158, 48%, 37%)
CMYKcmyk(48.4%, 0%, 17.9%, 62.7%)
CIE-LABlab(36.72, -20.35, 4.87)
CIE-LCHlch(36.72, 20.92, 166.53°)
OKLaboklab(44.72% -0.0572 0.0125)
OKLCHoklch(44.72% 0.059 167.7)
XYZxyz(6.7334, 9.3869, 8.6633)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315F4E #5F3142
analogous
#315F37 #315F4E #31595F
triadic
#315F4E #4E315F #5F4E31
tetradic
#315F4E #37315F #5F3142 #595F31
square
#315F4E #37315F #5F3142 #595F31
split-complementary
#315F4E #5F3159 #5F3731
monochromatic
#0A1411 #1C372D #315F4E #46876F #5EAC8F

Accessibility & contrast

On white

7.30
#315F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#315F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315F4E
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315F4E#FFFFFF#000000##FFFFFF
##315F4E1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D594D
Deuteranopia (green-blind)
#56544F
Tritanopia (blue-blind)
#225F5A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #315f4e;
/* rgb */ color: rgb(49, 95, 78);
/* oklch */ color: oklch(44.7% 0.059 167.7);
Tailwind
colors: {
  custom: {
    50: '#6c8c7f',
    500: '#315f4e',
    950: '#000000',
  },
}
SCSS
$custom: #315f4e;
$custom-light: #6c8c7f;
$custom-dark: #000000;
JSON
{
  "hex": "#315f4e",
  "rgb": {
    "r": 49,
    "g": 95,
    "b": 78
  },
  "hsl": {
    "h": 157.826,
    "s": 31.944,
    "l": 28.235
  },
  "oklch": {
    "l": 0.44715,
    "c": 0.05855,
    "h": 167.7
  },
  "luminance": 0.09387
}

Semantic roles & 50–950 ramp

primary
#315F4E
secondary
#905C6F
accent
#6086C8
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#070C0A
muted
#7A7D7C

Preview Lab

Preview with #315F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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