#227F78#227F78

#227F78 is a mid, moderate teal. Relative luminance 0.169; OKLCH L 54.2% C 0.084 H 187.6°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#227F78
RGBrgb(34, 127, 120)
HSLhsl(175, 58%, 32%)
HSVhsv(175, 73%, 50%)
CMYKcmyk(73.2%, 0%, 5.5%, 50.2%)
CIE-LABlab(48.10, -28.01, -3.94)
CIE-LCHlch(48.10, 28.29, 188.01°)
OKLaboklab(54.23% -0.0837 -0.0111)
OKLCHoklch(54.23% 0.084 187.6)
XYZxyz(11.6376, 16.8735, 20.4092)
Luminance0.1688 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F78 #7F2229
analogous
#227F4A #227F78 #22587F
triadic
#227F78 #78227F #7F7822
tetradic
#227F78 #4A227F #7F2229 #587F22
square
#227F78 #4A227F #7F2229 #587F22
split-complementary
#227F78 #7F2258 #7F4A22
monochromatic
#081E1D #154F4A #227F78 #2FAFA6 #4CCFC5

Accessibility & contrast

On white

4.80
#227F78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#227F78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F78
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F78#FFFFFF#000000##FFFFFF
##227F781.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787878
Deuteranopia (green-blind)
#6B6E79
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227f78;
/* rgb */ color: rgb(34, 127, 120);
/* oklch */ color: oklch(54.2% 0.084 187.6);
Tailwind
colors: {
  custom: {
    50: '#6da49e',
    500: '#227f78',
    950: '#000000',
  },
}
SCSS
$custom: #227f78;
$custom-light: #6da49e;
$custom-dark: #000000;
JSON
{
  "hex": "#227f78",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 120
  },
  "hsl": {
    "h": 175.484,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.54227,
    "c": 0.08445,
    "h": 187.6
  },
  "luminance": 0.16875
}

Semantic roles & 50–950 ramp

primary
#227F78
secondary
#B24B53
accent
#4752E1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #227F78

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

Preview Lab → · Contrast checker → · Palette generator →

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