#227A7C#227A7C

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

Color values

HEX#227A7C
RGBrgb(34, 122, 124)
HSLhsl(181, 57%, 31%)
HSVhsv(181, 73%, 49%)
CMYKcmyk(72.6%, 1.6%, 0%, 51.4%)
CIE-LABlab(46.60, -24.27, -8.55)
CIE-LCHlch(46.60, 25.73, 199.40°)
OKLaboklab(53.05% -0.0764 -0.0237)
OKLCHoklch(53.05% 0.08 197.3)
XYZxyz(11.2557, 15.7131, 21.5046)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227A7C #7C2422
analogous
#227C51 #227A7C #224D7C
triadic
#227A7C #7C227A #7A7C22
tetradic
#227A7C #51227C #7C2422 #4D7C22
square
#227A7C #51227C #7C2422 #4D7C22
split-complementary
#227A7C #7C224D #7C5122
monochromatic
#081B1C #154B4C #227A7C #2FA9AC #4BCBCE

Accessibility & contrast

On white

5.07
#227A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227A7C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227A7C#FFFFFF#000000##FFFFFF
##227A7C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71747C
Deuteranopia (green-blind)
#646A7D
Tritanopia (blue-blind)
#007E7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227a7c;
/* rgb */ color: rgb(34, 122, 124);
/* oklch */ color: oklch(53.0% 0.080 197.3);
Tailwind
colors: {
  custom: {
    50: '#6ca1a1',
    500: '#227a7c',
    950: '#000000',
  },
}
SCSS
$custom: #227a7c;
$custom-light: #6ca1a1;
$custom-dark: #000000;
JSON
{
  "hex": "#227a7c",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 124
  },
  "hsl": {
    "h": 181.333,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.53048,
    "c": 0.07999,
    "h": 197.3
  },
  "luminance": 0.15714
}

Semantic roles & 50–950 ramp

primary
#227A7C
secondary
#AF4D4B
accent
#4B48E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080F0F
muted
#7A7E7E

Preview Lab

Preview with #227A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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