#2A7985#2A7985

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

Color values

HEX#2A7985
RGBrgb(42, 121, 133)
HSLhsl(188, 52%, 34%)
HSVhsv(188, 68%, 52%)
CMYKcmyk(68.4%, 9%, 0%, 47.8%)
CIE-LABlab(46.79, -19.64, -13.58)
CIE-LCHlch(46.79, 23.88, 214.65°)
OKLaboklab(53.37% -0.0672 -0.0377)
OKLCHoklch(53.37% 0.077 209.3)
XYZxyz(12.0241, 15.8591, 24.6132)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7985 #85362A
analogous
#2A8564 #2A7985 #2A4C85
triadic
#2A7985 #852A79 #79852A
tetradic
#2A7985 #642A85 #85362A #4C852A
square
#2A7985 #642A85 #85362A #4C852A
split-complementary
#2A7985 #852A4C #85642A
monochromatic
#0D2428 #1B4F56 #2A7985 #39A3B4 #5DBDCC

Accessibility & contrast

On white

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

On black

4.17
#2A7985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2A7985#FFFFFF#000000##FFFFFF
##2A79851.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2a7985;
/* rgb */ color: rgb(42, 121, 133);
/* oklch */ color: oklch(53.4% 0.077 209.3);
Tailwind
colors: {
  custom: {
    50: '#70a0a8',
    500: '#2a7985',
    950: '#000000',
  },
}
SCSS
$custom: #2a7985;
$custom-light: #70a0a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7985",
  "rgb": {
    "r": 42,
    "g": 121,
    "b": 133
  },
  "hsl": {
    "h": 187.912,
    "s": 52,
    "l": 34.314
  },
  "oklch": {
    "l": 0.53366,
    "c": 0.07708,
    "h": 209.3
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#2A7985
secondary
#B26559
accent
#5F4CDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7985

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

Preview Lab → · Contrast checker → · Palette generator →

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