#2A717C#2A717C

#2A717C is a mid, moderate teal. Relative luminance 0.138; OKLCH L 50.9% C 0.071 H 209.3°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#2A717C
RGBrgb(42, 113, 124)
HSLhsl(188, 49%, 33%)
HSVhsv(188, 66%, 49%)
CMYKcmyk(66.1%, 8.9%, 0%, 51.4%)
CIE-LABlab(43.88, -18.23, -12.61)
CIE-LCHlch(43.88, 22.16, 214.69°)
OKLaboklab(50.92% -0.0623 -0.035)
OKLCHoklch(50.92% 0.071 209.3)
XYZxyz(10.4965, 13.7566, 21.1670)
Luminance0.1376 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A717C #7C352A
analogous
#2A7C5E #2A717C #2A487C
triadic
#2A717C #7C2A71 #717C2A
tetradic
#2A717C #5E2A7C #7C352A #487C2A
square
#2A717C #5E2A7C #7C352A #487C2A
split-complementary
#2A717C #7C2A48 #7C5E2A
monochromatic
#0B1E21 #1B474E #2A717C #399BAA #59B8C7

Accessibility & contrast

On white

5.60
#2A717C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2A717C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2A717C
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A717C#FFFFFF#000000##FFFFFF
##2A717C1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#676D7D
Deuteranopia (green-blind)
#5B647C
Tritanopia (blue-blind)
#007674
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2a717c;
/* rgb */ color: rgb(42, 113, 124);
/* oklch */ color: oklch(50.9% 0.071 209.3);
Tailwind
colors: {
  custom: {
    50: '#6e9aa1',
    500: '#2a717c',
    950: '#000000',
  },
}
SCSS
$custom: #2a717c;
$custom-light: #6e9aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2a717c",
  "rgb": {
    "r": 42,
    "g": 113,
    "b": 124
  },
  "hsl": {
    "h": 188.049,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.50915,
    "c": 0.07142,
    "h": 209.3
  },
  "luminance": 0.13758
}

Semantic roles & 50–950 ramp

primary
#2A717C
secondary
#AD6155
accent
#614FD9
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080E0F
muted
#7B7E7E

Preview Lab

Preview with #2A717C

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

Preview Lab → · Contrast checker → · Palette generator →

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