#2A7280#2A7280

#2A7280 is a mid, moderate teal. Relative luminance 0.141; OKLCH L 51.3% C 0.073 H 212.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#2A7280
RGBrgb(42, 114, 128)
HSLhsl(190, 51%, 33%)
HSVhsv(190, 67%, 50%)
CMYKcmyk(67.2%, 10.9%, 0%, 49.8%)
CIE-LABlab(44.35, -17.47, -14.30)
CIE-LCHlch(44.35, 22.57, 219.29°)
OKLaboklab(51.34% -0.0616 -0.0397)
OKLCHoklch(51.34% 0.073 212.8)
XYZxyz(10.8668, 14.0842, 22.5637)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7280 #80382A
analogous
#2A8063 #2A7280 #2A4780
triadic
#2A7280 #802A72 #72802A
tetradic
#2A7280 #632A80 #80382A #47802A
square
#2A7280 #632A80 #80382A #47802A
split-complementary
#2A7280 #802A47 #80632A
monochromatic
#0C2024 #1B4952 #2A7280 #399BAE #5BB7C9

Accessibility & contrast

On white

5.50
#2A7280 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#2A7280 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7280
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7280#FFFFFF#000000##FFFFFF
##2A72801.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676E81
Deuteranopia (green-blind)
#5B6580
Tritanopia (blue-blind)
#007876
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #2a7280;
/* rgb */ color: rgb(42, 114, 128);
/* oklch */ color: oklch(51.3% 0.073 212.8);
Tailwind
colors: {
  custom: {
    50: '#6f9aa4',
    500: '#2a7280',
    950: '#000000',
  },
}
SCSS
$custom: #2a7280;
$custom-light: #6f9aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7280",
  "rgb": {
    "r": 42,
    "g": 114,
    "b": 128
  },
  "hsl": {
    "h": 189.767,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.51344,
    "c": 0.07332,
    "h": 212.8
  },
  "luminance": 0.14085
}

Semantic roles & 50–950 ramp

primary
#2A7280
secondary
#AF6557
accent
#654EDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7280

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

Preview Lab → · Contrast checker → · Palette generator →

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