#2A7784#2A7784

#2A7784 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.8% C 0.076 H 210.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#2A7784
RGBrgb(42, 119, 132)
HSLhsl(189, 52%, 34%)
HSVhsv(189, 68%, 52%)
CMYKcmyk(68.2%, 9.8%, 0%, 48.2%)
CIE-LABlab(46.11, -18.89, -14.01)
CIE-LCHlch(46.11, 23.52, 216.57°)
OKLaboklab(52.81% -0.0655 -0.0389)
OKLCHoklch(52.81% 0.076 210.7)
XYZxyz(11.7148, 15.3505, 24.1709)
Luminance0.1535 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7784 #84372A
analogous
#2A8464 #2A7784 #2A4A84
triadic
#2A7784 #842A77 #77842A
tetradic
#2A7784 #642A84 #84372A #4A842A
square
#2A7784 #642A84 #84372A #4A842A
split-complementary
#2A7784 #842A4A #84642A
monochromatic
#0C2327 #1B4D56 #2A7784 #39A1B2 #5DBBCB

Accessibility & contrast

On white

5.16
#2A7784 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#2A7784 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7784
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7784#FFFFFF#000000##FFFFFF
##2A77841.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7385
Deuteranopia (green-blind)
#5F6984
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2a7784;
/* rgb */ color: rgb(42, 119, 132);
/* oklch */ color: oklch(52.8% 0.076 210.7);
Tailwind
colors: {
  custom: {
    50: '#709ea7',
    500: '#2a7784',
    950: '#000000',
  },
}
SCSS
$custom: #2a7784;
$custom-light: #709ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7784",
  "rgb": {
    "r": 42,
    "g": 119,
    "b": 132
  },
  "hsl": {
    "h": 188.667,
    "s": 51.724,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52807,
    "c": 0.07616,
    "h": 210.7
  },
  "luminance": 0.15352
}

Semantic roles & 50–950 ramp

primary
#2A7784
secondary
#B16559
accent
#614DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7784

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

Preview Lab → · Contrast checker → · Palette generator →

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