#338E8D#338E8D

#338E8D is a mid, moderate teal. Relative luminance 0.220; OKLCH L 59.3% C 0.084 H 194.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#338E8D
RGBrgb(51, 142, 141)
HSLhsl(179, 47%, 38%)
HSVhsv(179, 64%, 56%)
CMYKcmyk(64.1%, 0%, 0.7%, 44.3%)
CIE-LABlab(54.00, -26.53, -7.40)
CIE-LCHlch(54.00, 27.55, 195.59°)
OKLaboklab(59.35% -0.0819 -0.0205)
OKLCHoklch(59.35% 0.084 194.1)
XYZxyz(15.8438, 21.9712, 28.6000)
Luminance0.2197 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#338E8D #8E3334
analogous
#338E60 #338E8D #33618E
triadic
#338E8D #8D338E #8E8D33
tetradic
#338E8D #60338E #8E3334 #618E33
square
#338E8D #60338E #8E3334 #618E33
split-complementary
#338E8D #8E3361 #8E6033
monochromatic
#133434 #236160 #338E8D #43BBBA #70CCCB

Accessibility & contrast

On white

3.89
#338E8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#338E8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #338E8D
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##338E8D#FFFFFF#000000##000000
##338E8D1.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#85878D
Deuteranopia (green-blind)
#777D8E
Tritanopia (blue-blind)
#00928D
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #338e8d;
/* rgb */ color: rgb(51, 142, 141);
/* oklch */ color: oklch(59.3% 0.084 194.1);
Tailwind
colors: {
  custom: {
    50: '#77afae',
    500: '#338e8d',
    950: '#000000',
  },
}
SCSS
$custom: #338e8d;
$custom-light: #77afae;
$custom-dark: #000000;
JSON
{
  "hex": "#338e8d",
  "rgb": {
    "r": 51,
    "g": 142,
    "b": 141
  },
  "hsl": {
    "h": 179.341,
    "s": 47.15,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59349,
    "c": 0.08446,
    "h": 194.1
  },
  "luminance": 0.21973
}

Semantic roles & 50–950 ramp

primary
#338E8D
secondary
#B4696A
accent
#5153D7
background
#F7FAFA
surface
#EEF4F4
border
#C9CECE
text
#0A1010
muted
#7C7F7F

Preview Lab

Preview with #338E8D

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

Preview Lab → · Contrast checker → · Palette generator →

#338E8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva