#227F7A#227F7A

#227F7A is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.3% C 0.084 H 189.7°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#227F7A
RGBrgb(34, 127, 122)
HSLhsl(177, 58%, 32%)
HSVhsv(177, 73%, 50%)
CMYKcmyk(73.2%, 0%, 3.9%, 50.2%)
CIE-LABlab(48.16, -27.41, -5.03)
CIE-LCHlch(48.16, 27.87, 190.40°)
OKLaboklab(54.3% -0.0827 -0.0141)
OKLCHoklch(54.3% 0.084 189.7)
XYZxyz(11.7603, 16.9226, 21.0552)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F7A #7F2227
analogous
#227F4C #227F7A #22567F
triadic
#227F7A #7A227F #7F7A22
tetradic
#227F7A #4C227F #7F2227 #567F22
square
#227F7A #4C227F #7F2227 #567F22
split-complementary
#227F7A #7F2256 #7F4C22
monochromatic
#081E1D #154F4C #227F7A #2FAFA8 #4CCFC8

Accessibility & contrast

On white

4.79
#227F7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#227F7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F7A
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F7A#FFFFFF#000000##FFFFFF
##227F7A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77787A
Deuteranopia (green-blind)
#6A6E7B
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227f7a;
/* rgb */ color: rgb(34, 127, 122);
/* oklch */ color: oklch(54.3% 0.084 189.7);
Tailwind
colors: {
  custom: {
    50: '#6da4a0',
    500: '#227f7a',
    950: '#000000',
  },
}
SCSS
$custom: #227f7a;
$custom-light: #6da4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#227f7a",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 122
  },
  "hsl": {
    "h": 176.774,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54298,
    "c": 0.08394,
    "h": 189.7
  },
  "luminance": 0.16924
}

Semantic roles & 50–950 ramp

primary
#227F7A
secondary
#B24B51
accent
#474FE1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #227F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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