#338772#338772

#338772 is a mid, moderate teal. Relative luminance 0.192; OKLCH L 56.6% C 0.087 H 173.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#338772
RGBrgb(51, 135, 114)
HSLhsl(165, 45%, 36%)
HSVhsv(165, 62%, 53%)
CMYKcmyk(62.2%, 0%, 15.6%, 47.1%)
CIE-LABlab(50.97, -30.63, 3.82)
CIE-LCHlch(50.97, 30.87, 172.89°)
OKLaboklab(56.63% -0.0869 0.0096)
OKLCHoklch(56.63% 0.087 173.7)
XYZxyz(13.0650, 19.2453, 18.9425)
Luminance0.1925 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338772 #873348
analogous
#338748 #338772 #337287
triadic
#338772 #723387 #877233
tetradic
#338772 #483387 #873348 #728733
square
#338772 #483387 #873348 #728733
split-complementary
#338772 #873372 #874833
monochromatic
#112E27 #225B4C #338772 #44B398 #6DC8B1

Accessibility & contrast

On white

4.33
#338772 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#338772 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338772
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338772#FFFFFF#000000##000000
##3387721.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#837F71
Deuteranopia (green-blind)
#767674
Tritanopia (blue-blind)
#008881
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338772;
/* rgb */ color: rgb(51, 135, 114);
/* oklch */ color: oklch(56.6% 0.087 173.7);
Tailwind
colors: {
  custom: {
    50: '#74aa9a',
    500: '#338772',
    950: '#000000',
  },
}
SCSS
$custom: #338772;
$custom-light: #74aa9a;
$custom-dark: #000000;
JSON
{
  "hex": "#338772",
  "rgb": {
    "r": 51,
    "g": 135,
    "b": 114
  },
  "hsl": {
    "h": 165,
    "s": 45.161,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56634,
    "c": 0.08745,
    "h": 173.7
  },
  "luminance": 0.19247
}

Semantic roles & 50–950 ramp

primary
#338772
secondary
#B06679
accent
#5373D5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338772

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

Preview Lab → · Contrast checker → · Palette generator →

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