#31875C#31875C

#31875C is a mid, moderate teal. Relative luminance 0.188; OKLCH L 56.0% C 0.107 H 158.1°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#31875C
RGBrgb(49, 135, 92)
HSLhsl(150, 47%, 36%)
HSVhsv(150, 64%, 53%)
CMYKcmyk(63.7%, 0%, 31.9%, 47.1%)
CIE-LABlab(50.40, -36.33, 15.70)
CIE-LCHlch(50.40, 39.57, 156.63°)
OKLaboklab(55.97% -0.099 0.0398)
OKLCHoklch(55.97% 0.107 158.1)
XYZxyz(11.8613, 18.7524, 13.1176)
Luminance0.1875 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31875C #87315C
analogous
#318731 #31875C #318787
triadic
#31875C #5C3187 #875C31
tetradic
#31875C #313187 #87315C #878731
square
#31875C #313187 #87315C #878731
split-complementary
#31875C #873187 #873131
monochromatic
#102D1F #215A3D #31875C #41B47B #6AC999

Accessibility & contrast

On white

4.42
#31875C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#31875C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31875C
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31875C#FFFFFF#000000##000000
##31875C1.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D59
Deuteranopia (green-blind)
#7A755F
Tritanopia (blue-blind)
#03867C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #31875c;
/* rgb */ color: rgb(49, 135, 92);
/* oklch */ color: oklch(56.0% 0.107 158.1);
Tailwind
colors: {
  custom: {
    50: '#73ab8a',
    500: '#31875c',
    950: '#000000',
  },
}
SCSS
$custom: #31875c;
$custom-light: #73ab8a;
$custom-dark: #000000;
JSON
{
  "hex": "#31875c",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 92
  },
  "hsl": {
    "h": 150,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.55975,
    "c": 0.1067,
    "h": 158.1
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#31875C
secondary
#B0648A
accent
#5194D6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #31875C

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

Preview Lab → · Contrast checker → · Palette generator →

#31875C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva