#217873#217873

#217873 is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.2% C 0.080 H 189.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#217873
RGBrgb(33, 120, 115)
HSLhsl(177, 57%, 30%)
HSVhsv(177, 73%, 47%)
CMYKcmyk(72.5%, 0%, 4.2%, 52.9%)
CIE-LABlab(45.62, -26.19, -4.64)
CIE-LCHlch(45.62, 26.60, 190.05°)
OKLaboklab(52.15% -0.079 -0.013)
OKLCHoklch(52.15% 0.08 189.4)
XYZxyz(10.4367, 14.9929, 18.5602)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217873 #782126
analogous
#217848 #217873 #215178
triadic
#217873 #732178 #787321
tetradic
#217873 #482178 #782126 #517821
square
#217873 #482178 #782126 #517821
split-complementary
#217873 #782151 #784821
monochromatic
#071817 #144845 #217873 #2EA8A1 #47CCC5

Accessibility & contrast

On white

5.25
#217873 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#217873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217873
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217873#FFFFFF#000000##FFFFFF
##2178731.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717173
Deuteranopia (green-blind)
#646874
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217873;
/* rgb */ color: rgb(33, 120, 115);
/* oklch */ color: oklch(52.2% 0.080 189.4);
Tailwind
colors: {
  custom: {
    50: '#6b9f9b',
    500: '#217873',
    950: '#000000',
  },
}
SCSS
$custom: #217873;
$custom-light: #6b9f9b;
$custom-dark: #000000;
JSON
{
  "hex": "#217873",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 115
  },
  "hsl": {
    "h": 176.552,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.52155,
    "c": 0.08002,
    "h": 189.4
  },
  "luminance": 0.14994
}

Semantic roles & 50–950 ramp

primary
#217873
secondary
#AB4A4F
accent
#4850E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #217873

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

Preview Lab → · Contrast checker → · Palette generator →

#217873 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva