#227F80#227F80

#227F80 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.5% C 0.083 H 196.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#227F80
RGBrgb(34, 127, 128)
HSLhsl(181, 58%, 32%)
HSVhsv(181, 73%, 50%)
CMYKcmyk(73.4%, 0.8%, 0%, 49.8%)
CIE-LABlab(48.36, -25.57, -8.28)
CIE-LCHlch(48.36, 26.87, 197.95°)
OKLaboklab(54.52% -0.0799 -0.023)
OKLCHoklch(54.52% 0.083 196.1)
XYZxyz(12.1436, 17.0759, 23.0739)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F80 #802322
analogous
#228052 #227F80 #225080
triadic
#227F80 #80227F #7F8022
tetradic
#227F80 #522280 #802322 #508022
square
#227F80 #522280 #802322 #508022
split-complementary
#227F80 #802250 #805222
monochromatic
#081F1F #154F50 #227F80 #2FAFB0 #4DCED0

Accessibility & contrast

On white

4.76
#227F80 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#227F80 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F80
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F80#FFFFFF#000000##FFFFFF
##227F801.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767980
Deuteranopia (green-blind)
#686F81
Tritanopia (blue-blind)
#00837F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227f80;
/* rgb */ color: rgb(34, 127, 128);
/* oklch */ color: oklch(54.5% 0.083 196.1);
Tailwind
colors: {
  custom: {
    50: '#6da4a4',
    500: '#227f80',
    950: '#000000',
  },
}
SCSS
$custom: #227f80;
$custom-light: #6da4a4;
$custom-dark: #000000;
JSON
{
  "hex": "#227f80",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 128
  },
  "hsl": {
    "h": 180.638,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54519,
    "c": 0.08315,
    "h": 196.1
  },
  "luminance": 0.17077
}

Semantic roles & 50–950 ramp

primary
#227F80
secondary
#B24C4B
accent
#4847E1
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #227F80

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

Preview Lab → · Contrast checker → · Palette generator →

#227F80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva