#227F79#227F79

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

Color values

HEX#227F79
RGBrgb(34, 127, 121)
HSLhsl(176, 58%, 32%)
HSVhsv(176, 73%, 50%)
CMYKcmyk(73.2%, 0%, 4.7%, 50.2%)
CIE-LABlab(48.13, -27.71, -4.49)
CIE-LCHlch(48.13, 28.07, 189.20°)
OKLaboklab(54.26% -0.0832 -0.0126)
OKLCHoklch(54.26% 0.084 188.6)
XYZxyz(11.6986, 16.8979, 20.7305)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F79 #7F2228
analogous
#227F4B #227F79 #22577F
triadic
#227F79 #79227F #7F7922
tetradic
#227F79 #4B227F #7F2228 #577F22
square
#227F79 #4B227F #7F2228 #577F22
split-complementary
#227F79 #7F2257 #7F4B22
monochromatic
#081E1D #154F4B #227F79 #2FAFA7 #4CCFC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##227F79#FFFFFF#000000##FFFFFF
##227F791.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)
#787879
Deuteranopia (green-blind)
#6A6E7A
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227f79;
/* rgb */ color: rgb(34, 127, 121);
/* oklch */ color: oklch(54.3% 0.084 188.6);
Tailwind
colors: {
  custom: {
    50: '#6da49f',
    500: '#227f79',
    950: '#000000',
  },
}
SCSS
$custom: #227f79;
$custom-light: #6da49f;
$custom-dark: #000000;
JSON
{
  "hex": "#227f79",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 121
  },
  "hsl": {
    "h": 176.129,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.08418,
    "h": 188.6
  },
  "luminance": 0.16899
}

Semantic roles & 50–950 ramp

primary
#227F79
secondary
#B24B52
accent
#4751E1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #227F79

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

Preview Lab → · Contrast checker → · Palette generator →

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