#217878#217878

#217878 is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.079 H 195.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#217878
RGBrgb(33, 120, 120)
HSLhsl(180, 57%, 30%)
HSVhsv(180, 73%, 47%)
CMYKcmyk(72.5%, 0%, 0%, 52.9%)
CIE-LABlab(45.79, -24.65, -7.38)
CIE-LCHlch(45.79, 25.73, 196.67°)
OKLaboklab(52.34% -0.0766 -0.0205)
OKLCHoklch(52.34% 0.079 195)
XYZxyz(10.7323, 15.1111, 20.1168)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217878 #782121
analogous
#21784D #217878 #214C78
triadic
#217878 #782178 #787821
tetradic
#217878 #4C2178 #782121 #4D7821
square
#217878 #4C2178 #782121 #4D7821
split-complementary
#217878 #78214D #784D21
monochromatic
#071818 #144848 #217878 #2EA8A8 #47CCCC

Accessibility & contrast

On white

5.22
#217878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#217878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217878
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217878#FFFFFF#000000##FFFFFF
##2178781.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707278
Deuteranopia (green-blind)
#636879
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217878;
/* rgb */ color: rgb(33, 120, 120);
/* oklch */ color: oklch(52.3% 0.079 195.0);
Tailwind
colors: {
  custom: {
    50: '#6b9f9e',
    500: '#217878',
    950: '#000000',
  },
}
SCSS
$custom: #217878;
$custom-light: #6b9f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#217878",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 120
  },
  "hsl": {
    "h": 180,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.5234,
    "c": 0.07926,
    "h": 195
  },
  "luminance": 0.15112
}

Semantic roles & 50–950 ramp

primary
#217878
secondary
#AB4A4A
accent
#4848E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #217878

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

Preview Lab → · Contrast checker → · Palette generator →

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