#217A7E#217A7E

#217A7E is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.1% C 0.081 H 199.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#217A7E
RGBrgb(33, 122, 126)
HSLhsl(183, 58%, 31%)
HSVhsv(183, 74%, 49%)
CMYKcmyk(73.8%, 3.2%, 0%, 50.6%)
CIE-LABlab(46.64, -23.78, -9.67)
CIE-LCHlch(46.64, 25.67, 202.13°)
OKLaboklab(53.1% -0.0759 -0.0268)
OKLCHoklch(53.1% 0.081 199.5)
XYZxyz(11.3509, 15.7474, 22.1759)
Luminance0.1575 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A7E #7E2521
analogous
#217E53 #217A7E #214B7E
triadic
#217A7E #7E217A #7A7E21
tetradic
#217A7E #53217E #7E2521 #4B7E21
square
#217A7E #53217E #7E2521 #4B7E21
split-complementary
#217A7E #7E214B #7E5321
monochromatic
#081C1D #144B4E #217A7E #2EA9AE #4ACAD0

Accessibility & contrast

On white

5.06
#217A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#217A7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A7E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A7E#FFFFFF#000000##FFFFFF
##217A7E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747E
Deuteranopia (green-blind)
#636A7E
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217a7e;
/* rgb */ color: rgb(33, 122, 126);
/* oklch */ color: oklch(53.1% 0.081 199.5);
Tailwind
colors: {
  custom: {
    50: '#6ca1a3',
    500: '#217a7e',
    950: '#000000',
  },
}
SCSS
$custom: #217a7e;
$custom-light: #6ca1a3;
$custom-dark: #000000;
JSON
{
  "hex": "#217a7e",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 126
  },
  "hsl": {
    "h": 182.581,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.53101,
    "c": 0.08051,
    "h": 199.5
  },
  "luminance": 0.15749
}

Semantic roles & 50–950 ramp

primary
#217A7E
secondary
#B14E4A
accent
#4D46E2
background
#F7F9FA
surface
#EDF2F3
border
#C8CCCD
text
#080F0F
muted
#7B7E7F

Preview Lab

Preview with #217A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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