#2E7E87#2E7E87

#2E7E87 is a mid, moderate teal. Relative luminance 0.173; OKLCH L 54.9% C 0.077 H 205.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#2E7E87
RGBrgb(46, 126, 135)
HSLhsl(186, 49%, 35%)
HSVhsv(186, 66%, 53%)
CMYKcmyk(65.9%, 6.7%, 0%, 47.1%)
CIE-LABlab(48.57, -20.99, -12.05)
CIE-LCHlch(48.57, 24.20, 209.85°)
OKLaboklab(54.86% -0.0697 -0.0334)
OKLCHoklch(54.86% 0.077 205.6)
XYZxyz(12.9589, 17.2504, 25.5637)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7E87 #87372E
analogous
#2E8763 #2E7E87 #2E5287
triadic
#2E7E87 #872E7E #7E872E
tetradic
#2E7E87 #632E87 #87372E #52872E
square
#2E7E87 #632E87 #87372E #52872E
split-complementary
#2E7E87 #872E52 #87632E
monochromatic
#0F292C #1E5359 #2E7E87 #3EA9B5 #65C0CA

Accessibility & contrast

On white

4.72
#2E7E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#2E7E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7E87
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7E87#FFFFFF#000000##FFFFFF
##2E7E871.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e7e87;
/* rgb */ color: rgb(46, 126, 135);
/* oklch */ color: oklch(54.9% 0.077 205.6);
Tailwind
colors: {
  custom: {
    50: '#72a3aa',
    500: '#2e7e87',
    950: '#000000',
  },
}
SCSS
$custom: #2e7e87;
$custom-light: #72a3aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7e87",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 135
  },
  "hsl": {
    "h": 186.067,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.54861,
    "c": 0.07726,
    "h": 205.6
  },
  "luminance": 0.17252
}

Semantic roles & 50–950 ramp

primary
#2E7E87
secondary
#B16860
accent
#5D4FD9
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F10
muted
#7B7F7F

Preview Lab

Preview with #2E7E87

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

Preview Lab → · Contrast checker → · Palette generator →

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