#227E7B#227E7B

#227E7B is a mid, moderate teal. Relative luminance 0.167; OKLCH L 54.1% C 0.083 H 191.8°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#227E7B
RGBrgb(34, 126, 123)
HSLhsl(178, 58%, 31%)
HSVhsv(178, 73%, 49%)
CMYKcmyk(73%, 0%, 2.4%, 50.6%)
CIE-LABlab(47.87, -26.61, -6.06)
CIE-LCHlch(47.87, 27.29, 192.82°)
OKLaboklab(54.07% -0.0812 -0.0169)
OKLCHoklch(54.07% 0.083 191.8)
XYZxyz(11.6940, 16.6905, 21.3403)
Luminance0.1669 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E7B #7E2225
analogous
#227E4D #227E7B #22537E
triadic
#227E7B #7B227E #7E7B22
tetradic
#227E7B #4D227E #7E2225 #537E22
square
#227E7B #4D227E #7E2225 #537E22
split-complementary
#227E7B #7E2253 #7E4D22
monochromatic
#081E1D #154E4C #227E7B #2FAEAA #4CCFCA

Accessibility & contrast

On white

4.84
#227E7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#227E7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227E7B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E7B#FFFFFF#000000##FFFFFF
##227E7B1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76777B
Deuteranopia (green-blind)
#696D7C
Tritanopia (blue-blind)
#00827D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227e7b;
/* rgb */ color: rgb(34, 126, 123);
/* oklch */ color: oklch(54.1% 0.083 191.8);
Tailwind
colors: {
  custom: {
    50: '#6da4a1',
    500: '#227e7b',
    950: '#000000',
  },
}
SCSS
$custom: #227e7b;
$custom-light: #6da4a1;
$custom-dark: #000000;
JSON
{
  "hex": "#227e7b",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 123
  },
  "hsl": {
    "h": 178.043,
    "s": 57.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54069,
    "c": 0.08293,
    "h": 191.8
  },
  "luminance": 0.16692
}

Semantic roles & 50–950 ramp

primary
#227E7B
secondary
#B14B4F
accent
#474CE1
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #227E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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