#3F877E#3F877E

#3F877E is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.5% C 0.074 H 184.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#3F877E
RGBrgb(63, 135, 126)
HSLhsl(173, 36%, 39%)
HSVhsv(173, 53%, 53%)
CMYKcmyk(53.3%, 0%, 6.7%, 47.1%)
CIE-LABlab(51.71, -24.83, -2.04)
CIE-LCHlch(51.71, 24.92, 184.69°)
OKLaboklab(57.46% -0.0734 -0.0059)
OKLCHoklch(57.46% 0.074 184.6)
XYZxyz(14.4782, 19.8897, 22.8107)
Luminance0.1989 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F877E #873F48
analogous
#3F875A #3F877E #3F6C87
triadic
#3F877E #7E3F87 #877E3F
tetradic
#3F877E #5A3F87 #873F48 #6C873F
square
#3F877E #5A3F87 #873F48 #6C873F
split-complementary
#3F877E #873F6C #875A3F
monochromatic
#183430 #2C5D57 #3F877E #54AFA4 #7EC3BA

Accessibility & contrast

On white

4.22
#3F877E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#3F877E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F877E
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F877E#FFFFFF#000000##000000
##3F877E1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81807E
Deuteranopia (green-blind)
#75787F
Tritanopia (blue-blind)
#138A84
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #3f877e;
/* rgb */ color: rgb(63, 135, 126);
/* oklch */ color: oklch(57.5% 0.074 184.6);
Tailwind
colors: {
  custom: {
    50: '#7baaa3',
    500: '#3f877e',
    950: '#000000',
  },
}
SCSS
$custom: #3f877e;
$custom-light: #7baaa3;
$custom-dark: #000000;
JSON
{
  "hex": "#3f877e",
  "rgb": {
    "r": 63,
    "g": 135,
    "b": 126
  },
  "hsl": {
    "h": 172.5,
    "s": 36.364,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57458,
    "c": 0.07368,
    "h": 184.6
  },
  "luminance": 0.19891
}

Semantic roles & 50–950 ramp

primary
#3F877E
secondary
#AD757C
accent
#5B6ACC
background
#F7FAFA
surface
#EEF4F3
border
#C9CECD
text
#0A100F
muted
#7C7F7F

Preview Lab

Preview with #3F877E

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

Preview Lab → · Contrast checker → · Palette generator →

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