#2A7B8A#2A7B8A

#2A7B8A is a mid, moderate teal. Relative luminance 0.165; OKLCH L 54.1% C 0.080 H 212.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2A7B8A
RGBrgb(42, 123, 138)
HSLhsl(189, 53%, 35%)
HSVhsv(189, 70%, 54%)
CMYKcmyk(69.6%, 10.9%, 0%, 45.9%)
CIE-LABlab(47.61, -19.09, -15.28)
CIE-LCHlch(47.61, 24.46, 218.68°)
OKLaboklab(54.09% -0.0672 -0.0425)
OKLCHoklch(54.09% 0.08 212.3)
XYZxyz(12.6233, 16.4917, 26.5578)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7B8A #8A392A
analogous
#2A8A69 #2A7B8A #2A4B8A
triadic
#2A7B8A #8A2A7B #7B8A2A
tetradic
#2A7B8A #692A8A #8A392A #4B8A2A
square
#2A7B8A #692A8A #8A392A #4B8A2A
split-complementary
#2A7B8A #8A2A4B #8A692A
monochromatic
#0D272C #1C515B #2A7B8A #38A5B9 #60BDCF

Accessibility & contrast

On white

4.89
#2A7B8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2A7B8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7B8A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7B8A#FFFFFF#000000##FFFFFF
##2A7B8A1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F778B
Deuteranopia (green-blind)
#626D8A
Tritanopia (blue-blind)
#008180
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2a7b8a;
/* rgb */ color: rgb(42, 123, 138);
/* oklch */ color: oklch(54.1% 0.080 212.3);
Tailwind
colors: {
  custom: {
    50: '#71a1ac',
    500: '#2a7b8a',
    950: '#000000',
  },
}
SCSS
$custom: #2a7b8a;
$custom-light: #71a1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7b8a",
  "rgb": {
    "r": 42,
    "g": 123,
    "b": 138
  },
  "hsl": {
    "h": 189.375,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.54091,
    "c": 0.07955,
    "h": 212.3
  },
  "luminance": 0.16493
}

Semantic roles & 50–950 ramp

primary
#2A7B8A
secondary
#B4695B
accent
#624BDD
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090F10
muted
#7B7E7F

Preview Lab

Preview with #2A7B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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