#227B7C#227B7C

#227B7C is a mid, moderate teal. Relative luminance 0.160; OKLCH L 53.3% C 0.081 H 196.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#227B7C
RGBrgb(34, 123, 124)
HSLhsl(181, 57%, 31%)
HSVhsv(181, 73%, 49%)
CMYKcmyk(72.6%, 0.8%, 0%, 51.4%)
CIE-LABlab(46.92, -24.79, -8.06)
CIE-LCHlch(46.92, 26.06, 198.01°)
OKLaboklab(53.31% -0.0775 -0.0224)
OKLCHoklch(53.31% 0.081 196.1)
XYZxyz(11.3791, 15.9599, 21.5457)
Luminance0.1596 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B7C #7C2322
analogous
#227C50 #227B7C #224E7C
triadic
#227B7C #7C227B #7B7C22
tetradic
#227B7C #50227C #7C2322 #4E7C22
square
#227B7C #50227C #7C2322 #4E7C22
split-complementary
#227B7C #7C224E #7C5022
monochromatic
#081C1C #154B4C #227B7C #2FABAC #4BCCCE

Accessibility & contrast

On white

5.01
#227B7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#227B7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B7C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B7C#FFFFFF#000000##FFFFFF
##227B7C1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72757C
Deuteranopia (green-blind)
#656B7D
Tritanopia (blue-blind)
#007F7B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227b7c;
/* rgb */ color: rgb(34, 123, 124);
/* oklch */ color: oklch(53.3% 0.081 196.1);
Tailwind
colors: {
  custom: {
    50: '#6ca1a1',
    500: '#227b7c',
    950: '#000000',
  },
}
SCSS
$custom: #227b7c;
$custom-light: #6ca1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#227b7c",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 124
  },
  "hsl": {
    "h": 180.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53312,
    "c": 0.08065,
    "h": 196.1
  },
  "luminance": 0.15961
}

Semantic roles & 50–950 ramp

primary
#227B7C
secondary
#AF4C4B
accent
#4948E0
background
#F7F9F9
surface
#EDF2F2
border
#C8CCCC
text
#080F0F
muted
#7B7E7E

Preview Lab

Preview with #227B7C

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

Preview Lab → · Contrast checker → · Palette generator →

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