#2B7987#2B7987

#2B7987 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.5% C 0.077 H 211.7°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2B7987
RGBrgb(43, 121, 135)
HSLhsl(189, 52%, 35%)
HSVhsv(189, 68%, 53%)
CMYKcmyk(68.1%, 10.4%, 0%, 47.1%)
CIE-LABlab(46.89, -18.83, -14.60)
CIE-LCHlch(46.89, 23.83, 217.80°)
OKLaboklab(53.48% -0.0658 -0.0406)
OKLCHoklch(53.48% 0.077 211.7)
XYZxyz(12.2050, 15.9363, 25.3498)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7987 #87392B
analogous
#2B8767 #2B7987 #2B4B87
triadic
#2B7987 #872B79 #79872B
tetradic
#2B7987 #672B87 #87392B #4B872B
square
#2B7987 #672B87 #87392B #4B872B
split-complementary
#2B7987 #872B4B #87672B
monochromatic
#0D262A #1C4F59 #2B7987 #3AA3B5 #60BCCC

Accessibility & contrast

On white

5.01
#2B7987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2B7987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7987
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7987#FFFFFF#000000##FFFFFF
##2B79871.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7588
Deuteranopia (green-blind)
#606B87
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7987;
/* rgb */ color: rgb(43, 121, 135);
/* oklch */ color: oklch(53.5% 0.077 211.7);
Tailwind
colors: {
  custom: {
    50: '#71a0aa',
    500: '#2b7987',
    950: '#000000',
  },
}
SCSS
$custom: #2b7987;
$custom-light: #71a0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7987",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 189.13,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5348,
    "c": 0.07732,
    "h": 211.7
  },
  "luminance": 0.15938
}

Semantic roles & 50–950 ramp

primary
#2B7987
secondary
#B2695B
accent
#624DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #2B7987

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

Preview Lab → · Contrast checker → · Palette generator →

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