#2F8274#2F8274

#2F8274 is a mid, moderate teal. Relative luminance 0.178; OKLCH L 55.2% C 0.083 H 180.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2F8274
RGBrgb(47, 130, 116)
HSLhsl(170, 47%, 35%)
HSVhsv(170, 64%, 51%)
CMYKcmyk(63.8%, 0%, 10.8%, 49%)
CIE-LABlab(49.29, -28.47, 0.19)
CIE-LCHlch(49.29, 28.47, 179.61°)
OKLaboklab(55.25% -0.0825 0.0001)
OKLCHoklch(55.25% 0.083 180)
XYZxyz(12.3058, 17.8293, 19.3125)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F8274 #822F3D
analogous
#2F824B #2F8274 #2F6682
triadic
#2F8274 #742F82 #82742F
tetradic
#2F8274 #4B2F82 #822F3D #66822F
square
#2F8274 #4B2F82 #822F3D #66822F
split-complementary
#2F8274 #822F66 #824B2F
monochromatic
#0E2824 #1F554C #2F8274 #3FAF9C #64C7B6

Accessibility & contrast

On white

4.60
#2F8274 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2F8274 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2F8274
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F8274#FFFFFF#000000##FFFFFF
##2F82741.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A73
Deuteranopia (green-blind)
#707175
Tritanopia (blue-blind)
#00847E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2f8274;
/* rgb */ color: rgb(47, 130, 116);
/* oklch */ color: oklch(55.2% 0.083 180.0);
Tailwind
colors: {
  custom: {
    50: '#72a79c',
    500: '#2f8274',
    950: '#000000',
  },
}
SCSS
$custom: #2f8274;
$custom-light: #72a79c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f8274",
  "rgb": {
    "r": 47,
    "g": 130,
    "b": 116
  },
  "hsl": {
    "h": 169.88,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55247,
    "c": 0.08253,
    "h": 180
  },
  "luminance": 0.17831
}

Semantic roles & 50–950 ramp

primary
#2F8274
secondary
#AE5F6C
accent
#5168D7
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #2F8274

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

Preview Lab → · Contrast checker → · Palette generator →

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