#227978#227978

#227978 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.6% C 0.080 H 193.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#227978
RGBrgb(34, 121, 120)
HSLhsl(179, 56%, 30%)
HSVhsv(179, 72%, 47%)
CMYKcmyk(71.9%, 0%, 0.8%, 52.5%)
CIE-LABlab(46.14, -25.01, -6.86)
CIE-LCHlch(46.14, 25.94, 195.33°)
OKLaboklab(52.63% -0.0772 -0.0191)
OKLCHoklch(52.63% 0.08 193.9)
XYZxyz(10.8857, 15.3696, 20.1586)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227978 #792223
analogous
#22794C #227978 #224F79
triadic
#227978 #782279 #797822
tetradic
#227978 #4C2279 #792223 #4F7922
square
#227978 #4C2279 #792223 #4F7922
split-complementary
#227978 #79224F #794C22
monochromatic
#071919 #154949 #227978 #2FA9A7 #49CCCA

Accessibility & contrast

On white

5.15
#227978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#227978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227978
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227978#FFFFFF#000000##FFFFFF
##2279781.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#717378
Deuteranopia (green-blind)
#646979
Tritanopia (blue-blind)
#007D78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227978;
/* rgb */ color: rgb(34, 121, 120);
/* oklch */ color: oklch(52.6% 0.080 193.9);
Tailwind
colors: {
  custom: {
    50: '#6ca09e',
    500: '#227978',
    950: '#000000',
  },
}
SCSS
$custom: #227978;
$custom-light: #6ca09e;
$custom-dark: #000000;
JSON
{
  "hex": "#227978",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 120
  },
  "hsl": {
    "h": 179.31,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52631,
    "c": 0.07951,
    "h": 193.9
  },
  "luminance": 0.15371
}

Semantic roles & 50–950 ramp

primary
#227978
secondary
#AC4B4C
accent
#484ADF
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #227978

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

Preview Lab → · Contrast checker → · Palette generator →

#227978 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva