#2A7381#2A7381

#2A7381 is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.6% C 0.074 H 212.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2A7381
RGBrgb(42, 115, 129)
HSLhsl(190, 51%, 34%)
HSVhsv(190, 67%, 51%)
CMYKcmyk(67.4%, 10.9%, 0%, 49.4%)
CIE-LABlab(44.71, -17.69, -14.35)
CIE-LCHlch(44.71, 22.78, 219.04°)
OKLaboklab(51.65% -0.0623 -0.0399)
OKLCHoklch(51.65% 0.074 212.6)
XYZxyz(11.0464, 14.3375, 22.9499)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7381 #81382A
analogous
#2A8163 #2A7381 #2A4781
triadic
#2A7381 #812A73 #73812A
tetradic
#2A7381 #632A81 #81382A #47812A
square
#2A7381 #632A81 #81382A #47812A
split-complementary
#2A7381 #812A47 #81632A
monochromatic
#0C2125 #1B4A53 #2A7381 #399CAF #5CB8CA

Accessibility & contrast

On white

5.43
#2A7381 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2A7381 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7381
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7381#FFFFFF#000000##FFFFFF
##2A73811.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#686F82
Deuteranopia (green-blind)
#5C6681
Tritanopia (blue-blind)
#007977
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2a7381;
/* rgb */ color: rgb(42, 115, 129);
/* oklch */ color: oklch(51.6% 0.074 212.6);
Tailwind
colors: {
  custom: {
    50: '#6f9ba5',
    500: '#2a7381',
    950: '#000000',
  },
}
SCSS
$custom: #2a7381;
$custom-light: #6f9ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7381",
  "rgb": {
    "r": 42,
    "g": 115,
    "b": 129
  },
  "hsl": {
    "h": 189.655,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.51646,
    "c": 0.07397,
    "h": 212.6
  },
  "luminance": 0.14339
}

Semantic roles & 50–950 ramp

primary
#2A7381
secondary
#AF6657
accent
#644DDA
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7381

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

Preview Lab → · Contrast checker → · Palette generator →

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