#2A7882#2A7882

#2A7882 is a mid, moderate teal. Relative luminance 0.155; OKLCH L 53.0% C 0.076 H 207.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#2A7882
RGBrgb(42, 120, 130)
HSLhsl(187, 51%, 34%)
HSVhsv(187, 68%, 51%)
CMYKcmyk(67.7%, 7.7%, 0%, 49%)
CIE-LABlab(46.36, -20.07, -12.45)
CIE-LCHlch(46.36, 23.62, 211.80°)
OKLaboklab(52.98% -0.0675 -0.0345)
OKLCHoklch(52.98% 0.076 207.1)
XYZxyz(11.6989, 15.5356, 23.4969)
Luminance0.1554 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7882 #82342A
analogous
#2A8260 #2A7882 #2A4C82
triadic
#2A7882 #822A78 #78822A
tetradic
#2A7882 #602A82 #82342A #4C822A
square
#2A7882 #602A82 #82342A #4C822A
split-complementary
#2A7882 #822A4C #82602A
monochromatic
#0C2325 #1B4D54 #2A7882 #39A3B0 #5CBECA

Accessibility & contrast

On white

5.11
#2A7882 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#2A7882 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7882
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7882#FFFFFF#000000##FFFFFF
##2A78821.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7383
Deuteranopia (green-blind)
#616A82
Tritanopia (blue-blind)
#007D7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2a7882;
/* rgb */ color: rgb(42, 120, 130);
/* oklch */ color: oklch(53.0% 0.076 207.1);
Tailwind
colors: {
  custom: {
    50: '#709fa6',
    500: '#2a7882',
    950: '#000000',
  },
}
SCSS
$custom: #2a7882;
$custom-light: #709fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7882",
  "rgb": {
    "r": 42,
    "g": 120,
    "b": 130
  },
  "hsl": {
    "h": 186.818,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52983,
    "c": 0.07578,
    "h": 207.1
  },
  "luminance": 0.15537
}

Semantic roles & 50–950 ramp

primary
#2A7882
secondary
#B06258
accent
#5D4DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080E0F
muted
#7B7E7F

Preview Lab

Preview with #2A7882

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

Preview Lab → · Contrast checker → · Palette generator →

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