#31706B#31706B

#31706B is a mid, moderate teal. Relative luminance 0.133; OKLCH L 50.3% C 0.065 H 188.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#31706B
RGBrgb(49, 112, 107)
HSLhsl(175, 39%, 32%)
HSVhsv(175, 56%, 44%)
CMYKcmyk(56.3%, 0%, 4.5%, 56.1%)
CIE-LABlab(43.21, -21.47, -3.36)
CIE-LCHlch(43.21, 21.73, 188.90°)
OKLaboklab(50.25% -0.0645 -0.0094)
OKLCHoklch(50.25% 0.065 188.3)
XYZxyz(9.7135, 13.3019, 15.9627)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31706B #703136
analogous
#31704C #31706B #315670
triadic
#31706B #6B3170 #706B31
tetradic
#31706B #4C3170 #703136 #567031
square
#31706B #4C3170 #703136 #567031
split-complementary
#31706B #703156 #704C31
monochromatic
#0C1B1A #1E4542 #31706B #449B94 #61BAB3

Accessibility & contrast

On white

5.74
#31706B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#31706B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31706B
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31706B#FFFFFF#000000##FFFFFF
##31706B1.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6A6B
Deuteranopia (green-blind)
#60636C
Tritanopia (blue-blind)
#00736E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #31706b;
/* rgb */ color: rgb(49, 112, 107);
/* oklch */ color: oklch(50.3% 0.065 188.3);
Tailwind
colors: {
  custom: {
    50: '#709995',
    500: '#31706b',
    950: '#000000',
  },
}
SCSS
$custom: #31706b;
$custom-light: #709995;
$custom-dark: #000000;
JSON
{
  "hex": "#31706b",
  "rgb": {
    "r": 49,
    "g": 112,
    "b": 107
  },
  "hsl": {
    "h": 175.238,
    "s": 39.13,
    "l": 31.569
  },
  "oklch": {
    "l": 0.50252,
    "c": 0.06516,
    "h": 188.3
  },
  "luminance": 0.13303
}

Semantic roles & 50–950 ramp

primary
#31706B
secondary
#A15C61
accent
#5962CF
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #31706B

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

Preview Lab → · Contrast checker → · Palette generator →

#31706B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva