#2F7778#2F7778

#2F7778 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.5% C 0.071 H 196.5°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#2F7778
RGBrgb(47, 119, 120)
HSLhsl(181, 44%, 33%)
HSVhsv(181, 61%, 47%)
CMYKcmyk(60.8%, 0.8%, 0%, 52.9%)
CIE-LABlab(45.84, -21.74, -7.26)
CIE-LCHlch(45.84, 22.92, 198.46°)
OKLaboklab(52.5% -0.0679 -0.0201)
OKLCHoklch(52.5% 0.071 196.5)
XYZxyz(11.1578, 15.1529, 20.1024)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7778 #78302F
analogous
#2F7854 #2F7778 #2F5278
triadic
#2F7778 #782F77 #77782F
tetradic
#2F7778 #542F78 #78302F #52782F
square
#2F7778 #542F78 #78302F #52782F
split-complementary
#2F7778 #782F52 #78542F
monochromatic
#0D2020 #1E4B4C #2F7778 #40A3A4 #60C0C1

Accessibility & contrast

On white

5.21
#2F7778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#2F7778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7778
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7778#FFFFFF#000000##FFFFFF
##2F77781.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7278
Deuteranopia (green-blind)
#646979
Tritanopia (blue-blind)
#007B77
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2f7778;
/* rgb */ color: rgb(47, 119, 120);
/* oklch */ color: oklch(52.5% 0.071 196.5);
Tailwind
colors: {
  custom: {
    50: '#719e9e',
    500: '#2f7778',
    950: '#000000',
  },
}
SCSS
$custom: #2f7778;
$custom-light: #719e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7778",
  "rgb": {
    "r": 47,
    "g": 119,
    "b": 120
  },
  "hsl": {
    "h": 180.822,
    "s": 43.713,
    "l": 32.745
  },
  "oklch": {
    "l": 0.52495,
    "c": 0.07086,
    "h": 196.5
  },
  "luminance": 0.15154
}

Semantic roles & 50–950 ramp

primary
#2F7778
secondary
#A85C5B
accent
#5654D3
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2F7778

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

Preview Lab → · Contrast checker → · Palette generator →

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