#31875E#31875E

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

Color values

HEX#31875E
RGBrgb(49, 135, 94)
HSLhsl(151, 47%, 36%)
HSVhsv(151, 64%, 53%)
CMYKcmyk(63.7%, 0%, 30.4%, 47.1%)
CIE-LABlab(50.44, -35.89, 14.61)
CIE-LCHlch(50.44, 38.75, 157.85°)
OKLaboklab(56.02% -0.098 0.0371)
OKLCHoklch(56.02% 0.105 159.3)
XYZxyz(11.9499, 18.7879, 13.5842)
Luminance0.1879 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31875E #87315A
analogous
#318733 #31875E #318587
triadic
#31875E #5E3187 #875E31
tetradic
#31875E #333187 #87315A #858731
square
#31875E #333187 #87315A #858731
split-complementary
#31875E #873185 #873331
monochromatic
#102D1F #215A3F #31875E #41B47D #6AC99B

Accessibility & contrast

On white

4.41
#31875E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#31875E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31875E
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31875E#FFFFFF#000000##000000
##31875E1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#867D5C
Deuteranopia (green-blind)
#7A7561
Tritanopia (blue-blind)
#00867C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #31875e;
/* rgb */ color: rgb(49, 135, 94);
/* oklch */ color: oklch(56.0% 0.105 159.3);
Tailwind
colors: {
  custom: {
    50: '#73ab8b',
    500: '#31875e',
    950: '#000000',
  },
}
SCSS
$custom: #31875e;
$custom-light: #73ab8b;
$custom-dark: #000000;
JSON
{
  "hex": "#31875e",
  "rgb": {
    "r": 49,
    "g": 135,
    "b": 94
  },
  "hsl": {
    "h": 151.395,
    "s": 46.739,
    "l": 36.078
  },
  "oklch": {
    "l": 0.56023,
    "c": 0.10481,
    "h": 159.3
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

primary
#31875E
secondary
#B06488
accent
#5191D6
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #31875E

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

Preview Lab → · Contrast checker → · Palette generator →

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