#338674#338674

#338674 is a mid, moderate teal. Relative luminance 0.190; OKLCH L 56.4% C 0.085 H 176.3°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#338674
RGBrgb(51, 134, 116)
HSLhsl(167, 45%, 36%)
HSVhsv(167, 62%, 53%)
CMYKcmyk(61.9%, 0%, 13.4%, 47.5%)
CIE-LABlab(50.70, -29.63, 2.27)
CIE-LCHlch(50.70, 29.71, 175.62°)
OKLaboklab(56.43% -0.0848 0.0056)
OKLCHoklch(56.43% 0.085 176.3)
XYZxyz(13.0412, 19.0136, 19.5023)
Luminance0.1902 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338674 #863345
analogous
#33864B #338674 #336F86
triadic
#338674 #743386 #867433
tetradic
#338674 #4B3386 #863345 #6F8633
square
#338674 #4B3386 #863345 #6F8633
split-complementary
#338674 #86336F #864B33
monochromatic
#112D27 #225A4E #338674 #44B29A #6CC7B3

Accessibility & contrast

On white

4.37
#338674 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#338674 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338674
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338674#FFFFFF#000000##000000
##3386741.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#817E73
Deuteranopia (green-blind)
#757575
Tritanopia (blue-blind)
#008881
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #338674;
/* rgb */ color: rgb(51, 134, 116);
/* oklch */ color: oklch(56.4% 0.085 176.3);
Tailwind
colors: {
  custom: {
    50: '#74aa9c',
    500: '#338674',
    950: '#000000',
  },
}
SCSS
$custom: #338674;
$custom-light: #74aa9c;
$custom-dark: #000000;
JSON
{
  "hex": "#338674",
  "rgb": {
    "r": 51,
    "g": 134,
    "b": 116
  },
  "hsl": {
    "h": 166.988,
    "s": 44.865,
    "l": 36.275
  },
  "oklch": {
    "l": 0.56432,
    "c": 0.08497,
    "h": 176.3
  },
  "luminance": 0.19015
}

Semantic roles & 50–950 ramp

primary
#338674
secondary
#AF6676
accent
#536FD5
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#09100E
muted
#7B7F7E

Preview Lab

Preview with #338674

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

Preview Lab → · Contrast checker → · Palette generator →

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