#2A7986#2A7986

#2A7986 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.4% C 0.077 H 210.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2A7986
RGBrgb(42, 121, 134)
HSLhsl(188, 52%, 35%)
HSVhsv(188, 69%, 53%)
CMYKcmyk(68.7%, 9.7%, 0%, 47.5%)
CIE-LABlab(46.83, -19.32, -14.11)
CIE-LCHlch(46.83, 23.92, 216.15°)
OKLaboklab(53.41% -0.0668 -0.0392)
OKLCHoklch(53.41% 0.077 210.4)
XYZxyz(12.0935, 15.8869, 24.9788)
Luminance0.1589 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7986 #86372A
analogous
#2A8665 #2A7986 #2A4B86
triadic
#2A7986 #862A79 #79862A
tetradic
#2A7986 #652A86 #86372A #4B862A
square
#2A7986 #652A86 #86372A #4B862A
split-complementary
#2A7986 #862A4B #86652A
monochromatic
#0D2529 #1B4F57 #2A7986 #39A3B5 #5EBDCD

Accessibility & contrast

On white

5.03
#2A7986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#2A7986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7986
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7986#FFFFFF#000000##FFFFFF
##2A79861.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7587
Deuteranopia (green-blind)
#616B86
Tritanopia (blue-blind)
#007F7D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2a7986;
/* rgb */ color: rgb(42, 121, 134);
/* oklch */ color: oklch(53.4% 0.077 210.4);
Tailwind
colors: {
  custom: {
    50: '#70a0a9',
    500: '#2a7986',
    950: '#000000',
  },
}
SCSS
$custom: #2a7986;
$custom-light: #70a0a9;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7986",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 134
  },
  "hsl": {
    "h": 188.478,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53407,
    "c": 0.07746,
    "h": 210.4
  },
  "luminance": 0.15888
}

Semantic roles & 50–950 ramp

primary
#2A7986
secondary
#B2665A
accent
#604CDC
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7986

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

Preview Lab → · Contrast checker → · Palette generator →

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