#227C7E#227C7E

#227C7E is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.7% C 0.081 H 197.2°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#227C7E
RGBrgb(34, 124, 126)
HSLhsl(181, 58%, 31%)
HSVhsv(181, 73%, 49%)
CMYKcmyk(73%, 1.6%, 0%, 50.6%)
CIE-LABlab(47.31, -24.67, -8.66)
CIE-LCHlch(47.31, 26.14, 199.34°)
OKLaboklab(53.65% -0.0776 -0.024)
OKLCHoklch(53.65% 0.081 197.2)
XYZxyz(11.6315, 16.2604, 22.2602)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227C7E #7E2422
analogous
#227E52 #227C7E #224E7E
triadic
#227C7E #7E227C #7C7E22
tetradic
#227C7E #52227E #7E2422 #4E7E22
square
#227C7E #52227E #7E2422 #4E7E22
split-complementary
#227C7E #7E224E #7E5222
monochromatic
#081D1E #154D4E #227C7E #2FABAE #4CCCCF

Accessibility & contrast

On white

4.94
#227C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#227C7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227C7E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227C7E#FFFFFF#000000##FFFFFF
##227C7E1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73767E
Deuteranopia (green-blind)
#666C7F
Tritanopia (blue-blind)
#00807C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227c7e;
/* rgb */ color: rgb(34, 124, 126);
/* oklch */ color: oklch(53.7% 0.081 197.2);
Tailwind
colors: {
  custom: {
    50: '#6da2a3',
    500: '#227c7e',
    950: '#000000',
  },
}
SCSS
$custom: #227c7e;
$custom-light: #6da2a3;
$custom-dark: #000000;
JSON
{
  "hex": "#227c7e",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 126
  },
  "hsl": {
    "h": 181.304,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53652,
    "c": 0.08126,
    "h": 197.2
  },
  "luminance": 0.16262
}

Semantic roles & 50–950 ramp

primary
#227C7E
secondary
#B14D4B
accent
#4A47E1
background
#F7FAFA
surface
#EDF3F3
border
#C8CDCD
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #227C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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