#227B7A#227B7A

#227B7A is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.2% C 0.081 H 193.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#227B7A
RGBrgb(34, 123, 122)
HSLhsl(179, 57%, 31%)
HSVhsv(179, 72%, 48%)
CMYKcmyk(72.4%, 0%, 0.8%, 51.8%)
CIE-LABlab(46.86, -25.41, -6.97)
CIE-LCHlch(46.86, 26.35, 195.35°)
OKLaboklab(53.24% -0.0784 -0.0194)
OKLCHoklch(53.24% 0.081 193.9)
XYZxyz(11.2539, 15.9098, 20.8864)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B7A #7B2223
analogous
#227B4D #227B7A #224F7B
triadic
#227B7A #7A227B #7B7A22
tetradic
#227B7A #4D227B #7B2223 #4F7B22
square
#227B7A #4D227B #7B2223 #4F7B22
split-complementary
#227B7A #7B224F #7B4D22
monochromatic
#071B1B #154B4A #227B7A #2FABAA #4ACDCC

Accessibility & contrast

On white

5.02
#227B7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#227B7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B7A
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B7A#FFFFFF#000000##FFFFFF
##227B7A1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73757A
Deuteranopia (green-blind)
#666B7B
Tritanopia (blue-blind)
#007F7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227b7a;
/* rgb */ color: rgb(34, 123, 122);
/* oklch */ color: oklch(53.2% 0.081 193.9);
Tailwind
colors: {
  custom: {
    50: '#6ca1a0',
    500: '#227b7a',
    950: '#000000',
  },
}
SCSS
$custom: #227b7a;
$custom-light: #6ca1a0;
$custom-dark: #000000;
JSON
{
  "hex": "#227b7a",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 122
  },
  "hsl": {
    "h": 179.326,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53237,
    "c": 0.08078,
    "h": 193.9
  },
  "luminance": 0.15911
}

Semantic roles & 50–950 ramp

primary
#227B7A
secondary
#AE4B4C
accent
#484AE0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0E
muted
#7A7E7E

Preview Lab

Preview with #227B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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