#227F7C#227F7C

#227F7C is a mid, moderate teal. Relative luminance 0.170; OKLCH L 54.4% C 0.084 H 191.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#227F7C
RGBrgb(34, 127, 124)
HSLhsl(178, 58%, 32%)
HSVhsv(178, 73%, 50%)
CMYKcmyk(73.2%, 0%, 2.4%, 50.2%)
CIE-LABlab(48.23, -26.80, -6.12)
CIE-LCHlch(48.23, 27.49, 192.85°)
OKLaboklab(54.37% -0.0818 -0.0171)
OKLCHoklch(54.37% 0.084 191.8)
XYZxyz(11.8855, 16.9727, 21.7145)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227F7C #7F2225
analogous
#227F4E #227F7C #22547F
triadic
#227F7C #7C227F #7F7C22
tetradic
#227F7C #4E227F #7F2225 #547F22
square
#227F7C #4E227F #7F2225 #547F22
split-complementary
#227F7C #7F2254 #7F4E22
monochromatic
#081E1E #154F4D #227F7C #2FAFAB #4CCFCB

Accessibility & contrast

On white

4.78
#227F7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#227F7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227F7C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227F7C#FFFFFF#000000##FFFFFF
##227F7C1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#77787C
Deuteranopia (green-blind)
#696E7D
Tritanopia (blue-blind)
#00837E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227f7c;
/* rgb */ color: rgb(34, 127, 124);
/* oklch */ color: oklch(54.4% 0.084 191.8);
Tailwind
colors: {
  custom: {
    50: '#6da4a1',
    500: '#227f7c',
    950: '#000000',
  },
}
SCSS
$custom: #227f7c;
$custom-light: #6da4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#227f7c",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 124
  },
  "hsl": {
    "h": 178.065,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5437,
    "c": 0.08355,
    "h": 191.8
  },
  "luminance": 0.16974
}

Semantic roles & 50–950 ramp

primary
#227F7C
secondary
#B24B4F
accent
#474CE1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #227F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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