#227B78#227B78

#227B78 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 53.2% C 0.081 H 191.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#227B78
RGBrgb(34, 123, 120)
HSLhsl(178, 57%, 31%)
HSVhsv(178, 72%, 48%)
CMYKcmyk(72.4%, 0%, 2.4%, 51.8%)
CIE-LABlab(46.79, -26.02, -5.88)
CIE-LCHlch(46.79, 26.68, 192.74°)
OKLaboklab(53.16% -0.0794 -0.0164)
OKLCHoklch(53.16% 0.081 191.7)
XYZxyz(11.1313, 15.8608, 20.2404)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B78 #7B2225
analogous
#227B4B #227B78 #22517B
triadic
#227B78 #78227B #7B7822
tetradic
#227B78 #4B227B #7B2225 #517B22
square
#227B78 #4B227B #7B2225 #517B22
split-complementary
#227B78 #7B2251 #7B4B22
monochromatic
#071B1A #154B49 #227B78 #2FABA7 #4ACDC9

Accessibility & contrast

On white

5.03
#227B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#227B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B78
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B78#FFFFFF#000000##FFFFFF
##227B781.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737478
Deuteranopia (green-blind)
#666B79
Tritanopia (blue-blind)
#007F7A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227b78;
/* rgb */ color: rgb(34, 123, 120);
/* oklch */ color: oklch(53.2% 0.081 191.7);
Tailwind
colors: {
  custom: {
    50: '#6ca19e',
    500: '#227b78',
    950: '#000000',
  },
}
SCSS
$custom: #227b78;
$custom-light: #6ca19e;
$custom-dark: #000000;
JSON
{
  "hex": "#227b78",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 120
  },
  "hsl": {
    "h": 177.978,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53163,
    "c": 0.08105,
    "h": 191.7
  },
  "luminance": 0.15862
}

Semantic roles & 50–950 ramp

primary
#227B78
secondary
#AE4B4E
accent
#484DE0
background
#F6FAF9
surface
#ECF3F2
border
#C7CDCC
text
#080F0E
muted
#7A7F7E

Preview Lab

Preview with #227B78

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

Preview Lab → · Contrast checker → · Palette generator →

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