#227371#227371

#227371 is a mid, moderate teal. Relative luminance 0.138; OKLCH L 50.8% C 0.076 H 192.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#227371
RGBrgb(34, 115, 113)
HSLhsl(179, 54%, 29%)
HSVhsv(179, 70%, 45%)
CMYKcmyk(70.4%, 0%, 1.7%, 54.9%)
CIE-LABlab(43.93, -24.12, -5.96)
CIE-LCHlch(43.93, 24.84, 193.87°)
OKLaboklab(50.77% -0.0739 -0.0166)
OKLCHoklch(50.77% 0.076 192.6)
XYZxyz(9.7697, 13.7927, 17.7669)
Luminance0.1379 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227371 #732224
analogous
#227349 #227371 #224D73
triadic
#227371 #712273 #737122
tetradic
#227371 #492273 #732224 #4D7322
square
#227371 #492273 #732224 #4D7322
split-complementary
#227371 #73224D #734922
monochromatic
#071817 #144443 #227371 #30A29F #47C9C5

Accessibility & contrast

On white

5.59
#227371 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#227371 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227371
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227371#FFFFFF#000000##FFFFFF
##2273711.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6D71
Deuteranopia (green-blind)
#606472
Tritanopia (blue-blind)
#007672
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #227371;
/* rgb */ color: rgb(34, 115, 113);
/* oklch */ color: oklch(50.8% 0.076 192.6);
Tailwind
colors: {
  custom: {
    50: '#6a9b99',
    500: '#227371',
    950: '#000000',
  },
}
SCSS
$custom: #227371;
$custom-light: #6a9b99;
$custom-dark: #000000;
JSON
{
  "hex": "#227371",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 113
  },
  "hsl": {
    "h": 178.519,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50768,
    "c": 0.07577,
    "h": 192.6
  },
  "luminance": 0.13794
}

Semantic roles & 50–950 ramp

primary
#227371
secondary
#A64B4D
accent
#4A4EDE
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0E
muted
#7A7E7E

Preview Lab

Preview with #227371

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

Preview Lab → · Contrast checker → · Palette generator →

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