#2A7278#2A7278

#2A7278 is a mid, moderate teal. Relative luminance 0.139; OKLCH L 51.0% C 0.071 H 202.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#2A7278
RGBrgb(42, 114, 120)
HSLhsl(185, 48%, 32%)
HSVhsv(185, 65%, 47%)
CMYKcmyk(65%, 5%, 0%, 52.9%)
CIE-LABlab(44.06, -20.04, -9.94)
CIE-LCHlch(44.06, 22.37, 206.38°)
OKLaboklab(51.01% -0.0652 -0.0275)
OKLCHoklch(51.01% 0.071 202.9)
XYZxyz(10.3609, 13.8818, 19.8991)
Luminance0.1388 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7278 #78302A
analogous
#2A7857 #2A7278 #2A4B78
triadic
#2A7278 #782A72 #72782A
tetradic
#2A7278 #572A78 #78302A #4B782A
square
#2A7278 #572A78 #78302A #4B782A
split-complementary
#2A7278 #782A4B #78572A
monochromatic
#0A1C1D #1A474B #2A7278 #3A9DA5 #58BCC5

Accessibility & contrast

On white

5.56
#2A7278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#2A7278 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7278
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7278#FFFFFF#000000##FFFFFF
##2A72781.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696D78
Deuteranopia (green-blind)
#5D6478
Tritanopia (blue-blind)
#007674
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a7278;
/* rgb */ color: rgb(42, 114, 120);
/* oklch */ color: oklch(51.0% 0.071 202.9);
Tailwind
colors: {
  custom: {
    50: '#6e9b9f',
    500: '#2a7278',
    950: '#000000',
  },
}
SCSS
$custom: #2a7278;
$custom-light: #6e9b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7278",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 120
  },
  "hsl": {
    "h": 184.615,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.51014,
    "c": 0.07079,
    "h": 202.9
  },
  "luminance": 0.13883
}

Semantic roles & 50–950 ramp

primary
#2A7278
secondary
#AA5B54
accent
#5B50D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2A7278

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

Preview Lab → · Contrast checker → · Palette generator →

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