#2F7078#2F7078

#2F7078 is a mid, moderate teal. Relative luminance 0.135; OKLCH L 50.7% C 0.067 H 206.3°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#2F7078
RGBrgb(47, 112, 120)
HSLhsl(187, 44%, 33%)
HSVhsv(187, 61%, 47%)
CMYKcmyk(60.8%, 6.7%, 0%, 52.9%)
CIE-LABlab(43.58, -17.99, -10.66)
CIE-LCHlch(43.58, 20.91, 210.64°)
OKLaboklab(50.67% -0.0597 -0.0295)
OKLCHoklch(50.67% 0.067 206.3)
XYZxyz(10.3552, 13.5477, 19.8349)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7078 #78372F
analogous
#2F785B #2F7078 #2F4C78
triadic
#2F7078 #782F70 #70782F
tetradic
#2F7078 #5B2F78 #78372F #4C782F
square
#2F7078 #5B2F78 #78372F #4C782F
split-complementary
#2F7078 #782F4C #785B2F
monochromatic
#0D1E20 #1E474C #2F7078 #4099A4 #60B6C1

Accessibility & contrast

On white

5.66
#2F7078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#2F7078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7078
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7078#FFFFFF#000000##FFFFFF
##2F70781.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#5C6378
Tritanopia (blue-blind)
#007572
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2f7078;
/* rgb */ color: rgb(47, 112, 120);
/* oklch */ color: oklch(50.7% 0.067 206.3);
Tailwind
colors: {
  custom: {
    50: '#70999f',
    500: '#2f7078',
    950: '#000000',
  },
}
SCSS
$custom: #2f7078;
$custom-light: #70999f;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7078",
  "rgb": {
    "r": 47,
    "g": 112,
    "b": 120
  },
  "hsl": {
    "h": 186.575,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.50668,
    "c": 0.06663,
    "h": 206.3
  },
  "luminance": 0.13549
}

Semantic roles & 50–950 ramp

primary
#2F7078
secondary
#A8635B
accent
#6254D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F7078

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

Preview Lab → · Contrast checker → · Palette generator →

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