#2A7579#2A7579

#2A7579 is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.8% C 0.073 H 200.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2A7579
RGBrgb(42, 117, 121)
HSLhsl(183, 48%, 32%)
HSVhsv(183, 65%, 47%)
CMYKcmyk(65.3%, 3.3%, 0%, 52.5%)
CIE-LABlab(45.07, -21.33, -9.02)
CIE-LCHlch(45.07, 23.16, 202.93°)
OKLaboklab(51.84% -0.0682 -0.025)
OKLCHoklch(51.84% 0.073 200.1)
XYZxyz(10.7658, 14.5941, 20.3350)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A7579 #792E2A
analogous
#2A7956 #2A7579 #2A4E79
triadic
#2A7579 #792A75 #75792A
tetradic
#2A7579 #562A79 #792E2A #4E792A
square
#2A7579 #562A79 #792E2A #4E792A
split-complementary
#2A7579 #792A4E #79562A
monochromatic
#0A1D1E #1A494C #2A7579 #3AA1A6 #58C0C5

Accessibility & contrast

On white

5.36
#2A7579 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2A7579 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A7579
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A7579#FFFFFF#000000##FFFFFF
##2A75791.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D7079
Deuteranopia (green-blind)
#606779
Tritanopia (blue-blind)
#007976
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2a7579;
/* rgb */ color: rgb(42, 117, 121);
/* oklch */ color: oklch(51.8% 0.073 200.1);
Tailwind
colors: {
  custom: {
    50: '#6e9d9f',
    500: '#2a7579',
    950: '#000000',
  },
}
SCSS
$custom: #2a7579;
$custom-light: #6e9d9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a7579",
  "rgb": {
    "r": 42,
    "g": 117,
    "b": 121
  },
  "hsl": {
    "h": 183.038,
    "s": 48.466,
    "l": 31.961
  },
  "oklch": {
    "l": 0.51841,
    "c": 0.07261,
    "h": 200.1
  },
  "luminance": 0.14595
}

Semantic roles & 50–950 ramp

primary
#2A7579
secondary
#AB5954
accent
#5750D8
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0E
muted
#7B7E7E

Preview Lab

Preview with #2A7579

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

Preview Lab → · Contrast checker → · Palette generator →

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