#2A7782#2A7782

#2A7782 is a mid, moderate teal. Relative luminance 0.153; OKLCH L 52.7% C 0.075 H 208.4°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2A7782
RGBrgb(42, 119, 130)
HSLhsl(188, 51%, 34%)
HSVhsv(188, 68%, 51%)
CMYKcmyk(67.7%, 8.5%, 0%, 49%)
CIE-LABlab(46.04, -19.54, -12.93)
CIE-LCHlch(46.04, 23.43, 213.51°)
OKLaboklab(52.72% -0.0663 -0.0359)
OKLCHoklch(52.72% 0.075 208.4)
XYZxyz(11.5792, 15.2963, 23.4570)
Luminance0.1530 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7782 #82352A
analogous
#2A8261 #2A7782 #2A4B82
triadic
#2A7782 #822A77 #77822A
tetradic
#2A7782 #612A82 #82352A #4B822A
square
#2A7782 #612A82 #82352A #4B822A
split-complementary
#2A7782 #822A4B #82612A
monochromatic
#0C2225 #1B4D54 #2A7782 #39A1B0 #5CBDCA

Accessibility & contrast

On white

5.17
#2A7782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2A7782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7782
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7782#FFFFFF#000000##FFFFFF
##2A77821.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7283
Deuteranopia (green-blind)
#606982
Tritanopia (blue-blind)
#007C7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7782;
/* rgb */ color: rgb(42, 119, 130);
/* oklch */ color: oklch(52.7% 0.075 208.4);
Tailwind
colors: {
  custom: {
    50: '#709ea6',
    500: '#2a7782',
    950: '#000000',
  },
}
SCSS
$custom: #2a7782;
$custom-light: #709ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7782",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 130
  },
  "hsl": {
    "h": 187.5,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52724,
    "c": 0.07543,
    "h": 208.4
  },
  "luminance": 0.15298
}

Semantic roles & 50–950 ramp

primary
#2A7782
secondary
#B06358
accent
#5F4DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7782

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

Preview Lab → · Contrast checker → · Palette generator →

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