#227F7E#227F7E

#227F7E is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.4% C 0.083 H 193.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#227F7E
RGBrgb(34, 127, 126)
HSLhsl(179, 58%, 32%)
HSVhsv(179, 73%, 50%)
CMYKcmyk(73.2%, 0%, 0.8%, 50.2%)
CIE-LABlab(48.29, -26.19, -7.20)
CIE-LCHlch(48.29, 27.16, 195.37°)
OKLaboklab(54.44% -0.0808 -0.02)
OKLCHoklch(54.44% 0.083 193.9)
XYZxyz(12.0132, 17.0238, 22.3874)
Luminance0.1703 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F7E #7F2223
analogous
#227F50 #227F7E #22527F
triadic
#227F7E #7E227F #7F7E22
tetradic
#227F7E #50227F #7F2223 #527F22
square
#227F7E #50227F #7F2223 #527F22
split-complementary
#227F7E #7F2252 #7F5022
monochromatic
#081E1E #154F4E #227F7E #2FAFAE #4CCFCE

Accessibility & contrast

On white

4.77
#227F7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#227F7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F7E
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F7E#FFFFFF#000000##FFFFFF
##227F7E1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77787E
Deuteranopia (green-blind)
#696E7F
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227f7e;
/* rgb */ color: rgb(34, 127, 126);
/* oklch */ color: oklch(54.4% 0.083 193.9);
Tailwind
colors: {
  custom: {
    50: '#6da4a3',
    500: '#227f7e',
    950: '#000000',
  },
}
SCSS
$custom: #227f7e;
$custom-light: #6da4a3;
$custom-dark: #000000;
JSON
{
  "hex": "#227f7e",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 126
  },
  "hsl": {
    "h": 179.355,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.08328,
    "h": 193.9
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#227F7E
secondary
#B24B4C
accent
#4748E1
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #227F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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