#227A7B#227A7B

#227A7B is a mid, moderate teal. Relative luminance 0.157; OKLCH L 53.0% C 0.080 H 196.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#227A7B
RGBrgb(34, 122, 123)
HSLhsl(181, 57%, 31%)
HSVhsv(181, 72%, 48%)
CMYKcmyk(72.4%, 0.8%, 0%, 51.8%)
CIE-LABlab(46.56, -24.59, -8.00)
CIE-LCHlch(46.56, 25.86, 198.03°)
OKLaboklab(53.01% -0.0769 -0.0222)
OKLCHoklch(53.01% 0.08 196.1)
XYZxyz(11.1928, 15.6879, 21.1732)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A7B #7B2322
analogous
#227B4F #227A7B #224D7B
triadic
#227A7B #7B227A #7A7B22
tetradic
#227A7B #4F227B #7B2322 #4D7B22
square
#227A7B #4F227B #7B2322 #4D7B22
split-complementary
#227A7B #7B224D #7B4F22
monochromatic
#071B1B #154A4B #227A7B #2FAAAB #4ACCCD

Accessibility & contrast

On white

5.08
#227A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#227A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227A7B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A7B#FFFFFF#000000##FFFFFF
##227A7B1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72747B
Deuteranopia (green-blind)
#646A7C
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227a7b;
/* rgb */ color: rgb(34, 122, 123);
/* oklch */ color: oklch(53.0% 0.080 196.1);
Tailwind
colors: {
  custom: {
    50: '#6ca1a1',
    500: '#227a7b',
    950: '#000000',
  },
}
SCSS
$custom: #227a7b;
$custom-light: #6ca1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#227a7b",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 123
  },
  "hsl": {
    "h": 180.674,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53009,
    "c": 0.08001,
    "h": 196.1
  },
  "luminance": 0.15689
}

Semantic roles & 50–950 ramp

primary
#227A7B
secondary
#AE4C4B
accent
#4A48E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0E
muted
#7A7E7E

Preview Lab

Preview with #227A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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