#227271#227271

#227271 is a mid, moderate teal. Relative luminance 0.136; OKLCH L 50.5% C 0.075 H 193.8°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#227271
RGBrgb(34, 114, 113)
HSLhsl(179, 54%, 29%)
HSVhsv(179, 70%, 45%)
CMYKcmyk(70.2%, 0%, 0.9%, 55.3%)
CIE-LABlab(43.60, -23.61, -6.45)
CIE-LCHlch(43.60, 24.47, 195.28°)
OKLaboklab(50.5% -0.0728 -0.0179)
OKLCHoklch(50.5% 0.075 193.8)
XYZxyz(9.6563, 13.5659, 17.7291)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227271 #722223
analogous
#227249 #227271 #224B72
triadic
#227271 #712272 #727122
tetradic
#227271 #492272 #722223 #4B7222
square
#227271 #492272 #722223 #4B7222
split-complementary
#227271 #72224B #724922
monochromatic
#071817 #144342 #227271 #30A1A0 #46C8C6

Accessibility & contrast

On white

5.66
#227271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#227271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227271
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227271#FFFFFF#000000##FFFFFF
##2272711.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6C71
Deuteranopia (green-blind)
#5E6372
Tritanopia (blue-blind)
#007671
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #227271;
/* rgb */ color: rgb(34, 114, 113);
/* oklch */ color: oklch(50.5% 0.075 193.8);
Tailwind
colors: {
  custom: {
    50: '#6a9b99',
    500: '#227271',
    950: '#000000',
  },
}
SCSS
$custom: #227271;
$custom-light: #6a9b99;
$custom-dark: #000000;
JSON
{
  "hex": "#227271",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 113
  },
  "hsl": {
    "h": 179.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.505,
    "c": 0.07499,
    "h": 193.8
  },
  "luminance": 0.13567
}

Semantic roles & 50–950 ramp

primary
#227271
secondary
#A54B4C
accent
#4A4CDD
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #227271

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

Preview Lab → · Contrast checker → · Palette generator →

#227271 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva