#2D7987#2D7987

#2D7987 is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.5% C 0.076 H 211.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2D7987
RGBrgb(45, 121, 135)
HSLhsl(189, 50%, 35%)
HSVhsv(189, 67%, 53%)
CMYKcmyk(66.7%, 10.4%, 0%, 47.1%)
CIE-LABlab(46.95, -18.49, -14.51)
CIE-LCHlch(46.95, 23.50, 218.13°)
OKLaboklab(53.54% -0.0647 -0.0403)
OKLCHoklch(53.54% 0.076 211.9)
XYZxyz(12.2909, 15.9806, 25.3538)
Luminance0.1598 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7987 #873B2D
analogous
#2D8768 #2D7987 #2D4C87
triadic
#2D7987 #872D79 #79872D
tetradic
#2D7987 #682D87 #873B2D #4C872D
square
#2D7987 #682D87 #873B2D #4C872D
split-complementary
#2D7987 #872D4C #87682D
monochromatic
#0E272B #1E5059 #2D7987 #3CA2B5 #63BBCB

Accessibility & contrast

On white

5.00
#2D7987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2D7987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7987
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7987#FFFFFF#000000##FFFFFF
##2D79871.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d7987;
/* rgb */ color: rgb(45, 121, 135);
/* oklch */ color: oklch(53.5% 0.076 211.9);
Tailwind
colors: {
  custom: {
    50: '#72a0aa',
    500: '#2d7987',
    950: '#000000',
  },
}
SCSS
$custom: #2d7987;
$custom-light: #72a0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7987",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 189.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.53543,
    "c": 0.07621,
    "h": 211.9
  },
  "luminance": 0.15982
}

Semantic roles & 50–950 ramp

primary
#2D7987
secondary
#B26B5E
accent
#644EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2D7987

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

Preview Lab → · Contrast checker → · Palette generator →

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