#2A7982#2A7982

#2A7982 is a mid, moderate teal. Relative luminance 0.158; OKLCH L 53.2% C 0.076 H 205.8°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#2A7982
RGBrgb(42, 121, 130)
HSLhsl(186, 51%, 34%)
HSVhsv(186, 68%, 51%)
CMYKcmyk(67.7%, 6.9%, 0%, 49%)
CIE-LABlab(46.68, -20.61, -11.96)
CIE-LCHlch(46.68, 23.83, 210.13°)
OKLaboklab(53.24% -0.0686 -0.0332)
OKLCHoklch(53.24% 0.076 205.8)
XYZxyz(11.8198, 15.7774, 23.5372)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7982 #82332A
analogous
#2A825F #2A7982 #2A4D82
triadic
#2A7982 #822A79 #79822A
tetradic
#2A7982 #5F2A82 #82332A #4D822A
square
#2A7982 #5F2A82 #82332A #4D822A
split-complementary
#2A7982 #822A4D #825F2A
monochromatic
#0C2325 #1B4E54 #2A7982 #39A4B0 #5CBFCA

Accessibility & contrast

On white

5.05
#2A7982 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#2A7982 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7982
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7982#FFFFFF#000000##FFFFFF
##2A79821.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7483
Deuteranopia (green-blind)
#626B82
Tritanopia (blue-blind)
#007E7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7982;
/* rgb */ color: rgb(42, 121, 130);
/* oklch */ color: oklch(53.2% 0.076 205.8);
Tailwind
colors: {
  custom: {
    50: '#70a0a6',
    500: '#2a7982',
    950: '#000000',
  },
}
SCSS
$custom: #2a7982;
$custom-light: #70a0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7982",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 130
  },
  "hsl": {
    "h": 186.136,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53243,
    "c": 0.07618,
    "h": 205.8
  },
  "luminance": 0.15779
}

Semantic roles & 50–950 ramp

primary
#2A7982
secondary
#B06158
accent
#5C4DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7982

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

Preview Lab → · Contrast checker → · Palette generator →

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