#217A7C#217A7C

#217A7C is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.0% C 0.080 H 197.2°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#217A7C
RGBrgb(33, 122, 124)
HSLhsl(181, 58%, 31%)
HSVhsv(181, 73%, 49%)
CMYKcmyk(73.4%, 1.6%, 0%, 51.4%)
CIE-LABlab(46.57, -24.41, -8.58)
CIE-LCHlch(46.57, 25.88, 199.37°)
OKLaboklab(53.02% -0.0768 -0.0238)
OKLCHoklch(53.02% 0.08 197.2)
XYZxyz(11.2232, 15.6963, 21.5031)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A7C #7C2321
analogous
#217C50 #217A7C #214C7C
triadic
#217A7C #7C217A #7A7C21
tetradic
#217A7C #50217C #7C2321 #4C7C21
square
#217A7C #50217C #7C2321 #4C7C21
split-complementary
#217A7C #7C214C #7C5021
monochromatic
#071B1B #144A4C #217A7C #2EAAAC #49CCCF

Accessibility & contrast

On white

5.07
#217A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#217A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A7C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A7C#FFFFFF#000000##FFFFFF
##217A7C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747C
Deuteranopia (green-blind)
#646A7D
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217a7c;
/* rgb */ color: rgb(33, 122, 124);
/* oklch */ color: oklch(53.0% 0.080 197.2);
Tailwind
colors: {
  custom: {
    50: '#6ca1a1',
    500: '#217a7c',
    950: '#000000',
  },
}
SCSS
$custom: #217a7c;
$custom-light: #6ca1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#217a7c",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 124
  },
  "hsl": {
    "h": 181.319,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53023,
    "c": 0.08045,
    "h": 197.2
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

primary
#217A7C
secondary
#AF4C4A
accent
#4A47E1
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0F
muted
#7A7E7E

Preview Lab

Preview with #217A7C

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

Preview Lab → · Contrast checker → · Palette generator →

#217A7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva