#2F8795#2F8795

#2F8795 is a mid, moderate teal. Relative luminance 0.201; OKLCH L 57.8% C 0.084 H 210.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#2F8795
RGBrgb(47, 135, 149)
HSLhsl(188, 52%, 38%)
HSVhsv(188, 68%, 58%)
CMYKcmyk(68.5%, 9.4%, 0%, 41.6%)
CIE-LABlab(51.95, -21.14, -15.12)
CIE-LCHlch(51.95, 26.00, 215.58°)
OKLaboklab(57.76% -0.0729 -0.042)
OKLCHoklch(57.76% 0.084 210)
XYZxyz(15.2588, 20.1005, 31.5036)
Luminance0.2010 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8795 #953D2F
analogous
#2F9570 #2F8795 #2F5495
triadic
#2F8795 #952F87 #87952F
tetradic
#2F8795 #702F95 #953D2F #54952F
square
#2F8795 #702F95 #953D2F #54952F
split-complementary
#2F8795 #952F54 #95702F
monochromatic
#123338 #205D66 #2F8795 #3FB0C2 #6DC3D1

Accessibility & contrast

On white

4.18
#2F8795 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#2F8795 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2F8795
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8795#FFFFFF#000000##000000
##2F87951.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8296
Deuteranopia (green-blind)
#6C7795
Tritanopia (blue-blind)
#008D8B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #2f8795;
/* rgb */ color: rgb(47, 135, 149);
/* oklch */ color: oklch(57.8% 0.084 210.0);
Tailwind
colors: {
  custom: {
    50: '#75aab4',
    500: '#2f8795',
    950: '#000000',
  },
}
SCSS
$custom: #2f8795;
$custom-light: #75aab4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8795",
  "rgb": {
    "r": 47,
    "g": 135,
    "b": 149
  },
  "hsl": {
    "h": 188.235,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57755,
    "c": 0.0841,
    "h": 210
  },
  "luminance": 0.20102
}

Semantic roles & 50–950 ramp

primary
#2F8795
secondary
#B87367
accent
#604CDB
background
#F7FAFB
surface
#EEF4F6
border
#C9CED0
text
#091011
muted
#7B7F80

Preview Lab

Preview with #2F8795

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

Preview Lab → · Contrast checker → · Palette generator →

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