#2B7E87#2B7E87

#2B7E87 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.8% C 0.079 H 205.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2B7E87
RGBrgb(43, 126, 135)
HSLhsl(186, 52%, 35%)
HSVhsv(186, 68%, 53%)
CMYKcmyk(68.1%, 6.7%, 0%, 47.1%)
CIE-LABlab(48.49, -21.50, -12.18)
CIE-LCHlch(48.49, 24.71, 209.54°)
OKLaboklab(54.77% -0.0713 -0.0338)
OKLCHoklch(54.77% 0.079 205.4)
XYZxyz(12.8284, 17.1831, 25.5576)
Luminance0.1719 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7E87 #87342B
analogous
#2B8762 #2B7E87 #2B5087
triadic
#2B7E87 #872B7E #7E872B
tetradic
#2B7E87 #622B87 #87342B #50872B
square
#2B7E87 #622B87 #87342B #50872B
split-complementary
#2B7E87 #872B50 #87622B
monochromatic
#0D272A #1C5359 #2B7E87 #3AA9B5 #60C2CC

Accessibility & contrast

On white

4.73
#2B7E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2B7E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7E87
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7E87#FFFFFF#000000##FFFFFF
##2B7E871.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747988
Deuteranopia (green-blind)
#666F87
Tritanopia (blue-blind)
#008381
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2b7e87;
/* rgb */ color: rgb(43, 126, 135);
/* oklch */ color: oklch(54.8% 0.079 205.4);
Tailwind
colors: {
  custom: {
    50: '#71a3aa',
    500: '#2b7e87',
    950: '#000000',
  },
}
SCSS
$custom: #2b7e87;
$custom-light: #71a3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7e87",
  "rgb": {
    "r": 43,
    "g": 126,
    "b": 135
  },
  "hsl": {
    "h": 185.87,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.07891,
    "h": 205.4
  },
  "luminance": 0.17185
}

Semantic roles & 50–950 ramp

primary
#2B7E87
secondary
#B2645B
accent
#5B4DDB
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2B7E87

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

Preview Lab → · Contrast checker → · Palette generator →

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