#227F81#227F81

#227F81 is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.6% C 0.083 H 197.1°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#227F81
RGBrgb(34, 127, 129)
HSLhsl(181, 58%, 32%)
HSVhsv(181, 74%, 51%)
CMYKcmyk(73.6%, 1.6%, 0%, 49.4%)
CIE-LABlab(48.39, -25.25, -8.82)
CIE-LCHlch(48.39, 26.75, 199.25°)
OKLaboklab(54.56% -0.0794 -0.0245)
OKLCHoklch(54.56% 0.083 197.1)
XYZxyz(12.2097, 17.1024, 23.4222)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F81 #812422
analogous
#228154 #227F81 #225081
triadic
#227F81 #81227F #7F8122
tetradic
#227F81 #542281 #812422 #508122
square
#227F81 #542281 #812422 #508122
split-complementary
#227F81 #812250 #815422
monochromatic
#082020 #154F51 #227F81 #2FAFB1 #4DCDD0

Accessibility & contrast

On white

4.75
#227F81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#227F81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F81
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F81#FFFFFF#000000##FFFFFF
##227F811.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767981
Deuteranopia (green-blind)
#686F82
Tritanopia (blue-blind)
#00837F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227f81;
/* rgb */ color: rgb(34, 127, 129);
/* oklch */ color: oklch(54.6% 0.083 197.1);
Tailwind
colors: {
  custom: {
    50: '#6ea4a5',
    500: '#227f81',
    950: '#000000',
  },
}
SCSS
$custom: #227f81;
$custom-light: #6ea4a5;
$custom-dark: #000000;
JSON
{
  "hex": "#227f81",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 129
  },
  "hsl": {
    "h": 181.263,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.54557,
    "c": 0.08313,
    "h": 197.1
  },
  "luminance": 0.17104
}

Semantic roles & 50–950 ramp

primary
#227F81
secondary
#B34E4B
accent
#4A46E1
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #227F81

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

Preview Lab → · Contrast checker → · Palette generator →

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