#2F7875#2F7875

#2F7875 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.6% C 0.072 H 191.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2F7875
RGBrgb(47, 120, 117)
HSLhsl(178, 44%, 33%)
HSVhsv(178, 61%, 47%)
CMYKcmyk(60.8%, 0%, 2.5%, 52.9%)
CIE-LABlab(46.07, -23.16, -5.13)
CIE-LCHlch(46.07, 23.72, 192.50°)
OKLaboklab(52.65% -0.0705 -0.0143)
OKLCHoklch(52.65% 0.072 191.4)
XYZxyz(11.0982, 15.3205, 19.1984)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7875 #782F32
analogous
#2F7850 #2F7875 #2F5778
triadic
#2F7875 #752F78 #78752F
tetradic
#2F7875 #502F78 #782F32 #57782F
square
#2F7875 #502F78 #782F32 #57782F
split-complementary
#2F7875 #782F57 #78502F
monochromatic
#0D201F #1E4C4A #2F7875 #40A4A0 #60C1BD

Accessibility & contrast

On white

5.17
#2F7875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2F7875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7875
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7875#FFFFFF#000000##FFFFFF
##2F78751.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717275
Deuteranopia (green-blind)
#666A76
Tritanopia (blue-blind)
#007B77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7875;
/* rgb */ color: rgb(47, 120, 117);
/* oklch */ color: oklch(52.6% 0.072 191.4);
Tailwind
colors: {
  custom: {
    50: '#709f9c',
    500: '#2f7875',
    950: '#000000',
  },
}
SCSS
$custom: #2f7875;
$custom-light: #709f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7875",
  "rgb": {
    "r": 47,
    "g": 120,
    "b": 117
  },
  "hsl": {
    "h": 177.534,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52647,
    "c": 0.07196,
    "h": 191.4
  },
  "luminance": 0.15322
}

Semantic roles & 50–950 ramp

primary
#2F7875
secondary
#A85B5E
accent
#545AD3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F7875

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

Preview Lab → · Contrast checker → · Palette generator →

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