#3F877B#3F877B

#3F877B is a mid, moderate teal. Relative luminance 0.198; OKLCH L 57.4% C 0.075 H 181.2°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#3F877B
RGBrgb(63, 135, 123)
HSLhsl(170, 36%, 39%)
HSVhsv(170, 53%, 53%)
CMYKcmyk(53.3%, 0%, 8.9%, 47.1%)
CIE-LABlab(51.63, -25.64, -0.42)
CIE-LCHlch(51.63, 25.64, 180.93°)
OKLaboklab(57.36% -0.0749 -0.0015)
OKLCHoklch(57.36% 0.075 181.2)
XYZxyz(14.2875, 19.8135, 21.8065)
Luminance0.1981 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F877B #873F4B
analogous
#3F8757 #3F877B #3F6F87
triadic
#3F877B #7B3F87 #877B3F
tetradic
#3F877B #573F87 #873F4B #6F873F
square
#3F877B #573F87 #873F4B #6F873F
split-complementary
#3F877B #873F6F #87573F
monochromatic
#18342F #2C5D55 #3F877B #54AFA0 #7EC3B7

Accessibility & contrast

On white

4.23
#3F877B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#3F877B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F877B
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F877B#FFFFFF#000000##000000
##3F877B1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82807B
Deuteranopia (green-blind)
#76787C
Tritanopia (blue-blind)
#178983
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3f877b;
/* rgb */ color: rgb(63, 135, 123);
/* oklch */ color: oklch(57.4% 0.075 181.2);
Tailwind
colors: {
  custom: {
    50: '#7aaaa1',
    500: '#3f877b',
    950: '#000000',
  },
}
SCSS
$custom: #3f877b;
$custom-light: #7aaaa1;
$custom-dark: #000000;
JSON
{
  "hex": "#3f877b",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 123
  },
  "hsl": {
    "h": 170,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57359,
    "c": 0.07489,
    "h": 181.2
  },
  "luminance": 0.19815
}

Semantic roles & 50–950 ramp

primary
#3F877B
secondary
#AD757E
accent
#5B6ECC
background
#F7FAF9
surface
#EEF4F2
border
#C9CECC
text
#0A100E
muted
#7C7F7E

Preview Lab

Preview with #3F877B

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

Preview Lab → · Contrast checker → · Palette generator →

#3F877B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva