#2F7B87#2F7B87

#2F7B87 is a mid, moderate teal. Relative luminance 0.165; OKLCH L 54.1% C 0.076 H 209.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2F7B87
RGBrgb(47, 123, 135)
HSLhsl(188, 48%, 36%)
HSVhsv(188, 65%, 53%)
CMYKcmyk(65.2%, 8.9%, 0%, 47.1%)
CIE-LABlab(47.65, -19.22, -13.45)
CIE-LCHlch(47.65, 23.45, 214.98°)
OKLaboklab(54.12% -0.0657 -0.0373)
OKLCHoklch(54.12% 0.076 209.6)
XYZxyz(12.6266, 16.5182, 25.4399)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F7B87 #873B2F
analogous
#2F8767 #2F7B87 #2F4F87
triadic
#2F7B87 #872F7B #7B872F
tetradic
#2F7B87 #672F87 #873B2F #4F872F
square
#2F7B87 #672F87 #873B2F #4F872F
split-complementary
#2F7B87 #872F4F #87672F
monochromatic
#0F282C #1F525A #2F7B87 #3FA4B4 #66BCCA

Accessibility & contrast

On white

4.88
#2F7B87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2F7B87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F7B87
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F7B87#FFFFFF#000000##FFFFFF
##2F7B871.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707788
Deuteranopia (green-blind)
#636D87
Tritanopia (blue-blind)
#00817F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2f7b87;
/* rgb */ color: rgb(47, 123, 135);
/* oklch */ color: oklch(54.1% 0.076 209.6);
Tailwind
colors: {
  custom: {
    50: '#73a1aa',
    500: '#2f7b87',
    950: '#000000',
  },
}
SCSS
$custom: #2f7b87;
$custom-light: #73a1aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2f7b87",
  "rgb": {
    "r": 47,
    "g": 123,
    "b": 135
  },
  "hsl": {
    "h": 188.182,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.54122,
    "c": 0.07558,
    "h": 209.6
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#2F7B87
secondary
#B16C61
accent
#6250D8
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #2F7B87

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

Preview Lab → · Contrast checker → · Palette generator →

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