#2E7987#2E7987

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

Color values

HEX#2E7987
RGBrgb(46, 121, 135)
HSLhsl(189, 49%, 35%)
HSVhsv(189, 66%, 53%)
CMYKcmyk(65.9%, 10.4%, 0%, 47.1%)
CIE-LABlab(46.98, -18.31, -14.46)
CIE-LCHlch(46.98, 23.34, 218.30°)
OKLaboklab(53.58% -0.0641 -0.0402)
OKLCHoklch(53.58% 0.076 212.1)
XYZxyz(12.3354, 16.0035, 25.3559)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7987 #873C2E
analogous
#2E8768 #2E7987 #2E4C87
triadic
#2E7987 #872E79 #79872E
tetradic
#2E7987 #682E87 #873C2E #4C872E
square
#2E7987 #682E87 #873C2E #4C872E
split-complementary
#2E7987 #872E4C #87682E
monochromatic
#0F272C #1E5059 #2E7987 #3EA2B5 #65BBCA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E7987#FFFFFF#000000##FFFFFF
##2E79871.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: #2e7987;
/* rgb */ color: rgb(46, 121, 135);
/* oklch */ color: oklch(53.6% 0.076 212.1);
Tailwind
colors: {
  custom: {
    50: '#72a0aa',
    500: '#2e7987',
    950: '#000000',
  },
}
SCSS
$custom: #2e7987;
$custom-light: #72a0aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7987",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 135
  },
  "hsl": {
    "h": 189.438,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.53576,
    "c": 0.07563,
    "h": 212.1
  },
  "luminance": 0.16005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E7987

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

Preview Lab → · Contrast checker → · Palette generator →

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