#227E6B#227E6B

#227E6B is a mid, moderate teal. Relative luminance 0.163; OKLCH L 53.5% C 0.089 H 175.7°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#227E6B
RGBrgb(34, 126, 107)
HSLhsl(168, 58%, 31%)
HSVhsv(168, 73%, 49%)
CMYKcmyk(73%, 0%, 15.1%, 50.6%)
CIE-LABlab(47.39, -31.28, 2.69)
CIE-LCHlch(47.39, 31.39, 175.08°)
OKLaboklab(53.53% -0.089 0.0067)
OKLCHoklch(53.53% 0.089 175.7)
XYZxyz(10.7731, 16.3221, 16.4898)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E6B #7E2235
analogous
#227E3D #227E6B #22637E
triadic
#227E6B #6B227E #7E6B22
tetradic
#227E6B #3D227E #7E2235 #637E22
square
#227E6B #3D227E #7E2235 #637E22
split-complementary
#227E6B #7E2263 #7E3D22
monochromatic
#081E19 #154E42 #227E6B #2FAE94 #4CCFB4

Accessibility & contrast

On white

4.92
#227E6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#227E6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E6B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E6B#FFFFFF#000000##FFFFFF
##227E6B1.004.924.264.92
#FFFFFF4.921.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79766A
Deuteranopia (green-blind)
#6D6D6C
Tritanopia (blue-blind)
#008078
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #227e6b;
/* rgb */ color: rgb(34, 126, 107);
/* oklch */ color: oklch(53.5% 0.089 175.7);
Tailwind
colors: {
  custom: {
    50: '#6ba495',
    500: '#227e6b',
    950: '#000000',
  },
}
SCSS
$custom: #227e6b;
$custom-light: #6ba495;
$custom-dark: #000000;
JSON
{
  "hex": "#227e6b",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 107
  },
  "hsl": {
    "h": 167.609,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.53526,
    "c": 0.0893,
    "h": 175.7
  },
  "luminance": 0.16323
}

Semantic roles & 50–950 ramp

primary
#227E6B
secondary
#B14B60
accent
#4767E1
background
#F6FAF9
surface
#ECF4F1
border
#C7CECB
text
#080F0D
muted
#7A7F7E

Preview Lab

Preview with #227E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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