#338477#338477

#338477 is a mid, moderate teal. Relative luminance 0.185; OKLCH L 56.0% C 0.081 H 180.9°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#338477
RGBrgb(51, 132, 119)
HSLhsl(170, 44%, 36%)
HSVhsv(170, 61%, 52%)
CMYKcmyk(61.4%, 0%, 9.8%, 48.2%)
CIE-LABlab(50.14, -27.84, -0.30)
CIE-LCHlch(50.14, 27.84, 180.62°)
OKLaboklab(56% -0.081 -0.0013)
OKLCHoklch(56% 0.081 180.9)
XYZxyz(12.9448, 18.5369, 20.3450)
Luminance0.1854 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338477 #843340
analogous
#33844E #338477 #336884
triadic
#338477 #773384 #847733
tetradic
#338477 #4E3384 #843340 #688433
square
#338477 #4E3384 #843340 #688433
split-complementary
#338477 #843368 #844E33
monochromatic
#112C27 #22584F #338477 #44B09F #6BC6B7

Accessibility & contrast

On white

4.46
#338477 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#338477 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338477
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338477#FFFFFF#000000##000000
##3384771.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E7D77
Deuteranopia (green-blind)
#727478
Tritanopia (blue-blind)
#008680
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #338477;
/* rgb */ color: rgb(51, 132, 119);
/* oklch */ color: oklch(56.0% 0.081 180.9);
Tailwind
colors: {
  custom: {
    50: '#74a89e',
    500: '#338477',
    950: '#000000',
  },
}
SCSS
$custom: #338477;
$custom-light: #74a89e;
$custom-dark: #000000;
JSON
{
  "hex": "#338477",
  "rgb": {
    "r": 51,
    "g": 132,
    "b": 119
  },
  "hsl": {
    "h": 170.37,
    "s": 44.262,
    "l": 35.882
  },
  "oklch": {
    "l": 0.56003,
    "c": 0.08105,
    "h": 180.9
  },
  "luminance": 0.18538
}

Semantic roles & 50–950 ramp

primary
#338477
secondary
#AE6571
accent
#5468D4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#090F0E
muted
#7B7F7E

Preview Lab

Preview with #338477

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

Preview Lab → · Contrast checker → · Palette generator →

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