#315751#315751

#315751 is a dark, muted teal. Relative luminance 0.081; OKLCH L 42.6% C 0.045 H 182.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#315751
RGBrgb(49, 87, 81)
HSLhsl(171, 28%, 27%)
HSVhsv(171, 44%, 34%)
CMYKcmyk(43.7%, 0%, 6.9%, 65.9%)
CIE-LABlab(34.11, -15.17, -0.77)
CIE-LCHlch(34.11, 15.19, 182.89°)
OKLaboklab(42.64% -0.0447 -0.0023)
OKLCHoklch(42.64% 0.045 182.9)
XYZxyz(6.1595, 8.0630, 9.0147)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#315751 #573137
analogous
#31573E #315751 #314A57
triadic
#315751 #513157 #575131
tetradic
#315751 #3E3157 #573137 #4A5731
square
#315751 #3E3157 #573137 #4A5731
split-complementary
#315751 #57314A #573E31
monochromatic
#0B1412 #1B302D #315751 #477E75 #5EA499

Accessibility & contrast

On white

8.04
#315751 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#315751 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #315751
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##315751#FFFFFF#000000##FFFFFF
##3157511.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545351
Deuteranopia (green-blind)
#4D4E52
Tritanopia (blue-blind)
#235855
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #315751;
/* rgb */ color: rgb(49, 87, 81);
/* oklch */ color: oklch(42.6% 0.045 182.9);
Tailwind
colors: {
  custom: {
    50: '#6b8681',
    500: '#315751',
    950: '#000000',
  },
}
SCSS
$custom: #315751;
$custom-light: #6b8681;
$custom-dark: #000000;
JSON
{
  "hex": "#315751",
  "rgb": {
    "r": 49,
    "g": 87,
    "b": 81
  },
  "hsl": {
    "h": 170.526,
    "s": 27.941,
    "l": 26.667
  },
  "oklch": {
    "l": 0.42641,
    "c": 0.0448,
    "h": 182.9
  },
  "luminance": 0.08063
}

Semantic roles & 50–950 ramp

primary
#315751
secondary
#885C63
accent
#6473C4
background
#F6F8F7
surface
#EBEFEE
border
#C6CAC9
text
#070B0A
muted
#7A7C7C

Preview Lab

Preview with #315751

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

Preview Lab → · Contrast checker → · Palette generator →

#315751 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva