#2F8997#2F8997

#2F8997 is a mid, moderate teal. Relative luminance 0.207; OKLCH L 58.3% C 0.085 H 209.7°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#2F8997
RGBrgb(47, 137, 151)
HSLhsl(188, 53%, 39%)
HSVhsv(188, 69%, 59%)
CMYKcmyk(68.9%, 9.3%, 0%, 40.8%)
CIE-LABlab(52.65, -21.56, -15.22)
CIE-LCHlch(52.65, 26.39, 215.23°)
OKLaboklab(58.34% -0.0741 -0.0423)
OKLCHoklch(58.34% 0.085 209.7)
XYZxyz(15.7015, 20.7283, 32.4456)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8997 #973D2F
analogous
#2F9771 #2F8997 #2F5597
triadic
#2F8997 #972F89 #89972F
tetradic
#2F8997 #712F97 #973D2F #55972F
square
#2F8997 #712F97 #973D2F #55972F
split-complementary
#2F8997 #972F55 #97712F
monochromatic
#12343A #205F68 #2F8997 #40B2C3 #6EC5D2

Accessibility & contrast

On white

4.08
#2F8997 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#2F8997 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8997
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8997#FFFFFF#000000##000000
##2F89971.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D8498
Deuteranopia (green-blind)
#6E7997
Tritanopia (blue-blind)
#008F8D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #2f8997;
/* rgb */ color: rgb(47, 137, 151);
/* oklch */ color: oklch(58.3% 0.085 209.7);
Tailwind
colors: {
  custom: {
    50: '#76abb5',
    500: '#2f8997',
    950: '#000000',
  },
}
SCSS
$custom: #2f8997;
$custom-light: #76abb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8997",
  "rgb": {
    "r": 47,
    "g": 137,
    "b": 151
  },
  "hsl": {
    "h": 188.077,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.58343,
    "c": 0.08536,
    "h": 209.7
  },
  "luminance": 0.2073
}

Semantic roles & 50–950 ramp

primary
#2F8997
secondary
#B97368
accent
#5F4CDC
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2F8997

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

Preview Lab → · Contrast checker → · Palette generator →

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