#227879#227879

#227879 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.4% C 0.079 H 196.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#227879
RGBrgb(34, 120, 121)
HSLhsl(181, 56%, 30%)
HSVhsv(181, 72%, 47%)
CMYKcmyk(71.9%, 0.8%, 0%, 52.5%)
CIE-LABlab(45.84, -24.19, -7.89)
CIE-LCHlch(45.84, 25.45, 198.07°)
OKLaboklab(52.4% -0.0756 -0.0219)
OKLCHoklch(52.4% 0.079 196.2)
XYZxyz(10.8258, 15.1522, 20.4396)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227879 #792322
analogous
#22794F #227879 #224C79
triadic
#227879 #792278 #787922
tetradic
#227879 #4F2279 #792322 #4C7922
square
#227879 #4F2279 #792322 #4C7922
split-complementary
#227879 #79224C #794F22
monochromatic
#071919 #154949 #227879 #2FA7A9 #49CACC

Accessibility & contrast

On white

5.21
#227879 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#227879 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227879
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227879#FFFFFF#000000##FFFFFF
##2278791.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#707279
Deuteranopia (green-blind)
#63697A
Tritanopia (blue-blind)
#007C78
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #227879;
/* rgb */ color: rgb(34, 120, 121);
/* oklch */ color: oklch(52.4% 0.079 196.2);
Tailwind
colors: {
  custom: {
    50: '#6c9f9f',
    500: '#227879',
    950: '#000000',
  },
}
SCSS
$custom: #227879;
$custom-light: #6c9f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#227879",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 121
  },
  "hsl": {
    "h": 180.69,
    "s": 56.129,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.07874,
    "h": 196.2
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#227879
secondary
#AC4C4B
accent
#4A48DF
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#080E0E
muted
#7A7E7E

Preview Lab

Preview with #227879

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

Preview Lab → · Contrast checker → · Palette generator →

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