#227E7C#227E7C

#227E7C is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.1% C 0.083 H 192.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#227E7C
RGBrgb(34, 126, 124)
HSLhsl(179, 58%, 31%)
HSVhsv(179, 73%, 49%)
CMYKcmyk(73%, 0%, 1.6%, 50.6%)
CIE-LABlab(47.90, -26.30, -6.60)
CIE-LCHlch(47.90, 27.12, 194.09°)
OKLaboklab(54.11% -0.0807 -0.0184)
OKLCHoklch(54.11% 0.083 192.8)
XYZxyz(11.7570, 16.7156, 21.6717)
Luminance0.1672 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E7C #7E2224
analogous
#227E4E #227E7C #22527E
triadic
#227E7C #7C227E #7E7C22
tetradic
#227E7C #4E227E #7E2224 #527E22
square
#227E7C #4E227E #7E2224 #527E22
split-complementary
#227E7C #7E2252 #7E4E22
monochromatic
#081E1D #154E4D #227E7C #2FAEAB #4CCFCC

Accessibility & contrast

On white

4.83
#227E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#227E7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E7C
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E7C#FFFFFF#000000##FFFFFF
##227E7C1.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76777C
Deuteranopia (green-blind)
#686D7D
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227e7c;
/* rgb */ color: rgb(34, 126, 124);
/* oklch */ color: oklch(54.1% 0.083 192.8);
Tailwind
colors: {
  custom: {
    50: '#6da4a1',
    500: '#227e7c',
    950: '#000000',
  },
}
SCSS
$custom: #227e7c;
$custom-light: #6da4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#227e7c",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 124
  },
  "hsl": {
    "h": 178.696,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54105,
    "c": 0.08278,
    "h": 192.8
  },
  "luminance": 0.16717
}

Semantic roles & 50–950 ramp

primary
#227E7C
secondary
#B14B4D
accent
#474AE1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #227E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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