#31746A#31746A

#31746A is a mid, moderate teal. Relative luminance 0.142; OKLCH L 51.3% C 0.070 H 182.3°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#31746A
RGBrgb(49, 116, 106)
HSLhsl(171, 41%, 32%)
HSVhsv(171, 58%, 45%)
CMYKcmyk(57.8%, 0%, 8.6%, 54.5%)
CIE-LABlab(44.49, -23.83, -0.88)
CIE-LCHlch(44.49, 23.85, 182.12°)
OKLaboklab(51.28% -0.0698 -0.0027)
OKLCHoklch(51.28% 0.07 182.3)
XYZxyz(10.1124, 14.1834, 15.8376)
Luminance0.1418 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31746A #74313B
analogous
#317449 #31746A #315C74
triadic
#31746A #6A3174 #746A31
tetradic
#31746A #493174 #74313B #5C7431
square
#31746A #493174 #74313B #5C7431
split-complementary
#31746A #74315C #744931
monochromatic
#0D1E1B #1F4943 #31746A #439F91 #63BDAF

Accessibility & contrast

On white

5.47
#31746A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#31746A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31746A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31746A#FFFFFF#000000##FFFFFF
##31746A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6E6A
Deuteranopia (green-blind)
#64666B
Tritanopia (blue-blind)
#007671
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #31746a;
/* rgb */ color: rgb(49, 116, 106);
/* oklch */ color: oklch(51.3% 0.070 182.3);
Tailwind
colors: {
  custom: {
    50: '#709c94',
    500: '#31746a',
    950: '#000000',
  },
}
SCSS
$custom: #31746a;
$custom-light: #709c94;
$custom-dark: #000000;
JSON
{
  "hex": "#31746a",
  "rgb": {
    "r": 49,
    "g": 116,
    "b": 106
  },
  "hsl": {
    "h": 171.045,
    "s": 40.606,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51278,
    "c": 0.06985,
    "h": 182.3
  },
  "luminance": 0.14184
}

Semantic roles & 50–950 ramp

primary
#31746A
secondary
#A45C67
accent
#5769D0
background
#F7F9F9
surface
#EDF2F1
border
#C8CCCB
text
#080E0D
muted
#7B7E7E

Preview Lab

Preview with #31746A

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

Preview Lab → · Contrast checker → · Palette generator →

#31746A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva