#217868#217868

#217868 is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.084 H 177.7°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#217868
RGBrgb(33, 120, 104)
HSLhsl(169, 57%, 30%)
HSVhsv(169, 73%, 47%)
CMYKcmyk(72.5%, 0%, 13.3%, 52.9%)
CIE-LABlab(45.30, -29.42, 1.43)
CIE-LCHlch(45.30, 29.46, 177.22°)
OKLaboklab(51.78% -0.0844 0.0033)
OKLCHoklch(51.78% 0.084 177.7)
XYZxyz(9.8411, 14.7546, 15.4233)
Luminance0.1476 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217868 #782131
analogous
#21783D #217868 #215C78
triadic
#217868 #682178 #786821
tetradic
#217868 #3D2178 #782131 #5C7821
square
#217868 #3D2178 #782131 #5C7821
split-complementary
#217868 #78215C #783D21
monochromatic
#071815 #14483E #217868 #2EA892 #47CCB4

Accessibility & contrast

On white

5.31
#217868 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#217868 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217868
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217868#FFFFFF#000000##FFFFFF
##2178681.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737067
Deuteranopia (green-blind)
#676869
Tritanopia (blue-blind)
#007A73
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217868;
/* rgb */ color: rgb(33, 120, 104);
/* oklch */ color: oklch(51.8% 0.084 177.7);
Tailwind
colors: {
  custom: {
    50: '#6a9f93',
    500: '#217868',
    950: '#000000',
  },
}
SCSS
$custom: #217868;
$custom-light: #6a9f93;
$custom-dark: #000000;
JSON
{
  "hex": "#217868",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 104
  },
  "hsl": {
    "h": 168.966,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51779,
    "c": 0.08447,
    "h": 177.7
  },
  "luminance": 0.14756
}

Semantic roles & 50–950 ramp

primary
#217868
secondary
#AB4A5C
accent
#4864E0
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #217868

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

Preview Lab → · Contrast checker → · Palette generator →

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