#2A7078#2A7078

#2A7078 is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.5% C 0.070 H 205.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#2A7078
RGBrgb(42, 112, 120)
HSLhsl(186, 48%, 32%)
HSVhsv(186, 65%, 47%)
CMYKcmyk(65%, 6.7%, 0%, 52.9%)
CIE-LABlab(43.41, -18.97, -10.92)
CIE-LCHlch(43.41, 21.89, 209.93°)
OKLaboklab(50.49% -0.0629 -0.0303)
OKLCHoklch(50.49% 0.07 205.7)
XYZxyz(10.1377, 13.4356, 19.8247)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7078 #78322A
analogous
#2A7859 #2A7078 #2A4978
triadic
#2A7078 #782A70 #70782A
tetradic
#2A7078 #592A78 #78322A #49782A
square
#2A7078 #592A78 #78322A #49782A
split-complementary
#2A7078 #782A49 #78592A
monochromatic
#0A1B1D #1A464B #2A7078 #3A9AA5 #58B9C5

Accessibility & contrast

On white

5.70
#2A7078 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#2A7078 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7078
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7078#FFFFFF#000000##FFFFFF
##2A70781.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676C79
Deuteranopia (green-blind)
#5B6378
Tritanopia (blue-blind)
#007572
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2a7078;
/* rgb */ color: rgb(42, 112, 120);
/* oklch */ color: oklch(50.5% 0.070 205.7);
Tailwind
colors: {
  custom: {
    50: '#6e999f',
    500: '#2a7078',
    950: '#000000',
  },
}
SCSS
$custom: #2a7078;
$custom-light: #6e999f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7078",
  "rgb": {
    "r": 42,
    "g": 112,
    "b": 120
  },
  "hsl": {
    "h": 186.154,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.50489,
    "c": 0.06981,
    "h": 205.7
  },
  "luminance": 0.13437
}

Semantic roles & 50–950 ramp

primary
#2A7078
secondary
#AA5D54
accent
#5E50D8
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #2A7078

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

Preview Lab → · Contrast checker → · Palette generator →

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