#227571#227571

#227571 is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.3% C 0.077 H 190.3°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#227571
RGBrgb(34, 117, 113)
HSLhsl(177, 55%, 30%)
HSVhsv(177, 71%, 46%)
CMYKcmyk(70.9%, 0%, 3.4%, 54.1%)
CIE-LABlab(44.59, -25.14, -4.97)
CIE-LCHlch(44.59, 25.63, 191.19°)
OKLaboklab(51.3% -0.0761 -0.0139)
OKLCHoklch(51.3% 0.077 190.3)
XYZxyz(10.0002, 14.2538, 17.8438)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227571 #752226
analogous
#227547 #227571 #225075
triadic
#227571 #712275 #757122
tetradic
#227571 #472275 #752226 #507522
square
#227571 #472275 #752226 #507522
split-complementary
#227571 #752250 #754722
monochromatic
#071817 #144643 #227571 #30A49F #48CAC3

Accessibility & contrast

On white

5.45
#227571 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#227571 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227571
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227571#FFFFFF#000000##FFFFFF
##2275711.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6F71
Deuteranopia (green-blind)
#626672
Tritanopia (blue-blind)
#007874
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #227571;
/* rgb */ color: rgb(34, 117, 113);
/* oklch */ color: oklch(51.3% 0.077 190.3);
Tailwind
colors: {
  custom: {
    50: '#6a9d99',
    500: '#227571',
    950: '#000000',
  },
}
SCSS
$custom: #227571;
$custom-light: #6a9d99;
$custom-dark: #000000;
JSON
{
  "hex": "#227571",
  "rgb": {
    "r": 34,
    "g": 117,
    "b": 113
  },
  "hsl": {
    "h": 177.108,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51304,
    "c": 0.07741,
    "h": 190.3
  },
  "luminance": 0.14255
}

Semantic roles & 50–950 ramp

primary
#227571
secondary
#A84B4F
accent
#4951DE
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #227571

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

Preview Lab → · Contrast checker → · Palette generator →

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