#2A7865#2A7865

#2A7865 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.9% C 0.082 H 173.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#2A7865
RGBrgb(42, 120, 101)
HSLhsl(165, 48%, 32%)
HSVhsv(165, 65%, 47%)
CMYKcmyk(65%, 0%, 15.8%, 52.9%)
CIE-LABlab(45.45, -28.66, 3.46)
CIE-LCHlch(45.45, 28.87, 173.12°)
OKLaboklab(51.94% -0.0813 0.0087)
OKLCHoklch(51.94% 0.082 173.9)
XYZxyz(10.0191, 14.8637, 14.6504)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7865 #782A3D
analogous
#2A783E #2A7865 #2A6478
triadic
#2A7865 #652A78 #78652A
tetradic
#2A7865 #3E2A78 #782A3D #64782A
square
#2A7865 #3E2A78 #782A3D #64782A
split-complementary
#2A7865 #782A64 #783E2A
monochromatic
#0A1D19 #1A4B3F #2A7865 #3AA58B #58C5AA

Accessibility & contrast

On white

5.29
#2A7865 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#2A7865 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7865
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7865#FFFFFF#000000##FFFFFF
##2A78651.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747064
Deuteranopia (green-blind)
#696866
Tritanopia (blue-blind)
#007972
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2a7865;
/* rgb */ color: rgb(42, 120, 101);
/* oklch */ color: oklch(51.9% 0.082 173.9);
Tailwind
colors: {
  custom: {
    50: '#6d9f90',
    500: '#2a7865',
    950: '#000000',
  },
}
SCSS
$custom: #2a7865;
$custom-light: #6d9f90;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7865",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 101
  },
  "hsl": {
    "h": 165.385,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.0818,
    "h": 173.9
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#2A7865
secondary
#AA5469
accent
#5071D8
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#080E0C
muted
#7B7E7D

Preview Lab

Preview with #2A7865

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

Preview Lab → · Contrast checker → · Palette generator →

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