#2A6771#2A6771

#2A6771 is a mid, moderate teal. Relative luminance 0.114; OKLCH L 47.8% C 0.064 H 209.8°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#2A6771
RGBrgb(42, 103, 113)
HSLhsl(188, 46%, 30%)
HSVhsv(188, 63%, 44%)
CMYKcmyk(62.8%, 8.8%, 0%, 55.7%)
CIE-LABlab(40.22, -16.26, -11.51)
CIE-LCHlch(40.22, 19.92, 215.28°)
OKLaboklab(47.83% -0.0556 -0.0319)
OKLCHoklch(47.83% 0.064 209.8)
XYZxyz(8.7845, 11.3841, 17.3540)
Luminance0.1139 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A6771 #71342A
analogous
#2A7157 #2A6771 #2A4371
triadic
#2A6771 #712A67 #67712A
tetradic
#2A6771 #572A71 #71342A #43712A
square
#2A6771 #572A71 #71342A #43712A
split-complementary
#2A6771 #712A43 #71572A
monochromatic
#091618 #193E44 #2A6771 #3B909E #55B1C0

Accessibility & contrast

On white

6.41
#2A6771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#2A6771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A6771
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A6771#FFFFFF#000000##FFFFFF
##2A67711.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E6372
Deuteranopia (green-blind)
#545B71
Tritanopia (blue-blind)
#006C6A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #2a6771;
/* rgb */ color: rgb(42, 103, 113);
/* oklch */ color: oklch(47.8% 0.064 209.8);
Tailwind
colors: {
  custom: {
    50: '#6c9299',
    500: '#2a6771',
    950: '#000000',
  },
}
SCSS
$custom: #2a6771;
$custom-light: #6c9299;
$custom-dark: #000000;
JSON
{
  "hex": "#2a6771",
  "rgb": {
    "r": 42,
    "g": 103,
    "b": 113
  },
  "hsl": {
    "h": 188.451,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.47834,
    "c": 0.06407,
    "h": 209.8
  },
  "luminance": 0.11385
}

Semantic roles & 50–950 ramp

primary
#2A6771
secondary
#A35F54
accent
#6552D5
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#070D0E
muted
#7A7E7E

Preview Lab

Preview with #2A6771

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

Preview Lab → · Contrast checker → · Palette generator →

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