#2F97A7#2F97A7

#2F97A7 is a light, moderate teal. Relative luminance 0.255; OKLCH L 62.5% C 0.095 H 209.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#2F97A7
RGBrgb(47, 151, 167)
HSLhsl(188, 56%, 42%)
HSVhsv(188, 72%, 65%)
CMYKcmyk(71.9%, 9.6%, 0%, 34.5%)
CIE-LABlab(57.58, -23.74, -16.93)
CIE-LCHlch(57.58, 29.16, 215.49°)
OKLaboklab(62.51% -0.082 -0.0471)
OKLCHoklch(62.51% 0.095 209.9)
XYZxyz(19.2110, 25.5253, 40.4661)
Luminance0.2553 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F97A7 #A73F2F
analogous
#2FA77B #2F97A7 #2F5BA7
triadic
#2F97A7 #A72F97 #97A72F
tetradic
#2F97A7 #7B2FA7 #A73F2F #5BA72F
square
#2F97A7 #7B2FA7 #A73F2F #5BA72F
split-complementary
#2F97A7 #A72F5B #A77B2F
monochromatic
#144147 #226C77 #2F97A7 #48BACB #78CCD9

Accessibility & contrast

On white

3.44
#2F97A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#2F97A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F97A7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F97A7#FFFFFF#000000##000000
##2F97A71.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8991A8
Deuteranopia (green-blind)
#7885A7
Tritanopia (blue-blind)
#009E9C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2f97a7;
/* rgb */ color: rgb(47, 151, 167);
/* oklch */ color: oklch(62.5% 0.095 209.9);
Tailwind
colors: {
  custom: {
    50: '#79b6c1',
    500: '#2f97a7',
    950: '#000000',
  },
}
SCSS
$custom: #2f97a7;
$custom-light: #79b6c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f97a7",
  "rgb": {
    "r": 47,
    "g": 151,
    "b": 167
  },
  "hsl": {
    "h": 188,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.62509,
    "c": 0.09456,
    "h": 209.9
  },
  "luminance": 0.25528
}

Semantic roles & 50–950 ramp

primary
#2F97A7
secondary
#C17C71
accent
#5D48DF
background
#F7FBFB
surface
#EEF6F7
border
#C9D0D0
text
#0A1112
muted
#7C8081

Preview Lab

Preview with #2F97A7

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

Preview Lab → · Contrast checker → · Palette generator →

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