#2A7983#2A7983

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

Color values

HEX#2A7983
RGBrgb(42, 121, 131)
HSLhsl(187, 51%, 34%)
HSVhsv(187, 68%, 51%)
CMYKcmyk(67.9%, 7.6%, 0%, 48.6%)
CIE-LABlab(46.72, -20.29, -12.50)
CIE-LCHlch(46.72, 23.83, 211.64°)
OKLaboklab(53.28% -0.0681 -0.0347)
OKLCHoklch(53.28% 0.076 207)
XYZxyz(11.8872, 15.8044, 23.8924)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7983 #83342A
analogous
#2A8361 #2A7983 #2A4D83
triadic
#2A7983 #832A79 #79832A
tetradic
#2A7983 #612A83 #83342A #4D832A
square
#2A7983 #612A83 #83342A #4D832A
split-complementary
#2A7983 #832A4D #83612A
monochromatic
#0C2326 #1B4E55 #2A7983 #39A4B1 #5DBECB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2A7983#FFFFFF#000000##FFFFFF
##2A79831.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)
#6F7484
Deuteranopia (green-blind)
#626B83
Tritanopia (blue-blind)
#007E7C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7983;
/* rgb */ color: rgb(42, 121, 131);
/* oklch */ color: oklch(53.3% 0.076 207.0);
Tailwind
colors: {
  custom: {
    50: '#70a0a7',
    500: '#2a7983',
    950: '#000000',
  },
}
SCSS
$custom: #2a7983;
$custom-light: #70a0a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7983",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 131
  },
  "hsl": {
    "h": 186.742,
    "s": 51.445,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53284,
    "c": 0.07644,
    "h": 207
  },
  "luminance": 0.15806
}

Semantic roles & 50–950 ramp

primary
#2A7983
secondary
#B16258
accent
#5D4DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7983

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

Preview Lab → · Contrast checker → · Palette generator →

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