#2E7A87#2E7A87

#2E7A87 is a mid, moderate teal. Relative luminance 0.162; OKLCH L 53.8% C 0.076 H 210.8°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2E7A87
RGBrgb(46, 122, 135)
HSLhsl(189, 49%, 35%)
HSVhsv(189, 66%, 53%)
CMYKcmyk(65.9%, 9.6%, 0%, 47.1%)
CIE-LABlab(47.30, -18.85, -13.98)
CIE-LCHlch(47.30, 23.47, 216.55°)
OKLaboklab(53.83% -0.0652 -0.0388)
OKLCHoklch(53.83% 0.076 210.8)
XYZxyz(12.4576, 16.2478, 25.3966)
Luminance0.1625 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7A87 #873B2E
analogous
#2E8767 #2E7A87 #2E4D87
triadic
#2E7A87 #872E7A #7A872E
tetradic
#2E7A87 #672E87 #873B2E #4D872E
square
#2E7A87 #672E87 #873B2E #4D872E
split-complementary
#2E7A87 #872E4D #87672E
monochromatic
#0F272C #1E5159 #2E7A87 #3EA3B5 #65BCCA

Accessibility & contrast

On white

4.94
#2E7A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#2E7A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7A87
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7A87#FFFFFF#000000##FFFFFF
##2E7A871.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7688
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#00807E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2e7a87;
/* rgb */ color: rgb(46, 122, 135);
/* oklch */ color: oklch(53.8% 0.076 210.8);
Tailwind
colors: {
  custom: {
    50: '#72a0aa',
    500: '#2e7a87',
    950: '#000000',
  },
}
SCSS
$custom: #2e7a87;
$custom-light: #72a0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7a87",
  "rgb": {
    "r": 46,
    "g": 122,
    "b": 135
  },
  "hsl": {
    "h": 188.764,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53833,
    "c": 0.07588,
    "h": 210.8
  },
  "luminance": 0.16249
}

Semantic roles & 50–950 ramp

primary
#2E7A87
secondary
#B16C60
accent
#634FD9
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090E10
muted
#7B7E7F

Preview Lab

Preview with #2E7A87

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

Preview Lab → · Contrast checker → · Palette generator →

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