#2A7B86#2A7B86

#2A7B86 is a mid, moderate teal. Relative luminance 0.164; OKLCH L 53.9% C 0.078 H 207.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2A7B86
RGBrgb(42, 123, 134)
HSLhsl(187, 52%, 35%)
HSVhsv(187, 69%, 53%)
CMYKcmyk(68.7%, 8.2%, 0%, 47.5%)
CIE-LABlab(47.47, -20.39, -13.14)
CIE-LCHlch(47.47, 24.26, 212.80°)
OKLaboklab(53.92% -0.069 -0.0365)
OKLCHoklch(53.92% 0.078 207.9)
XYZxyz(12.3390, 16.3780, 25.0606)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B86 #86352A
analogous
#2A8663 #2A7B86 #2A4D86
triadic
#2A7B86 #862A7B #7B862A
tetradic
#2A7B86 #632A86 #86352A #4D862A
square
#2A7B86 #632A86 #86352A #4D862A
split-complementary
#2A7B86 #862A4D #86632A
monochromatic
#0D2529 #1B5057 #2A7B86 #39A6B5 #5EBFCD

Accessibility & contrast

On white

4.91
#2A7B86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2A7B86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7B86
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B86#FFFFFF#000000##FFFFFF
##2A7B861.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707687
Deuteranopia (green-blind)
#636C86
Tritanopia (blue-blind)
#00817E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a7b86;
/* rgb */ color: rgb(42, 123, 134);
/* oklch */ color: oklch(53.9% 0.078 207.9);
Tailwind
colors: {
  custom: {
    50: '#70a1a9',
    500: '#2a7b86',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b86;
$custom-light: #70a1a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b86",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 134
  },
  "hsl": {
    "h": 187.174,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53924,
    "c": 0.07805,
    "h": 207.9
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#2A7B86
secondary
#B2645A
accent
#5D4CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F0F
muted
#7B7E7F

Preview Lab

Preview with #2A7B86

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

Preview Lab → · Contrast checker → · Palette generator →

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