#2B7F87#2B7F87

#2B7F87 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 55.0% C 0.079 H 204.1°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2B7F87
RGBrgb(43, 127, 135)
HSLhsl(185, 52%, 35%)
HSVhsv(185, 68%, 53%)
CMYKcmyk(68.1%, 5.9%, 0%, 47.1%)
CIE-LABlab(48.81, -22.02, -11.70)
CIE-LCHlch(48.81, 24.94, 207.98°)
OKLaboklab(55.03% -0.0724 -0.0324)
OKLCHoklch(55.03% 0.079 204.1)
XYZxyz(12.9569, 17.4402, 25.6004)
Luminance0.1744 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7F87 #87332B
analogous
#2B8761 #2B7F87 #2B5187
triadic
#2B7F87 #872B7F #7F872B
tetradic
#2B7F87 #612B87 #87332B #51872B
square
#2B7F87 #612B87 #87332B #51872B
split-complementary
#2B7F87 #872B51 #87612B
monochromatic
#0D282A #1C5359 #2B7F87 #3AABB5 #60C3CC

Accessibility & contrast

On white

4.68
#2B7F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2B7F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7F87
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7F87#FFFFFF#000000##FFFFFF
##2B7F871.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757A88
Deuteranopia (green-blind)
#677087
Tritanopia (blue-blind)
#008481
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2b7f87;
/* rgb */ color: rgb(43, 127, 135);
/* oklch */ color: oklch(55.0% 0.079 204.1);
Tailwind
colors: {
  custom: {
    50: '#71a4aa',
    500: '#2b7f87',
    950: '#000000',
  },
}
SCSS
$custom: #2b7f87;
$custom-light: #71a4aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7f87",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 135
  },
  "hsl": {
    "h": 185.217,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55027,
    "c": 0.07935,
    "h": 204.1
  },
  "luminance": 0.17442
}

Semantic roles & 50–950 ramp

primary
#2B7F87
secondary
#B2635B
accent
#594DDB
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2B7F87

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

Preview Lab → · Contrast checker → · Palette generator →

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