#2A7F86#2A7F86

#2A7F86 is a mid, moderate teal. Relative luminance 0.174; OKLCH L 55.0% C 0.080 H 203.0°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#2A7F86
RGBrgb(42, 127, 134)
HSLhsl(185, 52%, 35%)
HSVhsv(185, 69%, 53%)
CMYKcmyk(68.7%, 5.2%, 0%, 47.5%)
CIE-LABlab(48.75, -22.50, -11.21)
CIE-LCHlch(48.75, 25.14, 206.48°)
OKLaboklab(54.96% -0.0734 -0.0311)
OKLCHoklch(54.96% 0.08 203)
XYZxyz(12.8454, 17.3908, 25.2294)
Luminance0.1739 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7F86 #86312A
analogous
#2A865F #2A7F86 #2A5186
triadic
#2A7F86 #862A7F #7F862A
tetradic
#2A7F86 #5F2A86 #86312A #51862A
square
#2A7F86 #5F2A86 #86312A #51862A
split-complementary
#2A7F86 #862A51 #865F2A
monochromatic
#0D2729 #1B5357 #2A7F86 #39ABB5 #5EC4CD

Accessibility & contrast

On white

4.69
#2A7F86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2A7F86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7F86
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7F86#FFFFFF#000000##FFFFFF
##2A7F861.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#757A87
Deuteranopia (green-blind)
#677086
Tritanopia (blue-blind)
#008481
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2a7f86;
/* rgb */ color: rgb(42, 127, 134);
/* oklch */ color: oklch(55.0% 0.080 203.0);
Tailwind
colors: {
  custom: {
    50: '#71a4a9',
    500: '#2a7f86',
    950: '#000000',
  },
}
SCSS
$custom: #2a7f86;
$custom-light: #71a4a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7f86",
  "rgb": {
    "r": 42,
    "g": 127,
    "b": 134
  },
  "hsl": {
    "h": 184.565,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.54959,
    "c": 0.07969,
    "h": 203
  },
  "luminance": 0.17392
}

Semantic roles & 50–950 ramp

primary
#2A7F86
secondary
#B2605A
accent
#574CDC
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#090F0F
muted
#7B7F7F

Preview Lab

Preview with #2A7F86

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

Preview Lab → · Contrast checker → · Palette generator →

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