#2F897B#2F897B

#2F897B is a mid, moderate teal. Relative luminance 0.199; OKLCH L 57.3% C 0.087 H 180.8°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#2F897B
RGBrgb(47, 137, 123)
HSLhsl(171, 49%, 36%)
HSVhsv(171, 66%, 54%)
CMYKcmyk(65.7%, 0%, 10.2%, 46.3%)
CIE-LABlab(51.75, -29.93, -0.30)
CIE-LCHlch(51.75, 29.93, 180.57°)
OKLaboklab(57.32% -0.087 -0.0013)
OKLCHoklch(57.32% 0.087 180.8)
XYZxyz(13.6914, 19.9242, 21.8593)
Luminance0.1993 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F897B #892F3D
analogous
#2F894E #2F897B #2F6A89
triadic
#2F897B #7B2F89 #897B2F
tetradic
#2F897B #4E2F89 #892F3D #6A892F
square
#2F897B #4E2F89 #892F3D #6A892F
split-complementary
#2F897B #892F6A #894E2F
monochromatic
#102E29 #1F5B52 #2F897B #3FB7A4 #67CBBC

Accessibility & contrast

On white

4.21
#2F897B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#2F897B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F897B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F897B#FFFFFF#000000##000000
##2F897B1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#83817A
Deuteranopia (green-blind)
#76777C
Tritanopia (blue-blind)
#008B85
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2f897b;
/* rgb */ color: rgb(47, 137, 123);
/* oklch */ color: oklch(57.3% 0.087 180.8);
Tailwind
colors: {
  custom: {
    50: '#73aca1',
    500: '#2f897b',
    950: '#000000',
  },
}
SCSS
$custom: #2f897b;
$custom-light: #73aca1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f897b",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 123
  },
  "hsl": {
    "h": 170.667,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.57317,
    "c": 0.08701,
    "h": 180.8
  },
  "luminance": 0.19926
}

Semantic roles & 50–950 ramp

primary
#2F897B
secondary
#B2626E
accent
#4F65D8
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #2F897B

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

Preview Lab → · Contrast checker → · Palette generator →

#2F897B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva