#227E7A#227E7A

#227E7A is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.0% C 0.083 H 190.7°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#227E7A
RGBrgb(34, 126, 122)
HSLhsl(177, 58%, 31%)
HSVhsv(177, 73%, 49%)
CMYKcmyk(73%, 0%, 3.2%, 50.6%)
CIE-LABlab(47.84, -26.91, -5.51)
CIE-LCHlch(47.84, 27.47, 191.58°)
OKLaboklab(54.03% -0.0817 -0.0154)
OKLCHoklch(54.03% 0.083 190.7)
XYZxyz(11.6318, 16.6656, 21.0123)
Luminance0.1667 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E7A #7E2226
analogous
#227E4C #227E7A #22547E
triadic
#227E7A #7A227E #7E7A22
tetradic
#227E7A #4C227E #7E2226 #547E22
square
#227E7A #4C227E #7E2226 #547E22
split-complementary
#227E7A #7E2254 #7E4C22
monochromatic
#081E1D #154E4B #227E7A #2FAEA9 #4CCFC9

Accessibility & contrast

On white

4.85
#227E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#227E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E7A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E7A#FFFFFF#000000##FFFFFF
##227E7A1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76777A
Deuteranopia (green-blind)
#696D7B
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227e7a;
/* rgb */ color: rgb(34, 126, 122);
/* oklch */ color: oklch(54.0% 0.083 190.7);
Tailwind
colors: {
  custom: {
    50: '#6da4a0',
    500: '#227e7a',
    950: '#000000',
  },
}
SCSS
$custom: #227e7a;
$custom-light: #6da4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#227e7a",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 122
  },
  "hsl": {
    "h": 177.391,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54032,
    "c": 0.08311,
    "h": 190.7
  },
  "luminance": 0.16667
}

Semantic roles & 50–950 ramp

primary
#227E7A
secondary
#B14B50
accent
#474EE1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #227E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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